Find the answer to your Linux question:
Results 1 to 2 of 2
Hey Guys, I am running a BSD box with monitoring configured via SNMP. I am getting randon high CPU spikes and am trying to identify the cause. Currently I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    1

    Identify the source of High CPU


    Hey Guys,

    I am running a BSD box with monitoring configured via SNMP. I am getting randon high CPU spikes and am trying to identify the cause.

    Currently I have a cron running every 5 minutes to get an output from 'ps' and getting the top processes aswell as a 'vmstat 1 10' but it looks like the high CPU may occur outside the cron times.

    Instead of changing the cron to run every 1 minute or so, is there a better way to identify what is causing the high cpu?

    ie: when High CPU is triggered, to get an output of the current processes running?

    Thanks in advance,

    Luke.

  2. #2
    Just Joined!
    Join Date
    Apr 2011
    Posts
    14
    Are you getting high CPU utilization or percentage spikes? They are two different things. I recommend watching the system for a while manually using top.

    Code:
    top

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •