Hi folks,
I've got a problem with my laptop that's recently occurred. The processor usage gets stuck at 100%, and I can't work out why. If I look at processes with top or htop, atd is the biggest user of the processor, with about 20%. Adding up all the processes gives a rough total of 30%. No idea of where the other 70% is going, yet the total at the top is 100%. Issuing the command
sudo service stop atd
almost immediately brings the total processor usage down to 2-18%. Then issuing
sudo service start atd
takes it right back up to 100%
Any idea what atd is up to? How can I find out? I did get a disk space warning the other day, but have freed up a load of space since.
Ubuntu 11.04, fully patched. No recent changes AFAIK apart from installing patches regularly.
Any ideas?
Steve
On 4 May 2012 17:34, steve-ALUG@hst.me.uk wrote:
with top or htop, atd is the biggest user of the processor, with about 20%. Adding up all the processes gives a rough total of 30%. No idea of where the other 70% is going, yet the total at the top is 100%.
Could be the other 70% is spent in system calls or any of the other cpu usage categories reported in top's output (look at the line starting "Cpu").
Any idea what atd is up to? How can I find out? I did get a disk space warning the other day, but have freed up a load of space since.
Try running atq and see what it reports. It will only show your user's at jobs, but according to the man page, running atq as root will show you all the at jobs for all users.
Regards, Srdjan
On 04/05/12 17:46, Srdjan Todorovic wrote:
On 4 May 2012 17:34,steve-ALUG@hst.me.uk wrote:
with top or htop, atd is the biggest user of the processor, with about 20%. Adding up all the processes gives a rough total of 30%. No idea of where the other 70% is going, yet the total at the top is 100%.
Could be the other 70% is spent in system calls or any of the other cpu usage categories reported in top's output (look at the line starting "Cpu").
Thanks for the tip. Had been using htop, but if/when it happens again, will try top instead, but in the mean time...
Any idea what atd is up to? How can I find out? I did get a disk space warning the other day, but have freed up a load of space since.
Try running atq and see what it reports. It will only show your user's at jobs, but according to the man page, running atq as root will show you all the at jobs for all users.
Thanks. Task listed that I didn't know about, has been "running" for 3 days. Killed it with atrm & the problem seems to have gone.
Thanks. U R A *
Cheers Steve