How shall I understand the output of `NAME` field of `lsof`?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















$ 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.










share|improve this question




























    1















    $ 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.










    share|improve this question


























      1












      1








      1








      $ 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.










      share|improve this question
















      $ 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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 6 at 13:48









      Stephen Kitt

      167k24376454




      167k24376454










      asked Jan 6 at 4:09









      TimTim

      26.4k75250459




      26.4k75250459




















          1 Answer
          1






          active

          oldest

          votes


















          1














          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 contains HASUXSOCKEPT.




          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.






          share|improve this answer























          • Thanks. What does the inode of a socket mean?

            – Tim
            Jan 6 at 13:53










          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
          );



          );













          draft saved

          draft discarded


















          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









          1














          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 contains HASUXSOCKEPT.




          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.






          share|improve this answer























          • Thanks. What does the inode of a socket mean?

            – Tim
            Jan 6 at 13:53















          1














          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 contains HASUXSOCKEPT.




          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.






          share|improve this answer























          • Thanks. What does the inode of a socket mean?

            – Tim
            Jan 6 at 13:53













          1












          1








          1







          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 contains HASUXSOCKEPT.




          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.






          share|improve this answer













          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 contains HASUXSOCKEPT.




          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay