Chinaunix
标题:
如何计算从第一步到第四步的运行时间呢
[打印本页]
作者:
20060502156
时间:
2012-07-19 09:28
标题:
如何计算从第一步到第四步的运行时间呢
root@ubd1204x64v3# ssh localhost-l user
user@localhost's password:
user@ubd1204x64v3:~$exit
root@ubd1204x64v3#
复制代码
如何计算从第一步到第四步的运行时间,我知道运行一个命令可以用time -p command
作者:
dn833
时间:
2012-07-19 09:56
这3条命令写成一个脚本,然后time 脚本就可以了
作者:
ulovko
时间:
2012-07-19 10:07
man time
DESCRIPTION
The time utility executes and times the specified utility. After the
utility finishes, time writes to the standard error stream, (in seconds):
the total time elapsed, the time used to execute the utility process and
the time consumed by system overhead.
复制代码
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2