show accounting profile
Syntax
- show accounting profile profile-name
Release Information
Command introduced before JUNOS Release
7.4.
Description
Display accounting profile information.
Options
profile-name — Name of the accounting profile.
Required Privilege Level
view
List of Sample Output
show accounting profile (Interface)show accounting profile (Filter)show accounting profile (Destination Class)show accounting profile (Routing Engine)Output Fields
Table 1 lists the output fields
for the show accounting profile command. Output fields
are listed in the approximate order in which they appear.
Table 1: show accounting profile Output Fields
Field Name
|
Field Description
|
Profile
|
Name of the accounting profile.
|
Sampling interval
|
Configured interval, in minutes,
for statistic collection.
|
Profile Usage Count
|
Number of items configured for
collecting accounting statistics.
|
file information
|
Information about the accounting
profile log, including:
- File—Name of accounting profile log. If
no name is explicitly provided, the name of the accounting profile
is used. All statistics files are placed in the /var/log directory.
- maximum size—Configured size. When the
size is exceeded, the log file closes and a new log file opens.
- maximum number—Configured maximum number
of log files.
- bytes written—Number of bytes written to
the log file.
|
Transfer Interval
|
Length of time (in minutes) the
file remains open, receiving statistics before it is closed, transferred,
and rotated. When either the time or the file size is exceeded, the
file is closed and a new one opened, whether or not a transfer site
is specified.
|
Next Scheduled Transfer
|
Time at which the next transfer
occurs.
|
Column Labels
|
Names of sampled statistics. This
list varies depending on the configuration:
- profile-layout—List of data fields reported,
in the order they appear in the output.
- epoch-timestamp—Number of seconds since
the epoch.
- interfaces—(For interface, filter, and
destination class profiles) Name of the interfaces on which the filter
is applied.
- filter-name—(For filter profiles) Name
of the filter.
- counter-name—(For filter profiles) Name
of the counter.
- packet-count—(For filter and destination
class profiles) Number of packets for the counter.
- byte-count—(For filter and destination
class profiles) Number of bytes for the counter.
- input-bytes—(For interface profiles) Input
bytes.
- input-errors—(For interface profiles) Generic
input error packets.
- input-multicast—(For interface profiles)
Input packets arriving by multicast.
- input-packets—(For interface profiles)
Input packets.
- input-unicast—(For interface profiles)
Input unicast packets.
- output-bytes—(For interface profiles) Output
bytes.
- output-errors—(For interface profiles)
Generic output error packets.
- output-multicast—(For interface profiles)
Output packets sent by multicast.
- output-packets—(For interface profiles)
Output packets.
- output-unicast—(For interface profiles)
Output unicast packets.
- no-proto—(For interface profiles) Packets
for unsupported protocol.
- snmp-index—(For interface profiles) SNMP
index.
- destination-class-name—(For destination
class profiles) Configured destination class name.
- host name—(For Routing Engine profiles)
Hostname for the router.
- date-yyyymmdd—(For
Routing Engine profiles) Date.
- timeofday-hhmmss—(For
Routing Engine profiles) Time of day.
- uptime—(For Routing Engine profiles) Time
since the last reboot, in seconds.
- cpu1min—(For Routing Engine profiles) Average
system load over the last 1 minute.
- cpu5min—(For Routing Engine profiles) Average
system load over the last 5 minutes.
- cpu15min—(For Routing Engine profiles)
Average system load over the last 15 minutes.
|
Interface name
|
Name of the interface configured
for this accounting profile.
|
Filter name
|
Name of the filter configured for
this accounting profile.
|
routing-engine-stats
|
Routing Engine accounting profile.
|
Next Scheduled Collection
|
Time for next collection of statistics
for the named interface.
|
Sample Output
show accounting profile (Interface)
user@host> show accounting profile if_profProfile if_prof
Sampling interval: 1 minute(s), Profile Usage Count: 2
File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 2196
Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:45
Column Labels:
profile-layout
epoch-timestamp
interface-name
snmp-index
input-bytes
output-bytes
input-packets
output-packets
input-unicast
output-unicast
input-multicast
output-multicast
no-proto
input-errors
output-errors
Interface Name Next Scheduled Collection
fxp0.0 2001-06-18-18:00:30
fxp0 2001-06-18-18:01:00
show accounting profile (Filter)
user@host> show accounting profile filter_profile Profile filter_profile
Sampling interval: 1 minute(s), Profile Usage Count: 0
File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 822
Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46
Column Labels:
profile-layout
epoch-timestamp
interfaces
filter-name
counter-name
packet-count
byte-count
Filter Name Next Scheduled Collection
myfiltero 2001-06-03-04:32:59
show accounting profile (Destination Class)
user@host> show accounting profile dcu1
Profile dcu1
Sampling interval: 1 minute(s), Profile Usage Count: 0
File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901
Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46
Column Labels:
profile-layout
epoch-timestamp
interface-name
destination-class-name
packet-count
byte-count
Interface Name Next Scheduled Collection
so-0/3/3 2001-06-03-04:34:00
show accounting profile (Routing Engine)
user@host> show accounting profile rep1 Profile rep1
Sampling interval: 1 minute(s), Profile Usage Count: 1
File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901
Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46
Column Labels:
profile-layout
epoch-timestamp
hostname
date-yyyymmdd
timeofday-hhmmss
uptime
cpu1min
cpu5min
cpu15min
Interface Name Next Scheduled Collection
routing-engine-stats 2001-06-18-18:02:31
Updated: 2009-04-09