Are you asking for a report of each USER's cpu utilization per time
period (which would be INTERIM USER) or of the entire VM LPAR (which
would be INTERIM LPAR)?  The process is pretty much the same.

1) Gather monitor data.  See the LINMON package as an example.  Hint:
Use some form of automation to shutdown and restart LINMON after the
23:59 monitor data is written.  "MONWRITE CLOSE" is subject to time
drift.   You do not want your monitor data crossing midnight because
PERFKIT does not like that.

2) Reduce the monitor data using PERFKIT BATCH.

Contents of file LPARDATA MASTER A:

SETTINGS LPARDATA SETTINGS A
REPORTS LPARDATA REPORTS A  
LISTING LPARDATA LISTING X  comment: X is a r/w workdisk/workspace

Contents of the file LPARDATA SETTINGS A:

FC SETTINGS REPFILID LPARDATA LISTING X  
FC SETTINGS INTERIM 1 MIN                
FC MONCOLL RESET CLEAR                   

Contents of file LPARDATA REPORTS:

INTERIM LPAR

Command to create report        

PERFKIT BATCH LPARDATA MASTER A DISK monitordatafn monitordataft
monitordatafm

This generates the report LPARDATA LISTING which is minute by minute
reports.

You can then use PIPES to extract the data you are interested in.  For
example, I pipe the LISTING file, do a "joincont not leading /1/ keep"
to get every page into one record, do a "strfind /1FCX126/" to keep only
the report pages, and then use specs to pull the fields I want.   

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Frank M. Ramaekers
Sent: Thursday, October 15, 2009 2:38 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: PERFKIT: CPU usage by time intervals

I'm in the same spot and have a problem open with IBM.  Normally it's
suppose to report the CPU by an interval, but there is a table that's
filling up when the MONITOR INTERVAL is set to or defaulted to 1 min.
They have advised me to use 2 min.

---- abbreviated problem conversations ----
The problem with PROCLOG only containing mean lines and not details was 
recently uncovered internally.  The problem appears to be that the      
output has exceeded the REDISP value, which defaults to 120. The maximum
is 720 lines.  To find the current value, issue the command             
.                                                                       
     FC MONCOLL REDISP QUERY                                            
.                                                                       
to change the REDISP value, issue the command                           
.                                                                       
     FC MONCOLL REDISP 720                                              
.                                                                       
to set the maximum number of lines to be displayed.                     
.                                                                       
Note: You may need to increase the size of the PERFSVM virtual storage
if you increase the REDISP to its maximum.  This is because those lines 
have to live in virtual storage along with everything else PERFKIT is   
doing.                                                                  
.                                                                       
Still investigating your other concerns.  Will let you know what we     
find.                                                                   
------------------------------------------------------------------------
----
Sorry.  There is an alternative to increasing the REDISP setting. You   
can also increase the CP MONITOR interval, e.g. from 1 minute to 2      
minutes.  This seems to have the same result as changing the REDISP     
value.  We are working on a fix to this particular problem, though there
is no APAR open at this time.                                           
------------------------------------------------------------------------
----
The REDISP default/values are as Mike stated.  Consider that value as to
the number of entries allowed in this 'table', which resides in the  
vstore of the PERFSVM machine.  So if you change the monitor interval   
from 1 to 2 minutes, you will have 1/2 the amount of entries in the     
table in the same amount of time.  I think there is consideration of    
a possible increase in this table size for future work.         

Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76710
        

 


-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Shimon Lebowitz
Sent: Thursday, October 15, 2009 11:12 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: PERFKIT: CPU usage by time intervals

Hi,
Is there any way in batch PERFKIT to get a report
that shows CPU usage broken down by periods?

I tried to do an INTERIM CPU and got:
FCXPRT374E INTERIM period not available for CPU

Thanks,
Shimon

-- 
************************************************************************
Shimon Lebowitz                mailto:shim...@iname.com
VM System Programmer           .
Israel Police National HQ.     
Jerusalem, Israel              phone: +972 2 542-9877  fax: 542-9308
************************************************************************

_____________________________________________________

This message contains information which is privileged and confidential
and is solely for the use of the

intended recipient. If you are not the intended recipient, be aware that
any review, disclosure,

copying, distribution, or use of the contents of this message is
strictly prohibited. If you have

received this in error, please destroy it immediately and notify us at
privacy...@ailife.com.

Reply via email to