z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Displaying process limits

z/OS UNIX System Services Planning
GA32-0884-00

You can use any of the following to display process limits:
  • ps shell command
  • ulimit shell command
  • D OMVS,LIMIT operator command
  • D OMVS,OPTIONS
  • MEMLIMIT
  • ASSIZEMAX
You can display the RACF® limit using the following RACF command:
LU user NORACF OMVS

For more information about how to obtain security information for users, see Obtaining security information about users. You can obtain the information if the security administrator has set up field-level access for users for the OMVS segment of the RACF user profile as described in Setting up field-level access for the OMVS segment of a user profile.

Example: Issue:
ps
Result: Following is a sample output:
/shut/home/wellie2==>ps  ; alias to ps -o ruser,pid,vsz,vsz64,vszlmt64,comm
 RUSER  PID  VSZ VSZ64  VSZLMT64 COMMAND
   Erin  24 2432  0     20M sh -L
   Erin  29 2432  0     20M /tst/bin/ps -oruser,pid,vsz,vsz64,vszlmt64 -oargs
Example: Issue:
ulimit -a
Result: Following is a sample output:
core file         8192b              
cpu time          unlimited          
data size         unlimited          
file size         unlimited          
stack size        unlimited          
file descriptors  256                
address space     259192k            
memory above bar  17592186040320m 
Example: Assuming that the PID is 0050331651:
d omvs,limits,pid=0050331651 
Result: Following is a sample output:
BPXO051I 16.42.32 DISPLAY OMVS 277                                    
OMVS     000D ACTIVE          OMVS=(6F)                               
USER     JOBNAME  ASID        PID       PPID STATE   START     CT_SECS
MEGA     MEGA1    0020 0050331651   33554434 1CI--- 16.31.46      .051
  LATCHWAITPID=         0 CMD=sh -L                                   
PROCESS LIMITS:        LIMMSG=NONE                                    
                  CURRENT  HIGHWATER    PROCESS                       
                    USAGE      USAGE      LIMIT                       
                                                                      
MAXFILEPROC             6          7        256                       
MAXFILESIZE           ---        ---    NOLIMIT                       
MAXPROCUSER             3          4    NOLIMIT                       
MAXQUEUEDSIGS           0          1       1000                       
MAXTHREADS              0          0        200                       
MAXTHREAD          0          0       1000                       
IPCSHMNSEGS             0          0        500                       
MAXCORESIZE           ---        ---    4194304                       
MAXMEMLIMIT             0          0     16383P 

If you do not specify the PID, the display will show the system-wide limits

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014