1832284 Members
1782 Online
110041 Solutions
New Discussion

CPU & Memory Utilization

 
Eric Jacklin
Regular Advisor

CPU & Memory Utilization

Hi team,

We have a Measureware,OVA and SAR is running on our servers.I would like to create graph of cpu and memory utilization for the last one month.So Would you please help me how should i achive this.

OS : 11.11
Server Model : RP7400
10 REPLIES 10
Geoff Wild
Honored Contributor

Re: CPU & Memory Utilization

Use extract....

/opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'Myserver performance report' gwild@mydomain.com >/dev/null 2>&1

# cat /home/gwild/zgbltemplate
REPORT "MWA Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_CPU_TOTAL_UTIL
GBL_CPU_SYS_MODE_UTIL
GBL_CPU_USER_MODE_UTIL
GBL_CPU_SYSCALL_UTIL
GBL_CPU_INTERRUPT_UTIL
GBL_PRI_QUEUE
GBL_CPU_CSWITCH_UTIL
GBL_SWAP_SPACE_UTIL
GBL_DISK_UTIL_PEAK
GBL_DISK_SUBSYSTEM_QUEUE
GBL_MEM_UTIL
GBL_MEM_CACHE_HIT_PCT
GBL_MEM_PAGEIN_RATE
GBL_MEM_PAGEOUT_RATE
GBL_MEM_SWAPIN_RATE
GBL_MEM_SWAPOUT_RATE
GBL_MEM_QUEUE
GBL_NET_PACKET_RATE
GBL_NET_OUTQUEUE
GBL_NETWORK_SUBSYSTEM_QUEUE


I just cut and paste into Excel, tools, text to columns, delimited by |


Note: Instead of today - you can specifically set dtes.

man extract for more info


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
whiteknight
Honored Contributor

Re: CPU & Memory Utilization

Jit's

Alternatively you can install OVPM (or Perfview) where you can generate the graph of cpu and memory utilization on the fly.

WK

Problem never ends, you must know how to fix it
Eric Jacklin
Regular Advisor

Re: CPU & Memory Utilization

Hi,

This is a good solution but it did not help me much becuase when i tried to run the command there are lot of errors i got but not the report.Any other alternate.

regards,

Re: CPU & Memory Utilization

>> This is a good solution but it did not help me much becuase when i tried to run the command there are lot of errors i got but not the report

Care to tell us what the errors actually were??? Or are we just supposed to stare into our crystal balls?

Duncan

I am an HPE Employee
Accept or Kudo
Eric Jacklin
Regular Advisor

Re: CPU & Memory Utilization

I have tried the below mention command

/opt/perf/bin/extract -xp -r /tmp/mwa -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'Myserver performance report' gwild@mydomain.com >/dev/null 2>&1

Command went fine but the file did not get generated.
Pete Randall
Outstanding Contributor

Re: CPU & Memory Utilization

The file probably got mailed to gwild@mydomain.com.


Pete

Pete
TTr
Honored Contributor

Re: CPU & Memory Utilization

Now Geoff needs to send back and excel spreadsheet...
Eric Jacklin
Regular Advisor

Re: CPU & Memory Utilization

Hi,

Is there any otherway ?

Eric Jacklin
Regular Advisor

Re: CPU & Memory Utilization

How to install Perfview and how to get that software ?

Yogeeraj_1
Honored Contributor

Re: CPU & Memory Utilization

hi,

can you try to run the command below:

/opt/perf/bin/extract -xp -r //zgbltemplate -g -b today 00:00 -e today 23:59

The file xfrdGLOBAL.asc should normally be generated in the current directory.

revert.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)