Posts with the tag sleep

Suspend Using Console

see also: http://wiki.ubuntuusers.de/Schlafmodi

$ sudo /etc/acpi/sleep.sh force

alternatively:

$ sudo echo mem > /sys/power/state

or as gdm does it (see /etc/gdm/gdm.conf → constant SuspendCommand):

$ sudo /usr/sbin/pm-suspend

you can run this script and therefore suspend remotely with ssh option -t to prevent echo on the terminal:

<pre...

Read on