Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-05-2003, 11:41 PM   #1
LQ Newbie
Registered: Jan 2003
Posts: 10

Rep: Reputation: 0
Can anyone explain...

Can anyone explain the meaning of the values in /proc/loadavg
and the disk_io line in /proc/stat. Also, is there an easy way to see when was the last time the computer was booted?
Old 02-06-2003, 02:33 AM   #2
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
For the "/proc/loadavg",
The first three columns measure CPU utilization of the last 1, 5, and 10 minute periods. The fourth column shows the number of currently running processes and the total number of processes. The last column displays the last process ID used.

For the "disk_io"in "/proc/stat", the format is,
(major,minor) : (read+write-requests,read-requests,read-sectors,write-requests,write-sectors)
(I don't know other than this)

You can calculate the last bootime from "/proc/stat" file "btime" field.
btime The boot time, measured in the number of seconds since January 1, 1970.

Last edited by moeminhtun; 02-06-2003 at 02:34 AM.


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
Can ANYONE explain this? jimsproch Programming 11 01-03-2005 06:49 AM
Can somebody explain this to me? SyBEX Linux - Software 3 10-24-2004 05:32 PM
can someone explain this? SteveGodfrey Linux - Wireless Networking 1 05-28-2004 08:47 AM
please someone, do explain this to me... Tisch Slackware 4 01-17-2004 10:37 AM
Can someone explain this ? beyond_2000 Linux - Hardware 6 10-08-2002 06:02 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:27 AM.

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