Find the answer to your Linux question:
Results 1 to 5 of 5
can any body tell me how to suspend a linux system through command promt...
  1. #1
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470

    Suspend console command

    can any body tell me how to suspend a linux system through command promt

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    On my system, there's a script called /usr/lib/hal/scripts/hal-system-power-suspend that looks like it's meant to suspend the system. It appears to be a freedesktop.org specification that was implemented last May, so it should be included on any current distro. Mind you, I haven't tried it, so I don't know how well it works.
    Stand up and be counted as a Linux user!

  3. #3
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470
    Got this as result
    default:~ # /usr/lib/hal/scripts/hal-system-power-suspend
    org.freedesktop.Hal.Device.UnknownError
    No back-end for your operating system

  4. #4
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078

    Suspend from the command line

    go to the /proc/acpi/sleep, do (cat sleep) to see how many stage provided by the acpi normaly the S3 suspend the computer to the mem,

    so : echo 3 > sleep or (echo -n "mem" > /sys/power/state) and that should work,but for me when i tried to turn on my computer again it appears only black screen,but this problem is related to your VGA resolution mode,go to
    http://www.thinkwiki.org/wiki/Proble...k_after_resume.
    to see if you have a vga with such problem and to see how to solve it,if your VGA is not in the list of problematic video card so you are lucky.

    hope this help

  5. #5
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470
    yes it works for me with out any problem

    /usr/lib/hal/scripts/linux\hal-system-power-hibernate-linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...