由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - about time command in linux
相关主题
how to check disk usage per user?求助:bash里面break 和exit命令不能提前终止循环
问一个run bash-script command several times的问题有没有什么cpu/memory usage画图软件
也问linux学习Damn this is pretty.
The command line is powerful, but the UI can be more efficient!how big is your swap?
A question about two linux commandsKDE 是好吃猪。。。
命令行迟迟不出来,请问高手是何原因?bash script真难看懂
any body help me about these sentence in the shell script?我还有个问题
关于server的/var/www/usage目录ubuntu 10.10 ibus CPU usage 100%的看过来
相关话题的讨论汇总
话题: time话题: program话题: command话题: system话题: user
进入Linux版参与讨论
1 (共1页)
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.

1 (共1页)
进入Linux版参与讨论
相关主题
ubuntu 10.10 ibus CPU usage 100%的看过来A question about two linux commands
kde vs gnome命令行迟迟不出来,请问高手是何原因?
self test: awk questionany body help me about these sentence in the shell script?
大家Linux装32bit还是64bit?关于server的/var/www/usage目录
how to check disk usage per user?求助:bash里面break 和exit命令不能提前终止循环
问一个run bash-script command several times的问题有没有什么cpu/memory usage画图软件
也问linux学习Damn this is pretty.
The command line is powerful, but the UI can be more efficient!how big is your swap?
相关话题的讨论汇总
话题: time话题: program话题: command话题: system话题: user