From f8aaf49d40ac40b4bf33fbcdda5b8b20197eeee8 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 23 Sep 2019 16:58:02 +0800 Subject: [PATCH] Update time.md --- command/time.md | 76 ++++++++++--------------------------------------- 1 file changed, 15 insertions(+), 61 deletions(-) diff --git a/command/time.md b/command/time.md index 964c972e2f..98939b7c29 100644 --- a/command/time.md +++ b/command/time.md @@ -58,66 +58,20 @@ shell内建也有一个time命令,当运行time时候是调用的系统内建 `-f`选项后的参数: -
| 参数 | -描述 | -
|---|---|
| %E | -real时间,显示格式为[小时:]分钟:秒 | -
| %U | -user时间。 | -
| %S | -sys时间。 | -
| %C | -进行计时的命令名称和命令行参数。 | -
| %D | -进程非共享数据区域,以KB为单位。 | -
| %x | -命令退出状态。 | -
| %k | -进程接收到的信号数量。 | -
| %w | -进程被交换出主存的次数。 | -
| %Z | -系统的页面大小,这是一个系统常量,不用系统中常量值也不同。 | -
| %P | -进程所获取的CPU时间百分百,这个值等于user+system时间除以总共的运行时间。 | -
| %K | -进程的平均总内存使用量(data+stack+text),单位是KB。 | -
| %w | -进程主动进行上下文切换的次数,例如等待I/O操作完成。 | -
| %c | -进程被迫进行上下文切换的次数(由于时间片到期)。 | -