Wednesday, June 11, 2008

Configure Power Management with power.conf

I had a few (actually more than a few) in-house complaints regarding my personal workstation’s uptime schedule. The complaints were legitimate since the box goes largely unused. With today’s ($137/barrel) spiraling energy costs, I can understand the concern. So to quell the incessant complaints, I decided to better manage its power consumption - modified the /etc/power.conf file.

Here is an example.
# more /etc/power.conf
autopm default
# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
autoshutdown 30 9:00 9:00 noshutdown
statefile /export/home/.CPR

Changed to: After 20 minutes of non-use, shutdown.
# vi /etc/power.conf
autopm default
# Auto-Shutdown Idle(min) Start/Finish(hh:mm) Behavior
autoshutdown 20 0:00 0:00 shutdown
statefile /export/home/.CPR
:wq!

Let power management know of the change
# /usr/sbin/pmconfig

No comments: