s****n 发帖数: 700 | 1 put program command after time could run the program and summarize system
resource usage such as real time, system time and user time.
It will give the report after the program finish its process. However I want
to know if there is a tool which can check the system resouce uasge of the
program while it's still running.
Your help is appreciated. |
N**D 发帖数: 10322 | 2 top?
want
the
【在 s****n 的大作中提到】 : put program command after time could run the program and summarize system : resource usage such as real time, system time and user time. : It will give the report after the program finish its process. However I want : to know if there is a tool which can check the system resouce uasge of the : program while it's still running. : Your help is appreciated.
|
s****n 发帖数: 700 | 3 top only shows cpu time, I need user and system time.
【在 N**D 的大作中提到】 : top? : : want : the
|
j*****h 发帖数: 2577 | 4 top
then u then user id
【在 s****n 的大作中提到】 : top only shows cpu time, I need user and system time.
|
a*****i 发帖数: 4391 | 5
Try htop. MUCH better than top. :)
【在 j*****h 的大作中提到】 : top : then u then user id
|
s****n 发帖数: 700 | 6 Say you start running program at 12:00, and stop it at 1:00. Does your
program reall running time is 1 hour? Using time command you can check the
real running time of the program. The real run time includes system function
time and user function time.
However "time" command could only give the report after the porcess stops. I
need find a tool to check those information on fly.
Sorry for the misunderstanding.
The last choice is to write a timer function in my program and call the time
function.
【在 s****n 的大作中提到】 : top only shows cpu time, I need user and system time.
|
m******t 发帖数: 2416 | 7 "Process accounting" might be what you are looking for.
the
function
I
time
【在 s****n 的大作中提到】 : Say you start running program at 12:00, and stop it at 1:00. Does your : program reall running time is 1 hour? Using time command you can check the : real running time of the program. The real run time includes system function : time and user function time. : However "time" command could only give the report after the porcess stops. I : need find a tool to check those information on fly. : Sorry for the misunderstanding. : The last choice is to write a timer function in my program and call the time : function.
|