Problem solve Get help with specific problems with your technologies, process and projects.

Who's using all the CPU?

Here's an easy way to see who's using all the CPU.

Ever want an easy way to see who's using all the CPU? This tip will give you a list of all users using more than 1% CPU -- in order of greatest culprit down to the least. This information will be displayed on your screen with the use of a command.

CRTDUPOBJ OBJ(WRKACTJOB) FROMLIB(QSYS) OBJTYPE(*CMD) TOLIB(PROD) NEWOBJ(HOG)

CHGCMDDFT CMD(PROD/HOG) NEWDFT('cpupctlmt(1) seq(*cpupct)')

Make sure that the library you create has the object in your library list. Once you've done the above, type HOG at a command line and hit F10. No more doing WRKACTJOB and searching for the user, or moving over to the CPUPCT and hitting F16.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.


Dig Deeper on Performance

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close