PHP Classes

PHP Linux ACPI Monitor: Get Linux hardware status via ACPI

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 175 All time: 8,742 This week: 190Up
Version License PHP version Categories
lacpim 1GNU Free Document...5PHP 5, Unix, Hardware
Description 

Author

This is a simple class that can get Linux hardware status via ACPI.

It uses the acpi command to query the status of different hardware aspects using ACPI.

Currently it can query the battery charge status, if the computer is connected to AC power, temperature and cooling level, and other details.

Innovation Award
PHP Programming Innovation award nominee
January 2016
Number 10


Prize: One subscription to the PDF edition of the PHP Architect magazine
The standard way to determine the status of hardware on a Linux machine is using ACPI.

This class can retrieve the query the battery charge status, if the computer is connected to AC power, temperature and cooling level, and other details using ACPI.

Manuel Lemos
Picture of Christian Petersen
  Performance   Level  
Name: Christian Petersen <contact>
Classes: 3 packages by
Country: Argentina Argentina
Age: 42
All time rank: 273736 in Argentina Argentina
Week rank: 389 Up4 in Argentina Argentina Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • screenshot
  Files folder image Files  
File Role Description
Plain text file class.php Class class file
Accessible without login Plain text file index.php Example front end

 Version Control Unique User Downloads Download Rankings  
 0%
Total:175
This week:0
All time:8,742
This week:190Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:388
 
Thats a very good class to show Linux hardware status :-)
7 years ago (José Filipe Lopes Santos)
70%StarStarStarStar