Sponsored Content
The Lounge What is on Your Mind? Forum Update New Steps for UNIX.com Post 303022094 by Peasant on Friday 24th of August 2018 12:28:18 PM
Old 08-24-2018
I couldn't agree more on the social media / networks accounts.
Personally, i vote NO/low priority for that one Smilie

That could be a nice vote/pool on the forums, to check how users respond i guess.

Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
 

7 More Discussions You Might Find Interesting

1. SCO

Installation steps (request how to install UNIX)

Hello hey ppl I wanna use Unix SCO, and I have a Unix SCO 5.05 bootable CD. Now plz can any one help me or guide me the steps of Unix installation. I want to install myself so plz If anyone experts in Unix installation & knows simple configuration... so plz mail me or reply me here , step by... (2 Replies)
Discussion started by: Mohsin
2 Replies

2. Shell Programming and Scripting

Shell script with mutiple steps/commands, on UNIX servers

Hi, I wrote a simple script, which will call other scripts or run commands on a UNIX server. my script has multiple steps/commands with some delay in between. I usually get some email notifications after the successful execution of each step. **My intention is to get email alerts when it is... (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. Solaris

Need steps for Netbackup Update from 7.1 to 7.5

Hello Friends, I need a document with steps to upgrade Symantec Netbackup from 7.1 to 7.5. Would you please help me on this. I have Symantec provided pdf but looks like reference book. I need only steps which is needed to be followed. Please guide me. Information about my Server My... (11 Replies)
Discussion started by: manalisharmabe
11 Replies

4. Shell Programming and Scripting

Steps to download and install UNIX in windows7 32 bit.

Can anyone tell the steps to download and install unix OS in windows 7 32 bit. I want to install unix and practice commands there. Any version is ok (4 Replies)
Discussion started by: Little
4 Replies

5. What is on Your Mind?

Forum Update: Disabled Home Page Forum Statistics for Guests (Not Registered)

Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users. No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies

6. What is on Your Mind?

Forum Twitter Update @unixlinux

Hi Everyone, In the future, I will will be sending out a Tweet or two @unixlinux when working on optimizing the site database or other admin tasks which might cause site performance problems. For example, when we optimize the database (normally on the weekend) there can be a fairly serious... (0 Replies)
Discussion started by: Neo
0 Replies

7. What is on Your Mind?

Similar Threads: More UNIX and Linux Forum Topics You Might Find Helpful Update

Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post: More UNIX and Linux Forum Topics You Might Find Helpful It was quite easy to do: 1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 Replies
nice(2) 							   System Calls 							   nice(2)

NAME
nice - change priority of a process SYNOPSIS
#include <unistd.h> int nice(int incr); DESCRIPTION
The nice() function allows a process to change its priority. The invoking process must be in a scheduling class that supports the nice(). The nice() function adds the value of incr to the nice value of the calling process. A process's nice value is a non-negative number for which a greater positive value results in lower CPU priority. A maximum nice value of (2 * NZERO) -1 and a minimum nice value of 0 are imposed by the system. NZERO is defined in <limits.h> with a default value of 20. Requests for values above or below these limits result in the nice value being set to the corresponding limit. A nice value of 40 is treated as 39. Calling the nice() function has no effect on the priority of processes or threads with policy SCHED_FIFO or SCHED_RR. Only a process with the {PRIV_PROC_PRIOCNTL} privilege can lower the nice value. RETURN VALUES
Upon successful completion, nice() returns the new nice value minus NZERO. Otherwise, -1 is returned, the process's nice value is not changed, and errno is set to indicate the error. ERRORS
The nice() function will fail if: EINVAL The nice() function is called by a process in a scheduling class other than time-sharing or fixed-priority. EPERM The incr argument is negative or greater than 40 and the {PRIV_PROC_PRIOCNTL} privilege is not asserted in the effective set of the calling process. USAGE
The priocntl(2) function is a more general interface to scheduler functions. Since -1 is a permissible return value in a successful situation, an application wishing to check for error situations should set errno to 0, then call nice(), and if it returns -1, check to see if errno is non-zero. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ SEE ALSO
nice(1), exec(2), priocntl(2), getpriority(3C), attributes(5), privileges(5), standards(5) SunOS 5.11 1 Apr 2004 nice(2)
All times are GMT -4. The time now is 07:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy