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.

tcsh<br />

here’s the behavior with symlinks set to ignore,<br />

> cd /tmp/to/dist; echo $cwd<br />

/tmp/to/dst<br />

> cd ..; echo $cwd<br />

/tmp/to<br />

and here’s the behavior with symlinks set to expand.<br />

> cd /tmp/to/dist; echo $cwd<br />

/tmp/to/dst<br />

> cd ..; echo $cwd<br />

/tmp/to<br />

> cd /tmp/to/dist; echo $cwd<br />

/tmp/to/dst<br />

> cd ".."; echo $cwd<br />

/tmp/from<br />

> /bin/echo ..<br />

/tmp/to<br />

> /bin/echo ".."<br />

..<br />

expand expansion:<br />

1. works just like ignore for built-ins like cd,<br />

2. is prevented by quoting, and<br />

3. happens before filenames are passed to non-built-in commands.<br />

time If set to a number, then the time built-in command executes automatically<br />

after each command which takes more than that many CPU seconds. If<br />

there is a second word, it is used as a format string for the output of the<br />

time built-in. The following sequences may be used in the format string:<br />

%U The time the process spent in user mode in cpu seconds.<br />

%S The time the process spent in kernel mode in cpu seconds.<br />

%E The elapsed (wall clock) time in seconds.<br />

%P The CPU percentage computed as (%U + %S) / %E.<br />

%W The number of times the process was swapped.<br />

%X The average amount in (shared) text space used in Kbytes.<br />

%D The average amount in (unshared) data/stack space used in<br />

Kbytes.<br />

%K The total space used (%X + %D) in Kbytes.<br />

%M The maximum memory the process had in use at any time in<br />

Kbytes.<br />

%F The number of major page faults (page needed to be brought from<br />

disk).<br />

%R The number of minor page faults.<br />

%I The number of input operations.<br />

%O The number of output operations.<br />

%r The number of socket messages received.<br />

%s The number of socket messages sent.<br />

%k The number of signals received.<br />

%w The number of voluntary context switches (waits).<br />

668 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!