S
C
M
YSTEM
ONFIGURATION AND
SHOW MEMORY
show memory
Overview
This command displays the memory used by each process that is currently running
For information on filtering and saving command output, see the
with AlliedWare Plus" Feature Overview and Configuration
Syntax
show memory [sort {size|peak|stk}]
Mode
User Exec and Privileged Exec
Example
To display the memory used by the current running processes, use the command:
awplus#
Output
Figure 6-7:
awplus#show memory
RAM total: 824680 kB; free: 635032 kB; buffers: 20272 kB
user processes
==============
pid name
1443 squid
1441 squid
1440 squid
1439 squid
1438 squid
1226 imi
1228 hsl
2156 imish
1221 nsm
1296 ospfd
1293 bgpd
1291 pimd
1283 ripd
...
C613-50186-01 Rev B
C
ONITORING
OMMANDS
Parameter
sort
show memory
Example output from show memory
mem%
size(kB)
1.9
16408
1.9
16416
1.9
16416
1.9
16416
1.9
16152
1.3
10968
1.2
10512
1.0
8856
1.0
9008
0.8
6936
0.8
7264
0.8
6600
0.8
6640
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
Changes the sorting order for the list of processes. If you do not
specify this, then the list is sorted by percentage memory
utilization.
size
Sort by the amount of memory the process is
currently using.
peak
Sort by the amount of memory the process is
currently using.
stk
Sort by the stack size of the process.
peak(kB)
data(kB)
299768
23568
299776
23568
299776
23568
299776
23568
298928
23568
23104
2760
692944
608160
158456
75904
21696
1968
19144
1016
19184
1168
20992
2944
18328
944
"Getting Started
Guide.
stk(kB)
virt(kB)
264
299768
272
299776
272
299776
272
299776
264
298864
160
22912
144
631856
160
94696
152
21632
144
19080
152
19120
144
20928
152
18256
244