Google Plus

Suspend VS hibernate in Linux, what is the difference?

Written by M. Zinoune on . Posted in Frequently Asked Questions

Question: Suspend VS hibernate in Linux, what is the difference?

Answer:
Suspend stops operation of all applications and system state is saved in RAM, the machine go into a low-power mode, in this state, the system still requires power . Various triggers can resume the machine, among them pressing a key or quickly pressing and releasing the power button.

Command to suspend Computer/Laptop

sudo pm-suspend

Hibernate Moves the contents of memory into swap, tells the bootloader to boot directly into the appropriate kernel, and shuts the machine down, in this state, the system does not require power. You turn on the machine by powering up, which causes the kernel to reload the contents of memory from swap.

Command to Hibernate computer/ Laptop

sudo pm-hibernate

that`s all.

For questions, feel free to post your questions in our Q/A forum http://ask.unixmen.com

Via superuser

For questions please refer to our Q/A forum at : http://ask.unixmen.com

  • NeoGreen

    It should also be stated that it takes longer to resume work from hibernation than from suspension

    • zinovsky

      I agree, is because suspend resume from the RAM and hibernate from harddisk (Swap).  i will update the post, thanks

  • Qq

    its a pity that author didn’t mention that you can not resume system from hibernation properly in linux :))

    • AliusPanfilovas

       You can. Here is how – stop buying computers which contains hardware from companies that don’t give a shit about Linux.

  • http://twitter.com/as_setiawan Agus Setiawan

    how about i suspend my desktop then unplug the power? what would happen?

    • swapnil

       kaboom ! .. ur data will vanish and ur system will start afresh once u decide plug in the power :D

      • Pierre-Adrien B.

        Which is, btw, quite logical as the data is saved to RAM (and RAM memory needs power to maintain its state).

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

I am working on it. Stay tuned. Thanks for the comment.

adriana rizzati

|

You are right, I saw them just now and they are awesome!

SK

|

Thanks for the comment Abdullah. Stay tuned with us always.

Abdullah Musazai

|

Thank you for such a great service you always do, hope you gain more power and more energy to work more & more

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .