The below command will display the list of all opened files of user root

# lsof -u root

COMMAND  PID USER   FD   TYPE     DEVICE SIZE/OFF   NODE NAME
sshd    1838 root  cwd    DIR      253,0     4096      2 /
sshd    1838 root  rtd    DIR      253,0     4096      2 /
sshd    1838 root  txt    REG      253,0   532336 188129 /usr/sbin/sshd
sshd    1838 root  mem    REG      253,0    19784 190237 /lib/libdl-2.12.so
sshd    1838 root  mem    REG      253,0   122436 190247 /lib/libselinux.so.1
sshd    1838 root  mem    REG      253,0   255968 190256 /lib/libgssapi_krb5.so.2.2
sshd    1838 root  mem    REG      253,0   874580 190255 /lib/libkrb5.so.3.3
(Visited 489 times, 1 visits today)
Categories: Website

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published.