Hi Experts, I want to capture application.exe, memory used, CPU used every 30 minutes in a log file. for four Java processes (7005.exe, 7006.exe, 7007.exe, 7008.exe)
This will be reviewed everyweek.
Please advise how can I achieve this.
Thanks,
YM.
Logging Memory and CPU usage by Application
Moderator: DosItHelp
Re: Logging Memory and CPU usage by Application
Thanks billrich I am aware of this tool.
My requirement is to capture logs in a single text file.
A batch file that runs every 30 minutes. Filters 4 processes, and captures memory used, CPU used at that time and writes it to text file.
Data in this file will be compared with database sessions launched by the users.
I hope I explain the requirements correctly this time.
Regards,
Yasar
My requirement is to capture logs in a single text file.
A batch file that runs every 30 minutes. Filters 4 processes, and captures memory used, CPU used at that time and writes it to text file.
Data in this file will be compared with database sessions launched by the users.
I hope I explain the requirements correctly this time.
Regards,
Yasar
Re: Logging Memory and CPU usage by Application
yasar2002 wrote:My requirement is to capture logs in a single text file.
A batch file that runs every 30 minutes. Filters 4 processes, and captures memory used, CPU used at that time and writes it to text file.
Do you know a command line tool that captures the info that you need?
Re: Logging Memory and CPU usage by Application
tasklist shows memory usage and cpu time. Not sure if that is what you are after.
Re: Logging Memory and CPU usage by Application
Tasklist can filter on CPU time in hours etc but it doesn't display CPU usage.
Maybe this is a job for wmic?
Maybe this is a job for wmic?