Login   Register  
PHP Classes

CPU Load Calculator: Retrieve the CPU load level under Linux

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Helmut Daschnigrum
Name: Helmut Daschnigrum <contact>
Classes: 6 packages by
Country: Canada Canada
Age: ???
All time rank: 1017 in Canada Canada
Week rank: 479 Down11 in Canada Canada Down
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can be used to retrieve the CPU load level on a system running Linux.

The class retrieves the CPU load information from /proc/stat and returns the user, nice and system mode loads, the CPU load percentage, and the idle load percentage.

  Classes of Helmut Daschnigrum  >  CPU Load Calculator  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CPU Load Calculator
Base name: cpuload
Description: Retrieve the CPU load level under Linux
Version: -
PHP version: 3
License: GNU General Public License (GPL)
All time users: 4188 users
All time rank: 649
Week users: 0 users
Week rank: 1433 Equal
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

Group folder image System information Information about servers, processes and operating system facilities View top rated classes
Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes
Group folder image Performance and optimization Tools to measure and optimize the performance of systems View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
June 2006
Number 7
The CPU load is a measure of how busy an operating system is.

If a system is too busy and you need to execute an heavy task that may not be prioritary, it may be better to hold on the task for a while until the system becomes less busy.

This class is capable of retrieving the current CPU load, and so it can be useful to make task scheduling decisions that depend on how busy the operating system is on the moment.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Good (82%) Sufficient (75%) Good (82%) - - Sufficient (73%) 93
Month: Not yet rated by the users

  Pages that reference this package  
Computer-Hardware mit PHP auslesen
Nur mit PHP wirst du da an wenig Daten rankommen, soweit ich wei▀...
Cpu išin script

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class_CPULoad.php Class Main class file
Accessible without login Plain text file LICENSE Lic. License terms
Accessible without login Plain text file README Doc. Documentation
Accessible without login Plain text file showload.php Example Example script

Download Download all files: cpuload.tar.gz cpuload.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.