show accounting records
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
Display accounting records for the specified accounting profile.
Options
- profile-name
Name of the accounting profile.
- since time
(Optional) Display accounting statistics since the specified time (YYYY-MM-DD-HH:MM:SS)
- utc_timestamp
(Optional) Display the timestamp in Coordinated Universal Time (UTC) format.
Required Privilege Level
view
List of Sample Output
show accounting recordsshow accounting records utc-timestamp
show accounting records (Since Time)
show accounting records (Filter Profile)
show accounting records (Destination Class Profile)
show accounting records (Routing Engine Profile)
Output Fields
Table 1 lists the output fields for the show accounting records command. Output fields are listed in the approximate order in which they appear.
Table 1: show accounting records Output Fields
Field Name | Field Description |
|---|---|
Timestamp | Date and time of sample. |
Interface Name | (For interface profiles) Name and SNMP index of the interface for the accounting profile. |
Filter name | (For filter profiles) Name of the filter. |
Interfaces | (For filter profiles) Name of the interfaces for the accounting profile. |
Counter name | (For filter profiles) Name of the counter. |
Destination Class | (For destination class profiles) Name of the destination class. |
Input Bytes | (For interface profiles) Input bytes. |
Output Bytes | (For interface profiles) Output bytes. |
Input Packets | (For interface profiles) Input packets. |
Output Packets | (For interface profiles) Output packets. |
Input Unicast Packets | (For interface profiles) Input unicast packets. |
Output Unicast Packets | (For interface profiles) Output unicast packets |
Input Multicast Packets | (For interface profiles) Input packets arriving by multicast. |
Output Multicast Packets | (For interface profiles) Output packets sent by multicast. |
Unsupported Protocol Packets | (For interface profiles) Packets for unsupported protocols. |
Input Errors | (For interface profiles) Generic input error packets. |
Output Errors | (For interface profiles) Generic output error packets. |
Host Name | (For Routing Engine profiles) Hostname for the router. |
Date | (For Routing Engine profiles) Date, in YYYYMMDD format. |
Time of Day | (For Routing Engine profiles) Time of day, in HHMMSS format. |
Uptime | (For Routing Engine profiles) Time since the last reboot, in seconds. |
Average CPU Load (1 min) | (For Routing Engine profiles) Average system load over the last 1 minute. |
Average CPU Load (5 min) | (For Routing Engine profiles) Average system load over the last 5 minutes. |
Average CPU Load (15 min) | (For Routing Engine profiles) Average system load over the last 15 minutes. |
Sample Output
show accounting records
user@host> show accounting records if_profTimestamp: 2000-10-03-00:30:41, Interface Name: fxp0 (SNMP Index 1)
32663634 Input Bytes
3487515 Output Bytes
158000 Input Packets
33296 Output Packets
158000 Input Unicast Packets
33296 Output Unicast Packets
0 Input Multicast Packets
0 Output Multicast Packets
0 Unsupported Protocol Packets
0 Input Errors
0 Output Errors
show accounting records utc-timestamp
user@host> show accounting records if_prof utc_timestamp Timestamp: 2001-06-18-18:01:00, Interface Name: fxp0 (SNMP Index 1)
32663634 Input Bytes
3487515 Output Bytes
158000 Input Packets
33296 Output Packets
158000 Input Unicast Packets
33296 Output Unicast Packets
0 Input Multicast Packets
0 Output Multicast Packets
0 Unsupported Protocol Packets
0 Input Errors
0 Output Errors
show accounting records (Since Time)
user@host> show accounting records if_prof since
2000-10-03-00:10:41 Timestamp: 2000-10-03-00:30:41, Interface Name: fxp0 (SNMP Index 1)
32663634 Input Bytes
3487515 Output Bytes
158000 Input Packets
33296 Output Packets
158000 Input Unicast Packets
33296 Output Unicast Packets
0 Input Multicast Packets
0 Output Multicast Packets
0 Unsupported Protocol Packets
0 Input Errors
0 Output Errors
show accounting records (Filter Profile)
user@host> show accounting records filter_profile Timestamp: 2000-10-03-00:30:41, Filter Name: ap_filter, Interfaces: fxp0.0
Counter Name: c1
2440 Packets
223509 Bytes
show accounting records (Destination Class Profile)
user@host> show accounting records dcu1 Timestamp: 2000-10-03-00:30:41, Interface: so-2/0/0.0, Destination Class: gold
0 Packets
0 Bytes
show accounting records (Routing Engine Profile)
user@host> show accounting records rep1 Timestamp: 2000-10-03-00:30:41 Host Name: andro Date: 20010618 Time of Day: 183130 Uptime: 88260 Average CPU Load (1 min): 0.000000 Average CPU Load (5 min): 0.000000 Average CPU Load (15 min): 0.000000
