Tacking a specific apps cpu resource usage
Dale Sykora
dalen at czexan.net
Fri Jan 7 21:05:01 UTC 2005
Harry Putnam wrote:
> I'm pretty sure what I want to do is possible but sort of lost as to
> how to approach this.
>
> I'd like to track resource usage of a specific app over time. All I
> came up with is running a looping script using `ps' and `grep' every
> few minutes.
Another approach might be to call the app from a shell script that logs
info you want.
create a script
mv some-app other-app-name
mv script some-name
With a script you could log start/stop times, user info, etc.
More information about the fedora-list
mailing list