forked from util-linux/util-linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example output: # ./lsfd -p 121067 -Q "TYPE == 'AF_VSOCK'" COMMAND PID USER ASSOC XMODE TYPE SOURCE MNTID INODE NAME test_mkfds 121067 root 4 rw---- AF_VSOCK sockfs 10 39400798 state=listen type=stream laddr=local:12345 test_mkfds 121067 root 5 rw---- AF_VSOCK sockfs 10 39400799 state=established type=stream laddr=local:23456 raddr=local:12345 test_mkfds 121067 root 6 rw---- AF_VSOCK sockfs 10 39400800 state=established type=stream laddr=local:12345 raddr=local:23456 Signed-off-by: Masatake YAMATO <yamato@redhat.com>
- Loading branch information
Showing
10 changed files
with
568 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# TYPE: STREAM | ||
3 SOCK state=listen type=stream laddr=local:12345 listen stream 1 | ||
4 SOCK state=established type=stream laddr=local:23456 raddr=local:12345 established stream 0 | ||
5 SOCK state=established type=stream laddr=local:12345 raddr=local:23456 established stream 0 | ||
ASSOC,STTYPE,NAME,SOCK.STATE,SOCK.TYPE,SOCK.LISTENING: 0 | ||
local:12345 1 12345 *:* 4294967295 4294967295 | ||
local:23456 1 23456 local:12345 1 12345 | ||
local:12345 1 12345 local:23456 1 23456 | ||
VSOCK.LADDR,VSOCK.LCID,VSOCK.LPORT,VSOCK.RADDR,VSOCK.RCID,VSOCK.RPORT: 0 | ||
# TYPE: DGRAM | ||
3 SOCK state=established type=dgram laddr=local:12345 raddr=local:23456 established dgram 0 | ||
4 SOCK state=established type=dgram laddr=local:23456 raddr=local:12345 established dgram 0 | ||
ASSOC,STTYPE,NAME,SOCK.STATE,SOCK.TYPE,SOCK.LISTENING: 0 | ||
local:12345 1 12345 local:23456 1 23456 | ||
local:23456 1 23456 local:12345 1 12345 | ||
VSOCK.LADDR,VSOCK.LCID,VSOCK.LPORT,VSOCK.RADDR,VSOCK.RCID,VSOCK.RPORT: 0 | ||
# TYPE: SEQPACKET | ||
3 SOCK state=listen type=seqpacket laddr=local:12345 listen seqpacket 1 | ||
4 SOCK state=established type=seqpacket laddr=local:23456 raddr=local:12345 established seqpacket 0 | ||
5 SOCK state=established type=seqpacket laddr=local:12345 raddr=local:23456 established seqpacket 0 | ||
ASSOC,STTYPE,NAME,SOCK.STATE,SOCK.TYPE,SOCK.LISTENING: 0 | ||
local:12345 1 12345 *:* 4294967295 4294967295 | ||
local:23456 1 23456 local:12345 1 12345 | ||
local:12345 1 12345 local:23456 1 23456 | ||
VSOCK.LADDR,VSOCK.LCID,VSOCK.LPORT,VSOCK.RADDR,VSOCK.RCID,VSOCK.RPORT: 0 |
Oops, something went wrong.