]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd.1.adoc: write about timerfd
authorMasatake YAMATO <yamato@redhat.com>
Sat, 3 Jun 2023 00:36:57 +0000 (09:36 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sun, 4 Jun 2023 08:19:34 +0000 (17:19 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.1.adoc

index 67e2b27ba142cc3c5ea3b5709b24c606d46f00fa..cbffd750d227952c7220cad43eb2566a95c0e8eb 100644 (file)
@@ -263,6 +263,9 @@ TCP:::
 TCPv6:::
 state=_SOCK.STATE_[ laddr=_TCP.LADDR_ [ raddr=_TCP.RADDR_]]
 +
+timerfd:::
+clockid=_TIMERFD.CLOCKID_[ remaining=_TIMERFD.REMAINING_ [ interval=_TIMERFD.INTERVAL_]]
++
 UDP:::
 UDPv6:::
 state=_SOCK.STATE_[ laddr=_UDP.LADDR_ [ raddr=_UDP.RADDR_]]
@@ -396,6 +399,15 @@ Remote TCP port.
 TID <``number``>::
 Thread ID of the process opening the file.
 
+TIMERFD.CLOCKID <``string``>::
+Clockid.
+
+TIMERFD.INTERVAL <``number``>::
+Interval.
+
+TIMERFD.REMAINING <``number``>::
+Remaining time.
+
 TYPE <``string``>::
 Cooked version of STTYPE. It is same as STTYPE with exceptions.
 For SOCK, print the value for SOCK.PROTONAME.
@@ -630,6 +642,11 @@ Hide files associated to kernel threads: ::
 # lsfd -Q '!KTHREAD'
 ....
 
+List timerfd files expired within 0.5 seconds: ::
+....
+# lsfd -Q '(TIMERFD.remaining < 0.5) and (TIMERFD.remaining > 0.0)'
+....
+
 == COUNTER EXAMPLES
 
 Report the numbers of netlink socket descriptors and unix socket descriptors: ::