svn commit: r239569 - head/etc/rc.d

Dag-Erling Smørgrav des at des.no
Mon Sep 10 14:53:36 UTC 2012


David O'Brien <obrien at FreeBSD.org> writes:
> +	( dmesg; kenv; df -ib; \

None of these change much between reboots; dmesg and kenv don't change
at all, and neither does df unless you have /tmp and / or /var on /.

> +	    ps -fauxrH -o nwchan,nivcsw,nvcsw,time,re,sl; \

-f doesn't hurt but is unlikely to make any difference in the output.
-u is overridden by -o and therefore pointless.
-r just changes the sort order, which is probably pointless.
-H greatly increases the amount of data but not the entropy.

time, re and sl are in seconds and therefore extremely predictable.

so:

 ps -axo nwchan,majflt,minflt,nivcsw,nvcsw

which is exactly what I posted earlier, except for the addition of
nwchan.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-rc mailing list