NICE(1) General Commands Manual NICE(1)NAME
nice, nohup - run a command at low priority
SYNOPSIS
nice [ -number ] command [ arguments ]
nohup command [ arguments ]
DESCRIPTION
Nice executes command with low scheduling priority. If the number argument is present, the priority is incremented (higher numbers mean
lower priorities) by that amount up to a limit of 20. The default number is 10.
The super-user may run commands with priority higher than normal by using a negative priority, e.g. `--10'.
Nohup executes command immune to hangup and terminate signals from the controlling terminal. The priority is incremented by 5. Nohup
should be invoked from the shell with `&' in order to prevent it from responding to interrupts by or stealing the input from the next per-
son who logs in on the same terminal.
FILES
nohup.out standard output and standard error file under nohup
SEE ALSO nice(2)DIAGNOSTICS
Nice returns the exit status of the subject command.
NICE(1)
Check Out this Related Man Page
NICE(1) BSD General Commands Manual NICE(1)NAME
nice -- execute a utility at an altered scheduling priority
SYNOPSIS
nice [-n increment] utility [argument ...]
DESCRIPTION
The nice utility runs utility at an altered scheduling priority, by incrementing its ``nice'' value by the specified increment, or a default
value of 10. The lower the nice value of a process, the higher its scheduling priority.
The superuser may specify a negative increment in order to run a utility with a higher scheduling priority.
Some shells may provide a builtin nice command which is similar or identical to this utility. Consult the builtin(1) manual page.
ENVIRONMENT
The PATH environment variable is used to locate the requested utility if the name contains no '/' characters.
EXIT STATUS
If utility is invoked, the exit status of nice is the exit status of utility.
An exit status of 126 indicates utility was found, but could not be executed. An exit status of 127 indicates utility could not be found.
EXAMPLES
Execute utility 'date' at priority 5 assuming the priority of the shell is 0:
nice -n 5 date
Execute utility 'date' at priority -19 assuming the priority of the shell is 0 and you are the super-user:
nice -n 16 nice -n -35 date
COMPATIBILITY
The traditional -increment option has been deprecated but is still supported.
SEE ALSO builtin(1), csh(1), idprio(1), rtprio(1), getpriority(2), setpriority(2), renice(8)STANDARDS
The nice utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
A nice utility appeared in Version 4 AT&T UNIX.
BSD February 24, 2011 BSD
FYI, the GCC compiler is available for OS X. This means you can easily compile all the super GCC opensource. You can see the GCC and other
projects <A HREF=http://www.opensource.apple.com//projects/darwin/1.2/projects.html>HERE</A>.<P>
Also, I looked into how OS X handles OS 9 applications. ... (12 Replies)
Hi.
Is it possible to execute a Cocoa (or Carbon or eaven a classic) program for mac OSX in the terminal window?
OSX finder can sometimes be so busy that it wont respond for several minutes, ie if you are uploading a very big file/files to a afp server. Then it would have been nice to start... (7 Replies)
:confused: I need to find a place or places on the Internet where I can find UNIX scripts to view and to modify to make life easy on the UNIX environment. Can someone help me on this. Thanks (7 Replies)
Can someone explain to me how a here doc works.
I thought it was something like this
<<EOF
command
command
command
EOF
What I am trying to do is put a ftp commands into my shell script, and I've been told that I need to use a here doc for it.
Can anybody shed some light on this... (6 Replies)
I am trying to install mandrake 8.0 on my Satellite Pro 4600. I have got it installed but I am having problems with X windows. The laptop has a trident cyber blade video card I have it set to 1024x768 resolution Basically everytime I start x it appears in the upper right to middle of the screen... (6 Replies)
I have been working with UNIX (HP-UX) now for a couple of years. Have become quite capable in shell scripting and general UNIX use. The local university offers a certification course in UNIX administration which I am considering taking. However, the certification is geared toward UNIX in general... (13 Replies)
Hi,
I am really struggling to finish of a script I have been assigned.
The script's purpose is to log on to each server defined in an array, determine the Web Server version, and list the directory beneath the installation directory. In my case, this installation directory is almost always... (6 Replies)
I am having trouble resuming from hibernation using TuxOnIce method.
The thing works, but in a very strange manner. Here's how it looks:
1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds)
Reading kernel & process data...
Atomic restore.... (8 Replies)
Hi again, well does anyone knows how can i grep a process that right know the only part of the process name that i know is "backup" then renice it if the cpu consumption is more then 90% ...
for now i have :
a=$(ps aux | grep -c backup )
while $a > 2 #pseudo code
do
if ; then #... (16 Replies)
I've been looking online trying to find the correct value nice and priority can take in the limits.conf file. ON the man page it says;
Does this mean priority can be any negative number and any positive?
Then
Does this mean any number between -20 and 19 also what does the definition of nice... (13 Replies)
Hi All,
I got some awk one liners, how can i split it all into a nice script?
Got these:
gzcat capgw0.log-201308161376632741.gz | sed -n '/2013-08-16 05:56:/,/2013-08-16 05:58:/p' > timebased.log
awk -F":|," 'FNR==NR && /INFO - AId:/ {a=$0;next} END {for (i in a) print i "|" a}'... (8 Replies)
Hello Folks,
Recently our FreeBSD 7.1 i386 system became very sluggish.
Nothing much is happening over there & whatever is running takes eternity to complete.
All the troubleshooting hinted towards a very high nice percentage.
Can that be the culprit?
Pasting snippets of top command,... (7 Replies)
Hello All,
Just went through a nice YT video of A.I
Age of A.I YT video
See who is the host of this video :) if you are a Hollywood fan(a bit spoiler)
I hope to learn something of it someday, technology is really growing day by day, cheers.
Thanks,
R. Singh (8 Replies)