PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2015-12-24 (10 months ago) RSS 2.0 feedStarStarStarStar 70%Total: 130 All time: 8,305 This week: 872Up
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
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:130
This week:0
All time:8,305
This week:872Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:307
 
Thats a very good class to show Linux hardware status :-)
9 months ago (José Filipe Lopes Santos)
70%StarStarStarStar