VERIFIED SOLUTION i
X

Monitoring memory/CPU utilization of Vault's components on Solaris

UPDATED: April 18, 2017


Attached is the shell script that upon execution creates a text file with the name 'Loader_Stats.txt' and logs memory and CPU utilization of Vault loader (e2loaderd) in it every five seconds. To stop the logging of information in text file, script execution needs to be stopped.

Content of script is as follows:
while [ 1 ]; do
date >> Loader_Stats.txt;
prstat -s rss -p `pgrep e2loaderd` -c 0 1 >>
Loader_Stats.txt;
sleep 5
done


Same script can be used to get details of other Vault's components. For example, to log details of Vault Server (e2serverd), e2loaderd need to be replaced with e2serverd in the script.

To change the logging interval or output file name/path, required changes should be made in the script.

Environment Details

Operating System: Solaris

Downloads

  • No Downloads