Re: Question about process loging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't know of any tool that will do that for you. It shouldn't be very hard to write a simple shell or Perl script to watch for a process name. Run 'ps' from a script, catch the process name, and resource use in a variable. You chold run it from cron every few seconds.

Or see if the process has some mechanism that will write a log file. You could then see how often it is being run. Using 'sar' you could match up the time of the process with the resources used.


ssevengor@xxxxxxxxxx wrote:

Hi,

I have a software installed on my Red Hat enterprise linux 4, which is
run by the users that login remotely. The point is that I want to know
how often this software is used and during its usage how much of the
resources are used by the software. Is there any tool or something
like that except the standart unix linux commands like top,ps,...etc.
or do I have to write a script how??

Thanks to every body

Serdar Sevengör





--
veritatis simplex oratio est
		- Seneca

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

http://www.rpi.edu/~bacchi/


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux