Sponsored Content
Full Discussion: A man gets Pwned...
The Lounge What is on Your Mind? A man gets Pwned... Post 302970737 by Scrutinizer on Monday 11th of April 2016 12:25:42 PM
Old 04-11-2016
Nice Smilie
 

7 More Discussions You Might Find Interesting

1. Programming

man

If i have my own application ( say 'myTool'), then is it possible to create a man page for it? such that "man myTool" will give information about it. if so how to go about it? thanks in advance, Nads (3 Replies)
Discussion started by: Nads
3 Replies

2. UNIX for Dummies Questions & Answers

man pages

When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as: mkdir calls the mkdir(2) system call. What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies

3. UNIX for Dummies Questions & Answers

man aliases

Can any one show me how to create an alias account that silently copies local emails to the administrator (root) using a linux cmd line or GUI? The answer needs to be very simplly explained at this stage, as I am new to the command prompt...expecialy in linux. thanks heaps guys Pipa:) I... (2 Replies)
Discussion started by: Pipa
2 Replies

4. UNIX for Dummies Questions & Answers

need help how to use man

hello every one im a new to unix i use solaris 9 experimental i would like to use real unix system but there are to many versions and i need someone to recommend a good one for me i also need help on how to use "man" (3 Replies)
Discussion started by: abu_malek
3 Replies

5. Solaris

man and ldm man

According to Sun documentation (Ldoms 1.1 Administration Guide), To access the ldm(1M) man page, add the directory path /opt/SUNWldm/man to the variable $MANPATH. When I add the lines: MANPATH=$MANPATH:/opt/SUNWldm/man export MANPATH to .profile, exit root and re-login, I would have "man ldm"... (5 Replies)
Discussion started by: StarSol
5 Replies

6. Shell Programming and Scripting

Man command

How to get only the options and arguments of a command excluding the descriptive help? (1 Reply)
Discussion started by: mayur_verma
1 Replies

7. UNIX for Dummies Questions & Answers

what man*x directories should contain ?

man pages are located beneath /usr/share/man. e.g., manual pages for "section 1" are located in /usr/share/man/man1/. And /usr/share/man/man*p should contain manual pages for POSIX programmers. I need to know what /usr/share/man/man*x directories should contain ? (1 Reply)
Discussion started by: new0h
1 Replies
NICE(3P)						     POSIX Programmer's Manual							  NICE(3P)

PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond- ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME
nice - change the nice value of a process SYNOPSIS
#include <unistd.h> int nice(int incr); DESCRIPTION
The nice() function shall add the value of incr to the nice value of the calling process. A process' nice value is a non-negative number for which a more positive value shall result in less favorable scheduling. A maximum nice value of 2*{NZERO}-1 and a minimum nice value of 0 shall be imposed by the system. Requests for values above or below these limits shall result in the nice value being set to the corresponding limit. Only a process with appropriate privileges can lower the nice value. Calling the nice() function has no effect on the priority of processes or threads with policy SCHED_FIFO or SCHED_RR. The effect on pro- cesses or threads with other scheduling policies is implementation-defined. The nice value set with nice() shall be applied to the process. If the process is multi-threaded, the nice value shall affect all system scope threads in the process. As -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 whether errno is non-zero. RETURN VALUE
Upon successful completion, nice() shall return the new nice value -{NZERO}. Otherwise, -1 shall be returned, the process' nice value shall not be changed, and errno shall be set to indicate the error. ERRORS
The nice() function shall fail if: EPERM The incr argument is negative and the calling process does not have appropriate privileges. The following sections are informative. EXAMPLES
Changing the Nice Value The following example adds the value of the incr argument, -20, to the nice value of the calling process. #include <unistd.h> ... int incr = -20; int ret; ret = nice(incr); APPLICATION USAGE
None. RATIONALE
None. FUTURE DIRECTIONS
None. SEE ALSO
getpriority(), setpriority(), the Base Definitions volume of IEEE Std 1003.1-2001, <limits.h>, <unistd.h> COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 NICE(3P)
All times are GMT -4. The time now is 08:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy