12-18-2005
To Perderabo:
BTW, Pederabo, it would be nice if there was a Readme on building your own Linux/Unix PC in the Frequently Asked Questions Forum.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been in computers for 30 years and know everything about MS, but nothing about anything else. Been developping websites (inter alia) running on MS servers using ASP's and vbScripts which apparently does not work under Unix.
My own website is being hosted on a Unix server and I need to... (4 Replies)
Discussion started by: paul@cascom
4 Replies
2. UNIX for Dummies Questions & Answers
I am someone who has lived on windows till I knew it inside and out but was very ignorant to other operating systems. Last week, after hearing of a much better operating system with more control and structure, I switched to Unix.
I have no idea what I am doing but I am happy to learn. Could... (4 Replies)
Discussion started by: newbie sarah
4 Replies
3. UNIX for Dummies Questions & Answers
I was wondering if someone could tell me where I could learn everything about Unix/Linux
and I was also wondering what the differance between Unix and Linux was :confused:
Ive never used it, never seen it.. But Im interested in learning :D (3 Replies)
Discussion started by: Vallzi
3 Replies
4. UNIX for Dummies Questions & Answers
actually m interested in learning unix/linux. should i go for unix or linux and from where will i get the software for these. anyone knowing please help me. (7 Replies)
Discussion started by: sushilgroversp
7 Replies
5. UNIX for Dummies Questions & Answers
I use Mac OSX and have been given all of my video editing software... illegally. I don't want to use it anymore and heard that Unix was the way to go. So that is why I am here. What video editing software is out there for Unix. I think I have Unix. Do I?
I am sorry and if all anyone can... (0 Replies)
Discussion started by: moz1979
0 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
New to the forum and in fact Unix.
I want/need to start learning Unix and am a bit confused as to which to start using/download...
Could someone please kindly point me in the right direction as how to get started, there seem to be so many different versions, etc... that i'm getting... (3 Replies)
Discussion started by: gavin watson
3 Replies
7. Solaris
Hello!
On a Solaris9 box I have activated following line in inetd.conf
root@serverxxx # more /etc/inetd.conf | grep tft
# TFTPD - tftp server (primarily used for booting)
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
root@serverxxx#
I have created... (3 Replies)
Discussion started by: sap4ever
3 Replies
8. Homework & Coursework Questions
Write a pipeline that takes a file as input and replaces all occurrences of exclamation marks (!)
by underscores (_) . The pipeline should also prepend your login at the beginning of every
line (the beginning of a line is specified with ^ in Unix) (1 Reply)
Discussion started by: geena_b
1 Replies
9. BSD
Is freeBSD a good choice for new Unix machine? I want to get back into Unix / Linux. System would be used for light scripting and file server needs. Something with nice software or hardware raid support would be good. If it could support virtual machines, kind of like VMWare's ESX that would be... (5 Replies)
Discussion started by: grips03
5 Replies
NICE(2) Linux Programmer's Manual NICE(2)
NAME
nice - change process priority
SYNOPSIS
#include <unistd.h>
int nice(int inc);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
nice(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTION
nice() adds inc to the nice value for the calling process. (A higher nice value means a low priority.) Only the superuser may specify a
negative increment, or priority increase. The range for nice values is described in getpriority(2).
RETURN VALUE
On success, the new nice value is returned (but see NOTES below). On error, -1 is returned, and errno is set appropriately.
ERRORS
EPERM The calling process attempted to increase its priority by supplying a negative inc but has insufficient privileges. Under Linux the
CAP_SYS_NICE capability is required. (But see the discussion of the RLIMIT_NICE resource limit in setrlimit(2).)
CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001. However, the Linux and (g)libc (earlier than glibc 2.2.4) return value is nonstandard, see below. SVr4 docu-
ments an additional EINVAL error code.
NOTES
SUSv2 and POSIX.1-2001 specify that nice() should return the new nice value. However, the Linux syscall and the nice() library function
provided in older versions of (g)libc (earlier than glibc 2.2.4) return 0 on success. The new nice value can be found using getprior-
ity(2).
Since glibc 2.2.4, nice() is implemented as a library function that calls getpriority(2) to obtain the new nice value to be returned to the
caller. With this implementation, a successful call can legitimately return -1. To reliably detect an error, set errno to 0 before the
call, and check its value when nice() returns -1.
SEE ALSO
nice(1), renice(1), fork(2), getpriority(2), setpriority(2), capabilities(7)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2007-07-26 NICE(2)