LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with lsof (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-lsof-4175674088/)

jmgibson1981 04-27-2020 01:19 PM

Help with lsof
 
I'm trying to get stuff off of my mergerfs pool that doesn't need to be there so I can unmount disks as needed when I need to replace. I'm trying to use lsof but it's showing nothing being accessed. That would be fine except I have my living room Kodi running media that is shared via nfs from that server and directory. Either it isn't showing as opened because of nfs it's all being loaded into the buffer that I don't see it being accessed.

Is there another way to list who and what files are being accessed at any given moment over nfs?

chrism01 04-27-2020 11:19 PM

Normally lsof is pretty good, but you could also try https://linux.die.net/man/1/fuser, maybe some of the *top cmds like iotop, iftop, ftop ....

Of course you can always dig into /proc, but that's a bit drastic.


All times are GMT -5. The time now is 11:41 PM.