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

Monitor the number of active users on the system

The command "Users" enables you to explore the iSeries command DSPSYSSTS.

The new command "Users" enables you to explore the iSeries command DSPSYSSTS in order to make it informative about the number of users logged on to the system.

When you run the command "USERS", you'll get information regarding the number of users signed on to the system. Additionally, it gives you the total number of batch jobs running in the system and the disk usage of the system.

Create a duplicate object of the command DSPSYSSTS in your library. Change the default of the newly created duplicate object to *BASIC to change the assistance level.


 
CRTDUPOBJ OBJ(DSPSYSSTS) FROMLIB(QSYS) OBJTYPE(*CMD) TOLIB(PROD)
NEWOBJ(USERS)

CHGCMDDFT CMD(PROD/USERS) NEWDFT('ASTLVL(*BASIC)') 

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

The Best Web Links: tips, tutorials and more.

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

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close