In order to know kernel memory usage issue kstat | grep pp_kernel which will return output as 8k pages.
Example:
$kstat | grep pp_kernel
pp_kernel 83613
Note that the size displayed here in bytes.
On sql*plus you can convert this size into megabytes.
SQL> SELECT 83613*8/1024 "MEMORY IN MB" FROM DUAL;
MEMORY IN MB
------------
653.226563
Current Statistics:
To know about active process statistics along with memory usage use,
# prstat -a -v
Virtual Memory Statistics
In order to get an idea about virtual memory statistics use
# vmstat 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 -- -- in sy cs us sy id
0 0 0 4113216 483876 38 273 6 0 0 0 1 7 -0 0 0 569 986 384 1 1 99
Here 5 indicate after 5 seconds statistics will be shown.
Related Documents
Memory Usage in Linux OS. First part of the document
How to change/configure IP Address on Linux/ Fedora /Ubuntu
Copy files between Unix and Windows with rcp
Screen -A very useful unix tool to work with remote system
Different ways to take Screenshot on Linux
How to change the hostname in Linux
No comments:
Post a Comment