swap zone exhausted, increase kern.maxswzone
Marc G. Fournier
freebsd at hub.org
Mon May 7 04:27:34 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --On Saturday, May 05, 2007 13:11:35 -0700 Matthew Dillon
<dillon at apollo.backplane.com> wrote:
> We'll have a better idea as to what is going on when you get the message
> again. You might even want to do a once-a-10-minutes cron job to
> append pstat -s, vmstat -m, and vmstat -z to a file.
'k, I have the following running out of cron ever 10 minutes ... anything else
that might be useful? This combines the information Robert got me to send him,
as well as adding pstat -s and ps aux ...
#!/bin/sh
DATE=`date +%Y%m%d%H%M`
DIR="/vm/watch/${DATE}"
mkdir ${DIR}
ps aux > ${DIR}/ps.out
sockstat > ${DIR}/sockstat.out
netstat -na > ${DIR}/netstat_na.out
fstat >${DIR}/fstat.out
vmstat -z >${DIR}/vmstat_z.out
vmstat -m >${DIR}/vmstat_m.out
netstat -m>${DIR}/netstat_m.out
pstat -s > ${DIR}/pstat_s.out
>
> -Matt
> Matthew Dillon
> <dillon at backplane.com>
- ----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org MSN . scrappy at hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFGPqqz4QvfyHIvDvMRAsHgAKDpv7/SIKEAYIx7NVc8tdeUaAL4YwCg7Rnr
OKYu+cZK2EUjXUpn62zSOIQ=
=rVxB
-----END PGP SIGNATURE-----
More information about the freebsd-stable
mailing list