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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

newgrp<br />

Portability<br />

Related Information<br />

export, fc, sh, tcsh<br />

P<strong>OS</strong>IX.2 User Portability Extension, <strong>UNIX</strong> systems.<br />

nice — Run a command at a different priority<br />

Format<br />

Description<br />

Options<br />

Localization<br />

nice [–n number] command-line nice [–number] command-line<br />

tcsh shell: nice [+number] [command]<br />

nice runs a command at a different priority than usual. Normally, nice lowers the<br />

current priority by 10.<br />

The command-line must invoke a single utility command, without using compound<br />

commands, pipelines, command substitution, and other special structures.<br />

nice in the tcsh shell<br />

In the tcsh shell, nice sets the scheduling priority for the tcsh shell to number, or,<br />

without number, to 4. With command, nice runs command at the appropriate<br />

priority. The greater the number, the less cpu the process gets. The super-user may<br />

specify negative priority by using:<br />

nice -number ...<br />

command is always executed in a sub-shell, and the restrictions placed on<br />

commands in simple if statements apply. See “tcsh — Invoke a C shell” on page<br />

626.<br />

–n number<br />

Lowers the current priority by number. On systems supporting higher<br />

priorities, a user with appropriate privileges can use nice to increase priority<br />

by specifying a negative value for number. For example,<br />

nice –n –3 command<br />

runs the command with an increased priority of 3.<br />

–number<br />

Is an obsolescent version of –n number.<br />

nice uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

452 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!