sys showmem
Example
View the memory allocation of a system.
admin:/diagnose>sys showmem MemType : id name size partition id total used totalMax -- -------------------- ---------- ---------- -------- ---- -------- 01 32ByteMemPool 32 231 69975 44 348503 02 64ByteMemPool 64 232 9216 0 9216 03 128ByteMemPool 128 233 1024 0 1024 04 256ByteMemPool 256 234 85152 0 363680 05 512ByteMemPool 512 235 860 0 860 06 1kMemPool 1024 236 42 0 42 07 2kMemPool 2048 237 3409 0 3409 08 3kMemPool 3072 238 5526 0 5526 09 4kMemPool 4096 239 14474 0 14474 10 8kMemPool 8192 240 24 0 24 11 10kMemPool 10240 241 56 0 56 12 16kMemPool 16384 242 4 0 4 13 20kMemPool 20480 243 25 0 25 14 32kMemPool 32768 244 178 0 178 15 64kMemPool 65536 245 1516 44 1516 16 128kMemPool 131072 246 64 0 64 17 256kMemPool 262144 247 1 0 1 18 512kMemPool 524288 248 54 2 54 19 790kMemPool 808960 249 3 0 3 20 1MMemPool 1048576 0 0 0 0 21 2MMemPool 2097152 0 0 0 0 22 10MMemPool 10485760 250 2 0 2 RsvMemType : id name rsvInitPoolType, [getRsvMemStructNum()], [getRsvMemStructSize()], rsvMemStructSize, usedStructNum, MaxNum ExtendNum -- ---------------------------------------- --------------- ---------------------- ---------------------- ---------------- ------------- ------ --------- 01 RsvMemType: SysTask 8 200 0 3072 0 5526 0 02 RsvMemType: SysCfgTask 8 1024 0 3072 0 1024 0 03 RsvMemType: SysRpcTask 7 2048 0 2048 0 3409 0 04 RsvMemType: SysCmd 4 69632 0 256 0 363680 348160 05 RsvMemType: SysCfgCmd 4 15360 0 256 0 15360 0 06 RsvMemType: SysCmd 8 1000 0 3072 0 5526 0 07 RsvMemType: SysEvent 1 69632 0 32 0 348503 348160
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
MemType | Reserved memory pool type. |
id | Reserved memory pool ID. |
name | Reserved memory pool name. |
size | Reserved memory pool size. |
partition id | ID of the partition corresponding to the reserved memory pool. |
total | Number of reserved memory pools. |
used | Number of reserved memory pools that have been used. |
totalMax | Maximum number of reserved memory pools. |
RsvMemType | Type of the resource using reserved memory. |
id | Resource ID. |
name | Resource name. |
rsvInitPoolType | ID of the memory pool used by a resource. |
[getRsvMemStructNum()] | Estimated number of memories consumed by resources. |
[getRsvMemStructSize()] | Size of memory consumed by resources. |
rsvMemStructSize | Size of memory consumed by resources. |
usedStructNum | Number of memories that have been consumed by resources. |
MaxNum | Maximum number of memories that can be consumed by resources. |
ExtendNum | Number of extra memories that can be consumed after reserved memory is used up. |