show accounting profile
Syntax
show accounting profileprofile-nameDescription
Display accounting profile information.
Options
profile-name—Name of accounting profile.Privilege Level
Output Fields
Profile—Name of accounting profile.
Sampling interval—Configured interval, in minutes, for statistic collection. The minimum interval is 1 minute. The range is from1through2880minutes. The default is30 minutes.
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/logdirectory.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 next transfer occurs.
Column Labels—Names of sampled statistics. List varies depending on 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, in YYYMMDD format.timeofday-hhmmss—(For Routing Engine profiles) Time of day, in HHMMSS format.uptime—(For Routing Engine profiles) Time since 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 interfaces configured for this accounting profile.
Filter Name—Name of filter configured for this accounting profile.
Routing Engine stats—Routing Engine accounting profile.
Destination class Name—Name of destination class configured for this accounting profile.
Next Scheduled Collection—Time for next collection of statistics for the named interface.Sample output: show accounting profile
user@host>show accounting profileif_profProfile if_profSampling interval: 1 minute(s), Profile Usage Count: 2File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 2196Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:45Column Labels:profile-layoutepoch-timestampinterface-namesnmp-indexinput-bytesoutput-bytesinput-packetsoutput-packetsinput-unicastoutput-unicastinput-multicastoutput-multicastno-protoinput-errorsoutput-errorsInterface Name Next Scheduled Collectionfxp0.0 2001-06-18-18:00:30fxp0 2001-06-18-18:01:00Sample output: show accounting profile (for filter)
user@host>show accounting profile filter_profileProfile filter_profileSampling interval: 1 minute(s), Profile Usage Count: 0File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 822Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46Column Labels:profile-layoutepoch-timestampinterfacesfilter-namecounter-namepacket-countbyte-countFilter Name Next Scheduled Collectionmyfiltero 2001-06-03-04:32:59Sample output: show accounting profile (for destination class)
user@host>show accounting profile dcu1Profile dcu1Sampling interval: 1 minute(s), Profile Usage Count: 0File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46Column Labels:profile-layoutepoch-timestampinterface-namedestination-class-namepacket-countbyte-countInterface Name Next Scheduled Collectionso-0/3/3 2001-06-03-04:34:00Sample output: show accounting profile (for Routing Engine)
user@host>show accounting profile rep1Profile rep1Sampling interval: 1 minute(s), Profile Usage Count: 1File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46Column Labels:profile-layoutepoch-timestamphostnamedate-yyyymmddtimeofday-hhmmssuptimecpu1mincpu5mincpu15minInterface Name Next Scheduled Collectionrouting-engine-stats 2001-06-18-18:02:31