LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2020, 01:19 PM   #1
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,144

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
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?
 
Old 04-27-2020, 11:19 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C Library for lsof loki.guz_BR Linux - Security 2 01-08-2021 01:06 AM
PS/NETSTAT/LSOF AARGH!! Please Help Me x81kilo Red Hat 1 12-09-2010 12:59 PM
lsof and fuser do not work with /dev/dsp alexrait1 Slackware 4 10-09-2004 04:07 PM
lsof can't identify protocol sock rozeboom Linux - Networking 4 05-21-2004 12:34 PM
lsof: command not found ionian2k Linux - Newbie 1 12-26-2002 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration