show services accounting usage
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
Display the CPU usage of PIC used for active flow monitoring.
Options
none | — | Display CPU usage for all service names. |
name service-name | — | (Optional) Display CPU usage for the specified service name. |
Additional Information
When no route record has been downloaded from the PIC, this command reports no flows, even though packets are being sampled.
Required Privilege Level
view
List of Sample Output
show services accounting usage (Monitoring PIC interface)show services accounting usage (Service PIC interface)
Output Fields
Table 1 lists the output fields for the show services accounting usage command. Output fields are listed in the approximate order in which they appear.
Table 1: show services accounting usage Output Fields
Output Field | Output Field Description |
---|---|
Service Accounting interface | Name of the service accounting interface. |
Service name | Name of a service that was configured at the [edit-forwarding-options accounting] hierarchy level. The default display, (default sampling), indicates the service was configured at the [edit-forwarding-options sampling-level] hierarchy level. |
Local interface index | Index counter of the local interface. |
Uptime | Time that the PIC has been operational (in milliseconds). |
Interrupt time | Total time that the PIC has spent processing packets since the last PIC reset (in microseconds). |
Load (5 second) | CPU load on the PIC, averaged more than 5 seconds. The number is a percentage obtained by dividing the time spent on active tasks by the total elapsed time. |
Load (1 minute) | CPU load on the PIC, averaged more than 1 minute. The number is a percentage obtained by dividing the time spent on active tasks by the total elapsed time. |
Sample Output
show services accounting usage (Monitoring PIC interface)
user@host> show services accounting usage
Service Accounting interface: mo-1/1/0, Local interface index: 15 Service name: (default sampling) CPU utilization Uptime: 600413856 milliseconds, Interrupt time: 2403 microseconds Load (5 second): 43%, Load (1 minute): 24%
Sample Output
show services accounting usage (Service PIC interface)
user@host> show services accounting usage
Service Accounting interface: sp-0/1/0 Service name: (default sampling) CPU utilization Uptime: 7853940 milliseconds, Interrupt time: 0 microseconds Load (5 second): 2%, Load (1 minute): 0%
Service Accounting interface: sp-0/1/0 Service name: (default sampling) CPU utilization Uptime: 331160 milliseconds, Interrupt time: 0 microseconds Load (5 second): 2%, Load (1 minute): 0%