Skip to content

Instantly share code, notes, and snippets.

@zzamboni
Created January 24, 2018 10:49
Show Gist options
  • Save zzamboni/0625ea838be90704f6a1ff3cc525c645 to your computer and use it in GitHub Desktop.
Save zzamboni/0625ea838be90704f6a1ff3cc525c645 to your computer and use it in GitHub Desktop.
root@linuxvm:~# ps -aef | grep elvish
root 2797 2381 0 11:40 pts/17 00:00:00 ./elvish-linux-amd64
root 2800 2797 0 11:40 ? 00:00:00 /root/elvish-linux-amd64 -daemon -bin /root/elvish-linux-amd64 -db /root/.elvish/db -sock /tmp/elvish-0/sock -logprefix /tmp/elvish-0/daemon.log-
root 3257 2831 0 11:43 pts/0 00:00:00 grep --color=auto elvish
root@linuxvm:~# lsof -p 2797
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
elvish-li 2797 root cwd DIR 252,0 4096 1703937 /root
elvish-li 2797 root rtd DIR 252,0 4096 2 /
elvish-li 2797 root txt REG 252,0 12209766 1704044 /root/elvish-linux-amd64
elvish-li 2797 root 0u CHR 136,17 0t0 20 /dev/pts/17
elvish-li 2797 root 1u CHR 136,17 0t0 20 /dev/pts/17
elvish-li 2797 root 2u CHR 136,17 0t0 20 /dev/pts/17
elvish-li 2797 root 3r CHR 1,3 0t0 6 /dev/null
elvish-li 2797 root 4u a_inode 0,11 0 6978 [eventpoll]
elvish-li 2797 root 5u unix 0xffff8802140ccc00 0t0 24827 type=STREAM
elvish-li 2797 root 6r FIFO 0,10 0t0 24830 pipe
elvish-li 2797 root 7w FIFO 0,10 0t0 24830 pipe
elvish-li 2797 root 8r FIFO 0,10 0t0 24831 pipe
elvish-li 2797 root 9w FIFO 0,10 0t0 24831 pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment