Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/vmstat
Hi Simon,
On 13/12/2018 02:14, Simon Burge wrote:
> +If
> +.Nm
> +is invoked without any options, it displays the summary of statistics since
> +boot and exits.
>
> That's not true for the process and memory info though, right? For
> those two these are their current state, not a summary since boot. Also
> technically a few options don't change this behaviour either (at least
> -M -N -v and -W?).
>
> Not sure how we should document all this and be correct at the same
> time. :)
Yes you are right. When you invoke it over and over, free memory
changes. then the run queue if you specify an option.
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502920 18484 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502920 18484 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502920 18488 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502920 18484 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502924 18480 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502924 18480 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
1 0 502920 18488 229 0 0 0 5 6 18 21 7949 62 2 1 97
play$ vmstat -c 3
procs memory page disk faults cpu
r b avm fre flt re pi po fr sr l0 in sy cs us sy id
2 0 502920 18484 229 0 0 0 5 6 18 21 7949 62 2 1 97
0 0 502920 18484 0 0 0 0 0 0 0 7 62 23 0 0 100
0 0 502924 18484 1 0 0 0 0 0 0 7 58 26 0 0 100
Home |
Main Index |
Thread Index |
Old Index