Re: Which process are waiting for I/O?
At 02:28 PM 8/10/2003 -0700, Rus Foster wrote: Hi All, I've got a box which is getting high loads as process are starting waiting for I/O but I can't track down the process as I think they stop/start quickly. Any ideas of how to track it down? Yes. You need to enable process accounting using accton: # accton /var/account/acct Let the processes that you suspect are causing issues run for a bit. Next, use sa to determine what the heck is going on. You can get a lot of detail out of sa so make sure to read the manpage. You may also want to run bsdsar (in ports) to watch for higher-level issues while using sa to get the real detail. /var/account/acct is going to grow pretty fast. Be sure to rotate it if you plan on leaving process accounting enabled after your troubleshooting. --- Dustin Puryear [EMAIL PROTECTED] Puryear Information Technology, LLC http://www.puryear-it.com Providing expertise in the management, integration, and security of Windows and UNIX systems, networks, and applications. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which process are waiting for I/O?
Hi All, I've got a box which is getting high loads as process are starting waiting for I/O but I can't track down the process as I think they stop/start quickly. Any ideas of how to track it down? Rus -- w: http://www.jvds.com | Linux + FreeBSD VDS's from $15/mo e: [EMAIL PROTECTED]| Totally Customizable Technology t: 07919 373537 | General FreeBSD Forums: msm: [EMAIL PROTECTED] | http://forums.jvds.com/viewforum.php?f=7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which process are waiting for I/O?
On Sun, Aug 10, 2003 at 02:28:00PM -0700, Rus Foster wrote: Hi All, I've got a box which is getting high loads as process are starting waiting for I/O but I can't track down the process as I think they stop/start quickly. Any ideas of how to track it down? Use lsof. Read through the manpage for more info and check out the sample lsof scripts in the lsof tarball. lsof is in the ports tree under /usr/ports/sysutils/lsof. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]