Home > AS/400 News > WRKSYSACT (Work with System Activity)
AS/400 News:
EMAIL THIS

WRKSYSACT (Work with System Activity)

By Searh40.com
01 Aug 2006 | Search400.com

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

Search400.com members David Coady, Matt Radatti and Carter Chamberlain had nothing but good things to say about the WRKSYSACT (Work with System Activity) command.

David said you can't go past the WRKSYSACT command when your CPU utilization starts going through the roof. "I have found WRKSYSACT the best way to see what is grinding your system to a halt and from the screen that is displayed, you can go directly into various jobs to see what they are doing and to manage them accordingly. Another plus is that you have one point of administration --no one else can use this command while it is in use."

Matt said the display allows him to view and collect performance data in real time. This data is reported for any selected job or task that is currently active on the system. He uses the command when there seems to be a slowdown in system response time, and it will tell him the job or task that is currently taken up much of the CPU. He said he finds jobs that are looping this way along with runaway queries.

Carter further said, "WRKSYSACT will display some of the same 'stuff' that you will see if you WRKACTJOB and sort by CPU%, but with what I consider to be several significant differences."

  • WRKSYSACT shows both tasks and jobs, whereas WRKACTJOB will only show you the latter.
  • WRKSYSACT shows you, in a partitioned system, how many CPUs are on the physical system and, more important, how many are currently allocated to the partition you are in.
  • WRKSYSACT displays, for the elapsed time period you are working in, the average, minimum and maximum CPU utilization percentages for the time period.
  • WRKSYSACT lets you see the CFINT task and what it's up to.

Here are a few tips for using WRKSYSACT:

  • Tapping WRKSYSACT to collect performance data
    Anyone who has used the WRKSYSACT command can tell you how useful it is to identify jobs in real time that are using too many system resources, usually CPU. What you may not know is that you can also run WRKSYSACT in batch to collect data about how well your system is performing.
  • New option within the WRKSYSACT command
    In the WRKSYSACT command (starting in V5R2) there is a new option, "6 = wait detail". What does this do? Search400.com expert John Blenkinsop explains.
  • Slow system performance
    If your system performance is very slow in an external application that seems to be doing a high number of AuxIO operations, how can you determine where the bottleneck is? Use the WRKSYSACT command.

>> Return to list of commands.



Tags: iSeries programming commandsVIEW ALL TAGS

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


RELATED CONTENT
iSeries programming commands
Date calculation commands for AS/400
Monitoring escape messages and using RCVMSG for diagnostic messages
iSeries application display subfiles with other program windows
Creating a user profile from a file
DSPPGMREF (Display Program Reference)
DSPPGM (Display Program)
DSPFD (Display File Description)
DSPPTF (Display PTF)
Top 10 iSeries commands
WRKACTJOB (Work with Active Jobs)
iSeries programming commands Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Quiz: iSeries (AS/400) Commands  (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



iSeries Application Development: CL, COBOL, RPG, VB, ILE, Java
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