It is possible to run glance from a script. See "man glance" for the command line options.
Unfortunately it will not do just one iteration but it is quite easy to fish out the figures you want and they are more reliable than those from "vmstat".
One example: The "-m" switch is the same as typing "m" in interactive mode. In my version the "-iterations 0" actually becomes "-iterations 2" because of a limitiation in "glance". The "-f myglancelog" writes the output to a file called "myglancelog". the "1>/dev/null" disposes of the normal screen output.
BTW. For cpu utilisation I'd use "sar".
If you are doing serious realtime monitoring rather than the odd snapshot there are pay products from HP.
I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical.
and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization.
wheather 99% is real memory... (1 Reply)
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
dear all,
kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain
i have a server which has 32GB RAM
Total Memory = 33423360 kb
Free Memory = 4172568 kb
Utilized Memory = 29250792 kb
Memory Utilization... (2 Replies)
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Hi,
Is it possible to obtain physical memory and swap memory available in HP-UX server.
I tried using "top" command but i'm not able to grep the memory part exclusively...
Thanks.... (4 Replies)
Hi Unix Gurus i am somewhat new to unix scripting so need your help to
create a script as below.
# This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1
# minute for the specific process. the script would... (0 Replies)
Hi,
Please let me know what are all the reasons in increase in the Memory utilisation of ux servers, and the solutions to face those issues caused by the memory utilisation (memeory Likage)?
Thanks in Advance!
regards,
kishan (2 Replies)
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)