Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services accounting usage

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services accounting usage
<name service-name>

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

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)

content_copy zoom_out_map
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%

show services accounting usage (Service PIC Interface)

content_copy zoom_out_map
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%

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation