Results 1 to 3 of 3

Thread: how to find which named pipe is open?

  1. #1
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    1,525
    Distro
    Xubuntu 18.04 Bionic Beaver

    how to find which named pipe is open?

    i would like to find which unix named pipe/sockets a process has open. the man page for lsof suggests i can get this with the +E option. but all i get is the PID at the other end. i'm particularly looking for those a process is waiting for a process to connect to (listening) and want the path that can be connected to by a client.
    What do you call someone who speaks 3 languages? Trilingual.
    What do you call someone who speaks 2 languages? Bilingual.
    What do you call someone who speaks 1 language? American.

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    9,733

    Re: how to find which named pipe is open?

    Hmm, List Open File (lsof) should work? I don't get why it doesn't. Maybe what you want is visible with ps.

  3. #3
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    1,525
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: how to find which named pipe is open?

    i haven't found ways to list anything more than processes with ps. it's a classic tool following the "do one thing well" principle.
    as mentioned in #1, it seems from the man page for lsof that i should get the unix socket path, but i don't. maybe i misunderstand the options or context.
    What do you call someone who speaks 3 languages? Trilingual.
    What do you call someone who speaks 2 languages? Bilingual.
    What do you call someone who speaks 1 language? American.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •