Linux Commands Examples

A great documentation place for Linux commands


Test whether suspend or hibernate is supported.

see also : pm-suspend


pm-is-supported [{--suspend --hibernate --suspend-hybrid}]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


This manual page documents briefly the pm-is-supported command.

The intended purpose of pm-is-supported is to find out which power management modes are supported by the system. hald(8) will call it to do just that. (Note that UPower does not use this.)



Test whether suspend is supported. Suspend is a state where most devices are shutdown, except for RAM. This state still draws power.


Test whether hibernate is supported. During hibernate the state of the system is saved to disk, the system is fully powered off.


Test whether hybrid-suspend is supported. Hybrid-suspend is the process where first the state of the system is saved to disk -- just like with hibernate -- but instead of poweroff, the system goes in suspend state, which means it can wakeup quicker than for normal hibernation. The advantage over suspend is that you can resume even if you run out of power. s2both is a hybrid-suspend implementation.


Copyright © 2007 Tim Dijkstra

This manual page was originally written for the Debian(TM) system, and has been adopted by the pm-utils project.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

return value

The result of the test for a certain powermanagement state is defined by the following exit codes.

Image grohtml-200201.png

see also

hald, pm-suspend , s2both, UPower


Tim Dijkstra <tim[:at:]famdijkstra[:dot:]org>

Manpage author.

How can this site be more helpful to YOU ?

give  feedback