Date: Mon, 07 May 2007 01:27:30 -0300 From: "Marc G. Fournier" <freebsd@hub.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Robert Watson <rwatson@FreeBSD.org>, freebsd-stable@freebsd.org Subject: Re: swap zone exhausted, increase kern.maxswzone Message-ID: <79779540505587E845245092@ganymede.hub.org> In-Reply-To: <200705052011.l45KBZGk098049@apollo.backplane.com> References: <5BF35D39E7EDDE250B00BA98@ganymede.hub.org> <200705052011.l45KBZGk098049@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 13:11:35 -0700 Matthew Dillon <dillon@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@backplane.com> - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79779540505587E845245092>