Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Count your systems libraries

Counting the number of libraries on your system can help you spot unexpected activity.

You Can View User Feedback To This Tip

Here's a simple CL program to count and print the number of libraries on your system. You should run this as part of your monthly security auditing and track in a monthly security audit spreadsheet. It can help you spot unexpected activity and document increased system usage.

  PGM
DSPOBJD    OBJ(*ALL) OBJTYPE(*LIB) OUTPUT(*OUTFILE) +  
             OUTFILE(QTEMP/#OFLIBS)  
RUNQRY     QRYFILE((QTEMP/#OFLIBS)) OUTTYPE(*PRINTER) +
             OUTFORM(*SUMMARY)
ENDPGM 
USER FEEDBACK TO THIS TIP

  • Just an FYI, the 'Back door to get command line access' trick will only work on OS/400 V4R4 and below. The V4R5 implementation has removed this back door. —Dave Barth


Dig Deeper on iSeries system performance and monitoring

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close