LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2008, 09:26 PM   #1
i.you
Member
 
Registered: Oct 2006
Posts: 46

Rep: Reputation: 15
command to check disk I/O?


Hi

I'd like to know whether there exists a basic command to check disk I/O:
just currently there is disk I/Os or disk requests in system or not?

Because of in order to run or not some program according to the result:

if there exist disk I/Os or requests
put off running the program
else
run the program

Thanks in advance.
 
Old 02-21-2008, 11:52 PM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
you would use the /sys folder for the individual file system
 
Old 02-22-2008, 12:32 AM   #3
i.you
Member
 
Registered: Oct 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks taxtropel

I see.
I probably can do that by checking the 9th column in /sys/block/sda/stat.

Last edited by i.you; 02-22-2008 at 12:47 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk check takes too long to check hemantm Linux - Hardware 16 12-22-2006 05:18 AM
Check disk status diezjc Linux - Hardware 2 04-06-2006 04:58 PM
check disk ratnesh1 Linux - General 12 01-26-2006 09:37 AM
how to check disk SlipAway172 Mandriva 2 03-01-2005 04:16 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration