The point is that ps wont show the system CPU usage, so the first step is to determine whether the kernel is hogging the CPU or whether it's user space processes by using vmstat. Then if it's user space you continue with ps.
On Tue, Mar 25, 2008 at 11:03 AM, Jean-Paul Baillon < [EMAIL PROTECTED]> wrote: > I had the very same case > > Although vmstat was helpful, only with ps was I able to pinpoint the > rougue process (/bin/snmp) > > JP > > -----Original Message----- > From: Mailing list for discussion of Firewall-1 > [mailto:[EMAIL PROTECTED] On Behalf Of Hugo > van der Kooij > Sent: Thursday, 20 March 2008 9:17 AM > To: [email protected] > Subject: Re: [FW-1] fwd debug... > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jean-Paul Baillon wrote: > | Use ps -auxwww to see what process is using all the CPU > | > | Check your snmp, if it is the snmp process delete your snmp config > | reboot then re-apply > > Start with `vmstat 1`. Only if you have a lot of user space CPU usage > will you get any information from running ps. > > Hugo. > > - -- > [EMAIL PROTECTED] http://hugo.vanderkooij.org/ > PGP/GPG <http://hugo.vanderkooij.org/PGP/GPG>? Use: > http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFH4ZDqBvzDRVjxmYERAmmkAJ9MAtNKz3nI3Ba0GvaRWm6l8AwAVwCcCfSV > AS7SaR0wZjVnD1JiP1PuNi4= > =8wWs > -----END PGP SIGNATURE----- > > Scanned by Check Point Total Security Gateway. > > ================================================= > To set vacation, Out-Of-Office, or away messages, > send an email to [EMAIL PROTECTED] > in the BODY of the email add: > set fw-1-mailinglist nomail > ================================================= > To unsubscribe from this mailing list, > please see the instructions at > http://www.checkpoint.com/services/mailing.html > ================================================= > If you have any questions on how to change your > subscription options, email > [EMAIL PROTECTED] > ================================================= > > ##################################################################################### > Important: This electronic message and attachments (if any) are > confidential > and may be legally privileged. If you are not the intended recipient do > not > copy, disclose or use the contents in any way. Please let us know by > return > e-mail immediately and then destroy this message. > > ##################################################################################### > > Scanned by Check Point Total Security Gateway. > > ================================================= > To set vacation, Out-Of-Office, or away messages, > send an email to [EMAIL PROTECTED] > in the BODY of the email add: > set fw-1-mailinglist nomail > ================================================= > To unsubscribe from this mailing list, > please see the instructions at > http://www.checkpoint.com/services/mailing.html > ================================================= > If you have any questions on how to change your > subscription options, email > [EMAIL PROTECTED] > ================================================= > Scanned by Check Point Total Security Gateway. ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] =================================================
