
Using Technician Interface Scripts
2-466
memory
Displays the number and percentage of memory used by all processes on the router. The
output can be tailored to only display memory usage for a particular process or a particular
slot by using the options described below.
show process memory
<process>
[sample
<seconds>
<repeat>
] [
<slot>
]
Sample Display – show process memory total
Total Memory Use Statistics
---------------------------
Slot Max Free Used %Used
---- -------- -------- -------- -----
2 2839760 2111768 727992 25
3 2839760 2111608 728152 25
4 2839760 1994088 845672 29
process Specifies the process for which you want to view memory
statistics. Specify “all” to display memory statistics for all
processes running on the router. Specify “total” to display only
memory statistic totals. For information on how to obtain a list
of available processes, refer to the show process list
command later in this section.
sample <seconds> <repeat> Periodically samples and displays memory usage statistics. The
mandatory <seconds> argument indicates the time interval
between samples. The manadatory <repeat> argument indicates
the number of times to sample memory usage. If you use
sampling, the values displayed represent the amount of memory
usage for the interval last sampled.
The minimum sample interval is 5 seconds. If you specify a
shorter interval, the command automatically substitutes the
minimum interval of 5 seconds.
If you choose not to use sampling, the values displayed
represent the total memory usage since slot boot time.
slot Limits the display statistics to the specified slot.
Kommentare zu diesen Handbüchern