Re: [PHP] Get Power Saving Settings of the Server

2010-04-20 Thread kranthi
>> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Get Power Saving Settings of the Server

2010-04-19 Thread Richard
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Get Power Saving Settings of the Server

2010-04-19 Thread kranthi
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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php