From: kranthi on 19 Apr 2010 05:17 Hi all, My PHP script is running as CLI. Can I get the Power Management Settings of the server ? I am using PHP 5.3.2 on Fedora 12 Machine (2.6.32.10-90.fc12.i686) KK.
From: Richard on 19 Apr 2010 05:32 Hi, > My PHP script is running as CLI. Can I get the Power Management > Settings of the server ? > > I am using PHP 5.3.2 on Fedora 12 Machine (2.6.32.10-90.fc12.i686) Your server management software may provide a way to get this information either through the command line or through a network interface. SNMP may also provide this information, and ISTR there's a PHP SNMP module. Enjoy... :-) -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 10th April) Lots of PHP and Javascript code - http://www.phpguru.org
From: kranthi on 20 Apr 2010 14:50 >> Your server management software may provide a way to get this information either through the command line or through a network interface Using exec('gconftool-2 -g /apps/gnome-power-manager/timeout/sleep_display_ac') helped. Thanks
|
Pages: 1 Prev: Class constants Next: Re[2]: [PHP] How to do i18n better? |