I found a Unix socket being used in the output of the lsof
command:
COMMAND PID TID TASKCMD USER FD TYPE DEVICE SIZE/OFF NODE NAME
screen 110970 username 4u unix 0xffff91fe3134c400 0t0 19075659 socket
The "DEVICE" column holds what looks like a memory address. According to the lsof man page:
DEVICE contains the device numbers, separated by commas, for a character special, block special, regular, directory or NFS file;
or ``memory'' for a memory file system node under Tru64 UNIX;
or the address of the private data area of a Solaris socket stream;
or a kernel reference address that identifies the file (The kernel reference address may be used for FIFO's, for example.);
or the base address or device name of a Linux AX.25 socket device.
Usually only the lower thirty two bits of Tru64 UNIX kernel addresses are displayed.
My question is, which of these am I looking at with the value 0xffff91fe3134c400
?
Also, how can I interact with it? I know I can use netcat
to connect to a Unix domain socket, but from reading examples online it looks like you have to specify a file.