How shall I understand the output of `NAME` field of `lsof`?
Clash Royale CLAN TAG#URR8PPP
$ sudo lsof +E -a -U -p 1480
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 717 root 43u unix 0xffff975eacf2d400 0t0 30862 @/tmp/.X11-unix/X0 type=STREAM ->INO=28661 1480,lxtermina,3u
dbus-daem 980 t 34u unix 0xffff975eacf2fc00 0t0 30865 /run/user/1000/bus type=STREAM ->INO=28666 1480,lxtermina,9u
dbus-daem 1073 t 13u unix 0xffff975eacf2c400 0t0 28664 @/tmp/dbus-vtzJFcQ5Cy type=STREAM ->INO=28663 1480,lxtermina,5u
lxtermina 1480 t 3u unix 0xffff975eacf2c000 0t0 28661 type=STREAM ->INO=30862 717,Xorg,43u
lxtermina 1480 t 5u unix 0xffff975eacf2d000 0t0 28663 type=STREAM ->INO=28664 1073,dbus-daem,13u
lxtermina 1480 t 7u unix 0xffff975eacf2f000 0t0 28665 /run/user/1000/.lxterminal-socket- type=STREAM
lxtermina 1480 t 9u unix 0xffff975eacf2e800 0t0 28666 type=STREAM ->INO=30865 980,dbus-daem,34u
In the NAME
field, what are the meanings of INO=28664
and 13u
in
type=STREAM ->INO=28664 1073,dbus-daem,13u
?
Thanks.
lsof
add a comment |
$ sudo lsof +E -a -U -p 1480
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 717 root 43u unix 0xffff975eacf2d400 0t0 30862 @/tmp/.X11-unix/X0 type=STREAM ->INO=28661 1480,lxtermina,3u
dbus-daem 980 t 34u unix 0xffff975eacf2fc00 0t0 30865 /run/user/1000/bus type=STREAM ->INO=28666 1480,lxtermina,9u
dbus-daem 1073 t 13u unix 0xffff975eacf2c400 0t0 28664 @/tmp/dbus-vtzJFcQ5Cy type=STREAM ->INO=28663 1480,lxtermina,5u
lxtermina 1480 t 3u unix 0xffff975eacf2c000 0t0 28661 type=STREAM ->INO=30862 717,Xorg,43u
lxtermina 1480 t 5u unix 0xffff975eacf2d000 0t0 28663 type=STREAM ->INO=28664 1073,dbus-daem,13u
lxtermina 1480 t 7u unix 0xffff975eacf2f000 0t0 28665 /run/user/1000/.lxterminal-socket- type=STREAM
lxtermina 1480 t 9u unix 0xffff975eacf2e800 0t0 28666 type=STREAM ->INO=30865 980,dbus-daem,34u
In the NAME
field, what are the meanings of INO=28664
and 13u
in
type=STREAM ->INO=28664 1073,dbus-daem,13u
?
Thanks.
lsof
add a comment |
$ sudo lsof +E -a -U -p 1480
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 717 root 43u unix 0xffff975eacf2d400 0t0 30862 @/tmp/.X11-unix/X0 type=STREAM ->INO=28661 1480,lxtermina,3u
dbus-daem 980 t 34u unix 0xffff975eacf2fc00 0t0 30865 /run/user/1000/bus type=STREAM ->INO=28666 1480,lxtermina,9u
dbus-daem 1073 t 13u unix 0xffff975eacf2c400 0t0 28664 @/tmp/dbus-vtzJFcQ5Cy type=STREAM ->INO=28663 1480,lxtermina,5u
lxtermina 1480 t 3u unix 0xffff975eacf2c000 0t0 28661 type=STREAM ->INO=30862 717,Xorg,43u
lxtermina 1480 t 5u unix 0xffff975eacf2d000 0t0 28663 type=STREAM ->INO=28664 1073,dbus-daem,13u
lxtermina 1480 t 7u unix 0xffff975eacf2f000 0t0 28665 /run/user/1000/.lxterminal-socket- type=STREAM
lxtermina 1480 t 9u unix 0xffff975eacf2e800 0t0 28666 type=STREAM ->INO=30865 980,dbus-daem,34u
In the NAME
field, what are the meanings of INO=28664
and 13u
in
type=STREAM ->INO=28664 1073,dbus-daem,13u
?
Thanks.
lsof
$ sudo lsof +E -a -U -p 1480
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Xorg 717 root 43u unix 0xffff975eacf2d400 0t0 30862 @/tmp/.X11-unix/X0 type=STREAM ->INO=28661 1480,lxtermina,3u
dbus-daem 980 t 34u unix 0xffff975eacf2fc00 0t0 30865 /run/user/1000/bus type=STREAM ->INO=28666 1480,lxtermina,9u
dbus-daem 1073 t 13u unix 0xffff975eacf2c400 0t0 28664 @/tmp/dbus-vtzJFcQ5Cy type=STREAM ->INO=28663 1480,lxtermina,5u
lxtermina 1480 t 3u unix 0xffff975eacf2c000 0t0 28661 type=STREAM ->INO=30862 717,Xorg,43u
lxtermina 1480 t 5u unix 0xffff975eacf2d000 0t0 28663 type=STREAM ->INO=28664 1073,dbus-daem,13u
lxtermina 1480 t 7u unix 0xffff975eacf2f000 0t0 28665 /run/user/1000/.lxterminal-socket- type=STREAM
lxtermina 1480 t 9u unix 0xffff975eacf2e800 0t0 28666 type=STREAM ->INO=30865 980,dbus-daem,34u
In the NAME
field, what are the meanings of INO=28664
and 13u
in
type=STREAM ->INO=28664 1073,dbus-daem,13u
?
Thanks.
lsof
lsof
edited Jan 6 at 13:48
Stephen Kitt
167k24376454
167k24376454
asked Jan 6 at 4:09
TimTim
26.4k75250459
26.4k75250459
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
See the lsof
manpage. Its description of the +E
option says
Pipe endpoint information is displayed in the NAME column in the form “PID,cmd,FDmode”, where PID is the endpoint process ID; cmd is the endpoint process command; FD is the endpoint file's descriptor; and mode is the endpoint file's access mode.
UNIX socket file endpoint information is displayed in the NAME column in the form “type=TYPE ->INO=INODE PID,cmd,FDmode”, where TYPE is the socket type; INODE is the i-node number of the connected socket; and PID, cmd, FD and mode are the same as with pipe endpoint information. Note: UNIX socket file endpoint information is available only when the compile flags line of
-v
output containsHASUXSOCKEPT
.
So INO=28664
means that the connected socket has inode number 28664, and 13u
means that the endpoint’s file descriptor is 13, and its access mode is read/write.
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492751%2fhow-shall-i-understand-the-output-of-name-field-of-lsof%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
See the lsof
manpage. Its description of the +E
option says
Pipe endpoint information is displayed in the NAME column in the form “PID,cmd,FDmode”, where PID is the endpoint process ID; cmd is the endpoint process command; FD is the endpoint file's descriptor; and mode is the endpoint file's access mode.
UNIX socket file endpoint information is displayed in the NAME column in the form “type=TYPE ->INO=INODE PID,cmd,FDmode”, where TYPE is the socket type; INODE is the i-node number of the connected socket; and PID, cmd, FD and mode are the same as with pipe endpoint information. Note: UNIX socket file endpoint information is available only when the compile flags line of
-v
output containsHASUXSOCKEPT
.
So INO=28664
means that the connected socket has inode number 28664, and 13u
means that the endpoint’s file descriptor is 13, and its access mode is read/write.
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
add a comment |
See the lsof
manpage. Its description of the +E
option says
Pipe endpoint information is displayed in the NAME column in the form “PID,cmd,FDmode”, where PID is the endpoint process ID; cmd is the endpoint process command; FD is the endpoint file's descriptor; and mode is the endpoint file's access mode.
UNIX socket file endpoint information is displayed in the NAME column in the form “type=TYPE ->INO=INODE PID,cmd,FDmode”, where TYPE is the socket type; INODE is the i-node number of the connected socket; and PID, cmd, FD and mode are the same as with pipe endpoint information. Note: UNIX socket file endpoint information is available only when the compile flags line of
-v
output containsHASUXSOCKEPT
.
So INO=28664
means that the connected socket has inode number 28664, and 13u
means that the endpoint’s file descriptor is 13, and its access mode is read/write.
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
add a comment |
See the lsof
manpage. Its description of the +E
option says
Pipe endpoint information is displayed in the NAME column in the form “PID,cmd,FDmode”, where PID is the endpoint process ID; cmd is the endpoint process command; FD is the endpoint file's descriptor; and mode is the endpoint file's access mode.
UNIX socket file endpoint information is displayed in the NAME column in the form “type=TYPE ->INO=INODE PID,cmd,FDmode”, where TYPE is the socket type; INODE is the i-node number of the connected socket; and PID, cmd, FD and mode are the same as with pipe endpoint information. Note: UNIX socket file endpoint information is available only when the compile flags line of
-v
output containsHASUXSOCKEPT
.
So INO=28664
means that the connected socket has inode number 28664, and 13u
means that the endpoint’s file descriptor is 13, and its access mode is read/write.
See the lsof
manpage. Its description of the +E
option says
Pipe endpoint information is displayed in the NAME column in the form “PID,cmd,FDmode”, where PID is the endpoint process ID; cmd is the endpoint process command; FD is the endpoint file's descriptor; and mode is the endpoint file's access mode.
UNIX socket file endpoint information is displayed in the NAME column in the form “type=TYPE ->INO=INODE PID,cmd,FDmode”, where TYPE is the socket type; INODE is the i-node number of the connected socket; and PID, cmd, FD and mode are the same as with pipe endpoint information. Note: UNIX socket file endpoint information is available only when the compile flags line of
-v
output containsHASUXSOCKEPT
.
So INO=28664
means that the connected socket has inode number 28664, and 13u
means that the endpoint’s file descriptor is 13, and its access mode is read/write.
answered Jan 6 at 13:48
Stephen KittStephen Kitt
167k24376454
167k24376454
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
add a comment |
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
Thanks. What does the inode of a socket mean?
– Tim
Jan 6 at 13:53
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f492751%2fhow-shall-i-understand-the-output-of-name-field-of-lsof%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown