Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-17-2009, 09:41 AM   #1
Registered: Apr 2004
Location: NJ
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
Question SUSPEND (sleep) command

Is there a command I can run from the command line that would allow my Ubuntu Server box to go on SUSPEND? I'm using Karmic 64bit. I'm trying to set my server to SUSPEND to save power, then WOL when needed. Thanks in advanced.
Old 11-17-2009, 11:28 AM   #2
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,655

Rep: Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964Reputation: 964
You should have pm-suspend: see "man" for details. You might also do an "apropos suspend", which might show some other useful stuff: I seem to remember there's a tool to see if suspend will work properly on a system.

Last edited by DavidMcCann; 11-17-2009 at 11:31 AM.
Old 11-17-2009, 11:33 AM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Since you want a command-line option, and assuming you want to suspend to RAM, as a test you might try:

shell$ sudo echo -n "mem" > /sys/power/state
and see if the machine goes to sleep AND if it awakes cleanly. If so, there you go; if it doesn't awake cleanly (or doesn't sleep) you have a little more work ahead of you.

Old 11-17-2009, 01:13 PM   #4
Registered: Apr 2004
Location: NJ
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Thank you guys. I'll give your suggestions a try and report back.


server, sleep, suspend, ubuntu, wol

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI Suspend / Sleep Galib Linux - Laptop and Netbook 3 04-03-2009 08:06 AM
Problem with sleep (suspend-to-ram, S3) Jessard Linux - Laptop and Netbook 7 02-15-2009 10:17 PM
Disable suspend/sleep/hibernate/whatever-you-call-it arizonagroovejet Linux - General 4 02-06-2009 05:33 AM
Problems with acpi/sleep/suspend on laptop kierse Linux - Hardware 4 03-08-2005 01:19 AM
How to use ACPI to sleep/suspend? manueljose Linux - Laptop and Netbook 2 09-28-2004 11:33 AM

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration