Home > AS/400 Tips > iSeries administrator tips > Replace Performance Monitor commands in OS/400 V5R1
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Replace Performance Monitor commands in OS/400 V5R1


Joe Hertvik
06.24.2002
Rating: -3.43- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


When IBM released OS/400 V5R1, it replaced OS/400's Performance Monitor feature with a new Collection Services function that is configured through the Management Central capability of iSeries Operations Navigator. This means that many shops migrating to V5R1 must learn to put aside the old green-screen commands that start, stop, end, add, and change performance collection data under the Performance Monitor, and opt instead for the mostly graphical configuration capabilities that come with Collection Services.

There's just one problem with this setup: many times you still need commands or APIs to manage performance collections in the OS/400 startup program, batch jobs, on the command line, and in the OS/400 job scheduler. However, the old batch commands associated with Performance Monitor are not supported in V5R1; these commands can only be used in V5R1 for compiling CL programs for use in pre-V5R1 OS/400 versions, and IBM hasn't provided equivalent replacement commands dealing with Collection Services. Valuable commands like Start Performance Monitor (STRPFRMON), End Performance Monitor (ENDPFRMON), Start Performance Collection (STRPFRCOL), End Performance Collections (ENDPFRCOL), and Work with Performance Collections (WRKPFRCOL) are heavily used in pre-V5R1 OS/400 shops, and many organizations are looking for their natural replacements as they update their machines.

While IBM didn't replace the Performance Monitor commands per se, IBM does provide some Management Central APIs for working with Collection Services functions from a command line or inside a program. You can find a list of these APIs by going to the V5R1 iSeries Information Center and opening the Programming->CL and APIs->APIs->APIs by category dropdowns. This brings up an API category list, which has a hot link to the Management Central APIs. Clicking on this link brings you to a page that describes the various APIs IBM provides to manage some Collection Services functionality. Most of these APIs can be called either through OPM or ILE and the following APIs are available:

-- Change System Collector Attributes (QYPSCSCA in OPM, QypsChgSysCollectorAttributes in ILE), which allows you to change system or global collection attributes.

-- Cycle Collector (QYPSCYCC in OPM, QypsCycleCollector in ILE), which closes current collector objects and opens new collector objects.

-- End Collector (QYPSENDC in OPM, QypsEndCollector in ILE), which ends a specific collector.

-- Retrieve System Collector Attributes (QYPRSRSCA in OPM, QypsRtvSysCollectorAttributes in ILE), which retrieves the system collection attributes including the collection interval, the collection storage library name, the retention period, cycle time, and the currently running definition, if Collection Services is currently running.

-- Start Collector (QYPSSTRC in OPM, QypsStartCollector in ILE), which starts a specific performance collector.

-- There are also two Performance Management/400 APIs for those people who have installed the PM/400 software. These APIs are End PM/400 (Q1PENDM), which end PM/400 jobs; and Retransmit PM/400 Data (Q1PRTRN) which marks previously transmitted PM/400 data as untransmitted data, allowing those records to be transmitted again.

While the Management Central API functionality may not be as all-encompassing as the OpsNav Collection Service management features, these APIs may help ease V5R1 and V5R2 migration woes for shops who have built a performance measurement infrastructure based on green-screen Performance Monitor commands.

-------------------------
About the author: Joe Hertvik is an IT professional and freelance writer who has been working with OS/400 since the days of the System/38 in the mid-1980s. Joe can be reached at jhertvik@midrangeserver.com.

========================
MORE INFORMATION
========================


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries system performance and monitoring
Translating Linux for IBM i admins: Working with jobs and networking
Database performance comparisons on IBM i
How to: Monitoring job activity on the AS/400
Performance tuning for IBM i: The basics and beyond
How to: Reduce the percentage of ASP used on the AS/400
Detecting system changes made by outside IP address
AS/400 system values quiz
Checking on System i disk space requires creating a new command: XRTVSYSSTS
Drive space management commands
Viewing netstat information

Integrated File System (IFS)
How to view source files in the library
User being locked out by Windows share on iSeries
Incorrect CCSID on FTP connection from AS/400 to Windows
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Transfer files from one environment to another without closing all other AS/400 sessions
Securing the integrated file system on IBM System i
Generically send a text file from the IFS via FTP
Setting ILE and C+++ compilers to runtime
Backing up PDFs within the IFS on AS/400

iSeries administrator tips
Researching high availability for your System i shop
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition
The iSeries Blog has a new home on IT Knowledge Exchange

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CIW  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts