Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I suspend to ram from the command line (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Sat Jul 03, 2010 12:23 pm    Post subject: How do I suspend to ram from the command line (solved) Reply with quote

How do I suspend to ram from the command line?

I want to be able to:

emerge world -DuN; suspend to ram


Last edited by IRQsRFun on Sat Jul 03, 2010 5:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Jul 03, 2010 1:36 pm    Post subject: Reply with quote

sys-power/pm-utils should have a command for that.
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Sat Jul 03, 2010 3:10 pm    Post subject: Reply with quote

Code:
echo mem > /sys/power/state

_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Sat Jul 03, 2010 3:42 pm    Post subject: Reply with quote

Ant_P wrote:
sys-power/pm-utils should have a command for that.


and the command is
Code:
hibernate-ram

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
IRQsRFun
Apprentice
Apprentice


Joined: 02 May 2003
Posts: 195
Location: Somewhere between .3 and .7 Vdd

PostPosted: Sat Jul 03, 2010 5:10 pm    Post subject: Reply with quote

thank you everyone, pm-suspend does exactly what I want I might look for where hibernate-ram is at some other time.
Back to top
View user's profile Send private message
SpectreDragon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2008
Posts: 92
Location: Germany

PostPosted: Sat Jul 03, 2010 5:14 pm    Post subject: Reply with quote

IRQsRFun wrote:
thank you everyone, pm-suspend does exactly what I want I might look for where hibernate-ram is at some other time.

sys-power/hibernate-script (but I don't think it is necessary when pm-suspend does the trick)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum