Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Java/Open Source Daily
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







Power Saving for the Workstation, Part 2
Do You Have a UPS?

A. Lizard
Tuesday, July 31, 2007 08:42:48 PM

Use hibernate instead of /sbin/shutdown in the regular UPS shutdown script from Network UPS Tools. Instead of just shutting down your applications and OS in an orderly fashion, take up exactly where you left off when the power went down. Just start the shutdown in plenty of time before your UPS runs out of power.

Open /etc/hibernate/upsmon.conf with text editor as root (original command commented out via #):

# SHUTDOWNCMD "/sbin/shutdown -h +0"
SHUTDOWNCMD "/usr/sbin/hibernate –force"

Try it without –force first. If you didn't need it for hibernate-ram, you probably won't need it here.

"If you have a UPS that did not come with working Linux software, visit this HOWTO.

Next: Alternate Suspend Methods »

Skip Ahead

1 Automatically Suspending to RAM
2 Turning Suspend On, Off From the Desktop
3 Do You Have a UPS?
4 Alternate Suspend Methods
5 Unsolved Problems





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers