-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- --On Saturday, May 05, 2007 13:11:35 -0700 Matthew Dillon <[EMAIL PROTECTED]> 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 > <[EMAIL PROTECTED]> - ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGPqqz4QvfyHIvDvMRAsHgAKDpv7/SIKEAYIx7NVc8tdeUaAL4YwCg7Rnr OKYu+cZK2EUjXUpn62zSOIQ= =rVxB -----END PGP SIGNATURE----- _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"