echo -n mem >/sys/power/state
or
echo -n disk >/sys/power/state
For the latter, you have to specify pmdisk=/dev/hda1 (for example, if hda1 is your swap partition) on your kernel's append line in the boot-loader.
For either, depending on your hardware, you may have to stop services and unload modules before suspending, and start/modprobe them after resuming.
Yves.
|