16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exit Values<br />

Related Information<br />

ipcrm<br />

m 1 0x0d08c984 --rw-rw-rw- root system<br />

Semaphores:<br />

T ID KEY MODE OWNER GROUP<br />

s 4096 0x0108c86e --ra------- root system<br />

s 1 0x6208c8ef --ra-r--r-- root system<br />

s 2 0x4d0b00a6 --ra-ra---- root system<br />

s 24579 0x00bc614e --ra-ra-ra- xlin vendor<br />

s 176132 0x00000058 --ra-ra-ra- xlin vendor<br />

Following is a sample output from entering ipcs -S:<br />

IPC status as of Wed Oct 6 14:56:22 EDT 2002<br />

Map Memory Service:<br />

T CREATEPID USERPID USER GROUP SHUTDOWN<br />

S 1096 165 root system Y<br />

S 4 114 John system Y<br />

S 6 324 John system N<br />

S 1052 111 Andrew vendor N<br />

S 96 678 xlin vendor Y<br />

0 Successful completion<br />

1 Failure due to incorrect command-line option<br />

jobs — Return the status of jobs in the current session<br />

Format<br />

Description<br />

jobs [–l|–p] [job-identifier...]<br />

tcsh shell: jobs [-l]<br />

jobs produces a list of the processes in the current session. Each such process is<br />

numbered for easy identification by fg or kill, and is described by a line of<br />

information:<br />

[job-identifier] default state shell_command<br />

job-identifier<br />

Is a decimal number that identifies the process for such commands as fg<br />

and kill (preface job-identifier with % when used with these commands).<br />

default Identifies the process that would be the default for the fg and bg<br />

commands (that is, the most recently suspended process). If default is a +,<br />

this process is the default job. If default is a –, this job becomes the default<br />

when the current default job exits. There is at most one + job and one –<br />

job.<br />

state Shows a job as:<br />

Running<br />

If it is not suspended and has not exited<br />

Done If it exited successfully<br />

Done(exit status)<br />

If it exited with a nonzero exit status<br />

ipcs<br />

Chapter 2. Shell command descriptions 327

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!