RE: RAM and CPU hogging
RE: RAM and CPU hogging
- Subject: RE: RAM and CPU hogging
- From: "de Runtz, Lars" <email@hidden>
- Date: Wed, 18 Jul 2007 08:43:34 -0600
- Thread-topic: RAM and CPU hogging
On 17 Jul 2007, at 21:49, Timothy Hellum wrote:
> The issue I am finding is that ARD tells me the machines are routinely
> running at 98% CPU and 98% RAM usage. The problem is, the only apps
> running on them are the script (saved as an application), and Safari.
> After a few days of running like this, they sort of seize up (wouldn't
> you?) and either present the beachball, time out on the Applescript,
> or freeze altogether.
Using top to check the state of programs running is always a good idea.
This will give you an idea, over time, of how things run. Now, if you
were to leave top running, then you might be able to actually _see_ what
is consuming all of that CPU.
Top -c a -o cpu
Will show the accumulated stats, sorted descending by CPU usage. This
may be better for showing what is consuming the most CPU. You can sort
by whatever you want, just look it up under "man top".
You can also use "ps" or "Activity Monitor" to show things like page
faults, and other stats that may be useful.
Now, you might be able to run this this as a pure shell script, and use
cron for the timing, but we'll wait on that suggestion, since it isn't
exactly AppleScript... :)
-Lars DeRuntz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden