lsof-列出当前系统打开文件
root@user:/ # lsof
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
init 1 root exe ??? ??? ??? ??? /init
init 1 root 0 ??? ??? ??? ??? /dev/__null__ (deleted)
init 1 root 1 ??? ??? ??? ??? /dev/__null__ (deleted)
init 1 root 2 ??? ??? ??? ??? /dev/__null__ (deleted)
init 1 root 3 ??? ??? ??? ??? /dev/__kmsg__ (deleted)
init 1 root 4 ??? ??? ??? ??? /dev/__properties__
init 1 root 5 ??? ??? ??? ??? socket:[423]
init 1 root 6 ??? ??? ??? ??? socket:[427]
init 1 root 7 ??? ??? ??? ??? socket:[428]
... ...
system_se 358 system 158 ??? ??? ??? ??? pipe:[1530]
system_se 358 system 159 ??? ??? ??? ??? anon_inode:[eventpoll]
system_se 358 system 160 ??? ??? ??? ??? /dev/graphics/fb0
system_se 358 system 161 ??? ??? ??? ??? /dev/watch_update
system_se 358 system 162 ??? ??? ??? ??? /dev/rtc0