Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 16:53:34 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        obrien@freebsd.org
Cc:        Arthur Mesh <arthurmesh@gmail.com>, Doug Barton <dougb@freebsd.org>, freebsd-rc@freebsd.org, Xin Li <delphij@delphij.net>, freebsd-security@freebsd.org, RW <rwmaillists@googlemail.com>
Subject:   Re: svn commit: r239569 - head/etc/rc.d
Message-ID:  <867gs2hqtt.fsf@ds4.des.no>
In-Reply-To: <20120910135218.GA68128@dragon.NUXI.org> (David O'Brien's message of "Mon, 10 Sep 2012 06:52:18 -0700")
References:  <50450F2A.10708@FreeBSD.org> <20120903203505.GN1464@x96.org> <50451D6E.30401@FreeBSD.org> <20120903214638.GO1464@x96.org> <50453686.9090100@FreeBSD.org> <20120904220754.GA3643@server.rulingia.com> <20120906174247.GB13179@dragon.NUXI.org> <20120906230157.5307a21f@gumby.homeunix.com> <20120906224703.GD89120@x96.org> <20120907015157.GA29497@server.rulingia.com> <20120910135218.GA68128@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien <obrien@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867gs2hqtt.fsf>