prevent suspend / hibernate when streaming
johnneylee.rollins at gmail.com
Wed Feb 17 12:02:40 UTC 2010
On Wed, Feb 17, 2010 at 12:32 AM, Hypo Thetical
<hypothetical25 at gmail.com> wrote:
> I use my ubuntu 8.10 machine has a stream server. i would like it to be able
> to suspend when i'm not streaming anything from it. I tired using the power
> management options, but the maximum it can wait before suspending is 1 hour
> (next option is to never hibernate). however, this causes the desktop to
> suspend every 60 minutes irrespective of whether i'm streaming music from
> it, or logged in via vnc / NX / ssh.
> i want it to suspend so that i'm not wasting power when i don't use it, but
> i also want it to remain alive while i am remotely logged in or streaming.
> How can i achieve this?
I can envision a script to check to see if every process is sleeping
and if any ssh sessions or streaming programs. You can even forget the
last part. But the problem is, I don't know if you can bring a
computer back from hibernation in a software manner.
You couldn't start a new session if your server hibernated.
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
More information about the ubuntu-users