Login   Register  
PHP Classes
elePHPant
Icontem

CPU Load Calculator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Helmut Daschnigrum  >  CPU Load Calculator  >  Download .tar.gz .zip  >  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
Related classes: , , , , , , ,
Version: -
PHP version: 3
License: GNU General Public License (GPL)
All time users: 3804 users
All time rank: 679
Week users: 4 users
Week rank: 922
 

  Author  
Picture of Helmut Daschnigrum
Name: Helmut Daschnigrum <e-mail contact>
Packages: 6 Browse all classes by Helmut Daschnigrum Browse all classes by
Country: Canada Canada - PHP jobs in Canada
Age: ???
All time rank: 1038 in Canada Canada
Week rank: 232 Down8 in Canada Canada Equal
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
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  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (82.1%)
Sufficient (75.0%)
Good (82.1%)
-
-
Sufficient (73.9%)
82
Month:
Not yet rated by the users

  Trackback links  
Link Description
Computer-Hardware mit PHP auslesen Nur mit PHP wirst du da an wenig Daten rankommen, soweit ich weiß...
Cpu için script -

  Applications that use this class  
No application links were specified for this class.
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
Plain text file LICENSE Lic. License terms
Plain text file README Doc. Documentation
Plain text file showload.php Example Example script

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.