Technical Documentation

Viewing Actual CPU Usage

Problem

Due to JNET driver polling behavior, the CPU usage displayed by the Linux top command always shows CPU usage at 100%. You cannot use the Linux top command to monitor CPU status. Instead, you can use the scio idp-cpu-utilization command to display actual CPU usage.

Note: Using the scio idp-cpu-utilization utility can cause CPU usage to spike. We, therefore, recommend you use scio idp-cpu-utilization only for debugging.

Note: The IDP device sends the results of scio idp-cpu-utilization command to SNMP traps (if configured). For IDP8200, which has multiple IDP engines, the result sent to the SNMP trap is an average.

Solution

To display actual CPU usage:

  1. Log into the CLI as admin and enter su - to switch to root.
  2. Use the following command to display CPU usage for the core running the IDP engine:

    [root@defaulthost admin]# scio idp-cpu-utilization
    Current actual cpu utilization: 0
    [root@defaulthost admin]#

    Specify the -c idp-engine option to display CPU usage for a particular core (0–5):


    [root@defaulthost admin]# scio -c 0 idp-cpu-utilization
    Current actual cpu utilization: 0
    [root@defaulthost admin]#

Published: 2010-01-12