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


Displaying the status of the kernel or process

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

Display information about the kernel or processes as follows:
  • The operator enters a DISPLAY OMVS command to display the status of the kernel and processes.
  • The operator enters the DISPLAY TRACE,COMP=SYSOMVS command to display the status of the kernel trace.
  • A shell user enters the ps command or the PS ISHELL command to display the status of the user's processes.
  • A superuser enters the ps command or the PS ISHELL command to display the status of all processes.
The operator displays the status for kernel services with the command:
DISPLAY OMVS

The command can be used to show information about a user ID, about the parmlib members that are in effect, or about the current values of reconfigurable parmlib member settings.

Example: To display the status of address spaces that the user ID JANES is using and the processor resources used by each address space, the operator enters:
DISPLAY OMVS,U=JANES

For another example, see the one in Steps for ending a specified process.

If the system IPLed with the specification of OMVS=(XX,YY,ZZ), the output for the D OMVS command is:
BPXO004I 10.17.23 DISPLAY OMVS 869
OMVS     ACTIVE  000E         OMVS=(XX,YY,ZZ)

The keyword OPTIONS lets you display the current configuration of the BPXPRMxx statements that are reconfigurable via the SET OMVS or SETOMVS command. The updated output from D OMVS,OPTIONS reflects any changes that resulted from a SETOMVS or a SET OMVS= operator command invocation.

In this example, when the PID option is used to obtain the thread identifiers, the output is:
 D OMVS,PID=117440514

 BPXO040I 14.16.58 DISPLAY OMVS 177
 OMVS     000E ACTIVE         OMVS=(93)
 USER     JOBNAME  ASID        PID       PPID STATE   START    CT_SECS
 MEGA     TC1      0021  117440514  117440515 HKI   14.16.14      .170
   LATCHWAITPID=         0 CMD=ACEECACH
  THREAD_ID        TCB@     PRI_JOB  USERNAME   ACC_TIME SC  STATE
  0496146000000000 009E0438                         .050 PTJ  KU
  04961D0800000001 009D5E88                         .002 SLP JSN
  049625B000000002 009D8798                         .003 SLP JSN
  04962E5800000003 009D5090                         .012 SLP JSN
  0496370000000004 009D5228                         .011 SLP JSN
  04963FA800000005 009D5A88                         .010 SLP JSN
  0496485000000006 009D8048                         .011 SLP JSN
  049650F800000007 009D81E0                         .011 SLP JSN
  049659A000000008 009D8378                         .011 SLP JSN
  0496624800000009 009D8510                         .011 SLP JSN
  04966AF00000000A 009D8930                         .030 SLP JSN

Tip: Message BPXO040I contains a complete description of the DISPLAY OMVS output. To look up that message, go to z/OS MVS System Messages, Vol 3 (ASB-BPX).

You can cancel selected threads. For example:
 F BPXOINIT,FORCE=117440514.04962E5800000003
  BPXM027I COMMAND ACCEPTED.

  F BPXOINIT,TERM=117440514.0496624800000009
  BPXM027I COMMAND ACCEPTED.
An operator displays status for the rest of the z/OS system with the commands:
  • DISPLAY TS,LIST: The number of time-sharing users, including the number of users
  • DISPLAY JOBS,LIST: The number of active jobs, including the number of address spaces that were forked or that were created in other ways but requested kernel services.
  • DISPLAY A,LIST: The combined information from the DISPLAY TS,LIST and DISPLAY JOBS,LIST commands.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014