Invocation

lsof |aa0000|{{options}}|

Example

lsof |aa0000|-p 17902|

Example

lsof |aa0000|-p 31518| | grep IP

Output


COMMAND  PID USER    FD    TYPE   NAME
sleep  31518 derick  cwd    DIR   /home/derick/docs/debugging-demo
sleep  31518 derick  rtd    DIR   /
sleep  31518 derick  txt    REG   /bin/sleep
sleep  31518 derick  mem    REG   /usr/lib/locale/locale-archive
sleep  31518 derick  mem    REG   /lib/x86_64-linux-gnu/libc-2.24.so
sleep  31518 derick  mem    REG   /lib/x86_64-linux-gnu/ld-2.24.so
sleep  31518 derick    0r   CHR   /dev/null
sleep  31518 derick    1w   CHR   /dev/null
sleep  31518 derick    2w   CHR   /dev/null
*sleep*  31518 derick    *4u*  IPv4   localhost:42822->localhost:9000 (ESTABLISHED)