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 (3 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 161 All time: 8,638 This week: 334Up
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
  Performance   Level  
Name: Christian Petersen <contact>
Classes: 3 packages by
Country: Argentina Argentina
Age: 38
All time rank: 270137 in Argentina Argentina
Week rank: 784 Up15 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:161
This week:0
All time:8,638
This week:334Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:383
 
Thats a very good class to show Linux hardware status :-)
3 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar