01-19-2011
thank you.
it is exactly what i was looking for
have a nice day
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
how can i display the result on the screen one page at a time?
say i search for .txt files and return the result on the screen one page at a time. (4 Replies)
Discussion started by: nickaren
4 Replies
2. Solaris
I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS
The first machine... (3 Replies)
Discussion started by: sarahsi
3 Replies
3. Shell Programming and Scripting
hi all
i have file_1 which contains 66 pages and i want to print only page 1 to 3
i try to write like this
lp -d name_of_printer file_1 -P 1-7
this command does not work
any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies
4. Solaris
Hi,
Currently I'm experience very high page ins on my system running on solaris 10.
From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins.
Details as follow:
oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies
5. Emergency UNIX and Linux Support
Hi,
I need a way to grab the total combines since inception, total pages read from webalizer on my centos server or any other location (as long as since inception) and display the result live on my website
So with each visit it would be increasing, or perhaps live (ajax) not sure
But can... (0 Replies)
Discussion started by: lawstudent
0 Replies
6. Web Development
Hi
Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally.
Any ideas?
Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies
7. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
8. Shell Programming and Scripting
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Discussion started by: antman
9 Replies
nice(3) Library Functions Manual nice(3)
NAME
nice - Changes the scheduling priority of a process
LIBRARY
Standard C Library (libc) Berkeley Compatibility Library (libbsd)
SYNOPSIS
#include <unistd.h>
int nice( int increment);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
nice(): XSH4.2
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies a value that is added to the current process priority. You can specify a negative value.
DESCRIPTION
The nice() function adds the value specified in the increment parameter to the nice value of the calling process. The nice value is a non-
negative number; a higher nice value gives the process a lower CPU priority.
When you are using the Standard C Library version of the nice() function, the maximum nice value for a process is 39 (2 * {NZERO} -1) and
the minimum is 0 (zero). Requests for values outside these limits result in the nice value being set to the corresponding limit.
[XPG4-UNIX] If execution of the Standard C Library nice() function fails, the system does not alter the specified priority.
Any process can lower its priority (numerically raise its nice value). A process must have superuser privileges to raise its priority
(numerically lower its nice value).
[Tru64 UNIX] For backward compatibility, a version of the nice() function is supported that allows nice values in the range of -20 to 20.
Requests for values above or below these limits result in the nice value being set to the corresponding limit. To use the backward-compat-
ible version of nice(), compile with the Berkeley Compatibility Library (libbsd.a).
RETURN VALUES
Upon successful completion, the nice() function returns the new nice value minus 20 ({NZERO}). Otherwise, the function returns -1 and sets
errno to indicate the error.
ERRORS
The Standard C Library version of nice() sets errno to the specified values for the following conditions: The calling process does not have
appropriate privilege.
[Tru64 UNIX] The libbsd.a version of nice() sets errno to the same values as the setpriority() function. For information about possible
return values for the setpriority() function, see setpriority(2).
RELATED INFORMATION
Functions: exec(2), getpriority(2), setpriority(2)
Standards: standards(5) delim off
nice(3)