The conversation on this page has been archived and is no longer active.

find active processes in sleep mode

Message #1 - Posted 2005/12/27 - Martin Trautmann

Hi all,

how may I find out which process is active in sleep mode?

Currently a sleeping iBook G4 with closed lid does try to wake up every 10 seconds. The empty CD ROM drive starts up, the background illumination turns on for a fraction of a second. Then it sleeps again for the next 10 seconds.

What does cause this wake up? It only happens when plugged in to the power supply. It started two security updates ago (still 10.3.9). Possibly due to the QuickTime installation?

There's nothing special in /etc/crontab

Thanks,
Martin

Message #2 - Posted 2005/12/27 - Hans Aberg

Previously, traut@gmx.de wrote:

how may I find out which process is active in sleep mode?

The sleep stuff may be due to code external to the UNIX kernel; this is one reason that kernel panics may occur. So it is a good question if any UNIX processes are running during sleep (I do no know).

Hans Aberg

Message #3 - Posted 2005/12/27 - Wayne C. Morris

On Tue, 27 Dec 2005 06:23:18 -0600, Martin Trautmann wrote (in a previous article):

how may I find out which process is active in sleep mode?

Processes can't be active in sleep mode.

Currently a sleeping iBook G4 with closed lid does try to wake up every 10 seconds. The empty CD ROM drive starts up, the background illumination turns on for a fraction of a second. Then it sleeps again for the next 10 seconds.

Your Mac probably isn't going to sleep. It's *trying to, it manages to shut down the drives and the screen, but something stops it before it can put the processor into sleep mode.

I sometimes see a similar thing, except that after it re-awakes, it stays awake. I think that when it tells all the processes to prepare for sleep mode, one of them says "I'm still busy, can't sleep yet", so everything powers back up. When it happens, I just try again after a couple of minutes and it usually sleeps properly.

What does cause this wake up? It only happens when plugged in to the power supply.

You mean a UPS? So it doesn't happen when the Mac is plugged directly into a wall outlet?

Is there a USB cable from the UPS to the Mac? What happens if you plug the Mac into a wall outlet, but leave the UPS plugged into the Mac's USB port? What happens if the Mac's power is plugged into the UPS, but the USB cable is left disconnected? If you only get the problem when the USB cable is connected, something's wrong with your UPS.

Another possibility is that the desk is vibrating just enough to move the mouse and wake up the Mac; this could be caused by a truck or train rumbling past your house, or by someone walking by if the floors aren't rigid enough. Or your Energy Saver options might be set to wake the Mac in response to a phone ring or a network admin access signal. Or one of your USB or Firewire peripherals is sending signals that keep your Mac awake.

Message #4 - Posted 2005/12/27 - Malcolm

On 2005-12-27 13:39:05 -0500, Wayne C. Morris said:

Another possibility is that the desk is vibrating just enough to move the mouse and wake up the Mac; this could be caused by a truck or train rumbling past your house, or by someone walking by if the floors aren't rigid enough.

Moving the mouse will not wake a Mac, you have to click it, or press a keyboard key. When the Mac is asleep, the mouse LED is off, so it cannot detect movement.

Message #5 - Posted 2005/12/27 - Barry Margolin

Previously, Wayne C. Morris wrote:

What does cause this wake up? It only happens when plugged in to the power supply.

You mean a UPS? So it doesn't happen when the Mac is plugged directly into a wall outlet?

I think he means when it's plugged into an outlet rather than running off battery.

Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***

Message #6 - Posted 2005/12/28 - Martin Trautmann

On Tue, 27 Dec 2005 18:39:05 GMT, Wayne C Morris wrote:

What does cause this wake up? It only happens when plugged in to the power supply.

You mean a UPS? So it doesn't happen when the Mac is plugged directly into a wall outlet?

No, just the ordinary Mac power plug.

Is there a USB cable from the UPS to the Mac?

No.

Another possibility is that the desk is vibrating just enough to move the mouse and wake up the Mac; this could be caused by a truck or train rumbling past your house, or by someone walking by if the floors aren't rigid enough.

No, it's too regular

Or your Energy Saver options might be set to wake the Mac in response to a phone ring or a network admin access signal. Or one of your USB or Firewire peripherals is sending signals that keep your Mac awake.

Hm - good point about the phone line. I'll check again. It's usually both power and phone connected in, plus the fax setting to receive faxes.

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.