LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-13-2005, 04:33 PM   #1
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Rep: Reputation: 30
How to monitor realtime disk access?


Hi,

I'm looking for something similar to "top" but for disk access instead of CPU usage. Any help appreciated. I'm NOT talking about how much space is used/free.

Thanks,
Sarav
 
Old 08-13-2005, 04:57 PM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Depending on what you need it for, 'cat /proc/diskstats' tells you a lot. . .
 
Old 08-13-2005, 06:29 PM   #3
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190

Original Poster
Rep: Reputation: 30
The reason I'm looking for such a tools is to find which program is thrashing my hard disk when I hear HDD noises all of a sudden. It's mostly some cron job that cleans up the rpmdb, etc. Ofcourse I guess it's those procs, but I would like to be 100% sure though.

Thanks,
Saravana
 
Old 08-13-2005, 09:27 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Both vmstat and iostat can show a lot of info relating to disk access (vmstat for paging, iostat for just about everything). I don't think there's a good way to break it down by process, though, since the statistics come from the kernel disk driver level (I might be wrong on this), so it's not a bad idea to keep a terminal open with top running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard disk monitor gnome applet nboul Linux - Software 3 11-17-2004 11:07 AM
File access monitor The_Nerd Linux - Software 1 04-29-2004 05:22 PM
realtime monitor like CPU-Z tarheel92x Linux - Hardware 0 04-21-2004 01:55 PM
Do programs to monitor disk usage exist? Thrifty Linux - Software 12 02-06-2004 05:35 PM
Monitor disk I/O with ? rodda Linux - Hardware 2 11-19-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:04 PM.

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