How do I find out what processes are accessing the hard disk in a GNU/Linux-based system?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping
--
Chapters
00:00 How Do I Find Out What Processes Are Accessing The Hard Disk In A Gnu/Linux-Based System?
00:25 Accepted Answer Score 64
00:39 Answer 2 Score 11
01:03 Answer 3 Score 6
01:45 Answer 4 Score 33
02:01 Thank you
--
Full question
https://superuser.com/questions/50091/ho...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #harddrive #process #io #resourceusage
#avk47
ACCEPTED ANSWER
Score 64
You got three-fifths of the answer right yourself - the one you want is called iotop. Search for it in the extra repositories, it should be there.
ANSWER 2
Score 33
htop
» F2 » Columns » Active Columns » IO_RATE
Then sort by this column. Also you can add IO_READ_RATE
and IO_WRITE_RATE
columns and sort according to them.
ANSWER 3
Score 11
iotop
is the counterpart to top
that watches I/O usage information. If you want detailed information on the files opened by a process, or the list of files opened in a directory, or watch over files in the whole system, use lsof
.lsof
is quite versatile and provides information about open tcp, udp, NFS connections too.
ANSWER 4
Score 6
I use atop.
Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and for every active process it shows the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code.