10-15-2004
It'd be nice if you posted your solution, so that other people who might have the same problem in the future can benefit from your fix.
Cheers
ZB
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
.
HP-UX HPUX11I B.11.11 U 9000/778 (tb)
telnetd: /usr/bin/login: No such file or directory
Ok im currently logged into the machine and dont plan on logging out i found this out when i went to open another session on the box and was prompted with the above, i do not have a backup of the... (4 Replies)
Discussion started by: bbutler3295
4 Replies
2. Shell Programming and Scripting
hai
i want to place every work done by me in a file form login to logout.
ex:-
login : abc
password: xxxx
$pwd
/home/abc
$ls -l
list of files in dir
$logout
now i want to place all commands given by me in a file for later reference. (5 Replies)
Discussion started by: g_s_r_c
5 Replies
3. SCO
When I login on consola as root I have problem.
I typed on
login: root
password:rootpassword
then promt
login:
problem is for other users
In sigle user mode I can login as root.
Please halp me (1 Reply)
Discussion started by: draganmi
1 Replies
4. Solaris
Hi all,
I am trying to setup SUN trunking per the instructions in the SUN Trunking 1.3 Installation and User's Guide. Dated June - 2007.
I am setting it up in a test environment. Pretty simple test bed. 2 Sun V490s connected to a Catalyst 6500 via fiber NICs. 2 NIC's in each 490. Each is a... (9 Replies)
Discussion started by: bruhnf
9 Replies
5. AIX
1) when user login to the server the session got colosed. How will resolve?
2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem?
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
6. Red Hat
Hi Everybody,
I am getting following error when am trying to login to my oracle user.
su: warning: cannot change directory to /bin/bash: Not a directory
-sh: /bin/bash/.profile: Not a directory
-bash-3.1$
Please help me how to avoid this message and how to login with normal user login... (1 Reply)
Discussion started by: mastansaheb
1 Replies
7. SuSE
Hello,
I can't seem to get the password less login to work on one of my SLES 11 servers. My ssh agent lets me login to all my other servers, which are Solaris 10, RHEL 5, and SLES 11 servers. Some servers mount my home directory and others don't.
The server that I'm having an issue with doesn't... (7 Replies)
Discussion started by: bitlord
7 Replies
8. Shell Programming and Scripting
Hello,
I am processing text files looking for a string and replacing the first occurrence of the string with something else.
For the text,id Name
1 methyl-(2-methylpropoxy)-oxoammonium
2 N-amino-N-(methylamino)-2-nitrosoethanamine
3 3-methoxy-3-methyloxazolidin-3-ium... (12 Replies)
Discussion started by: LMHmedchem
12 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.10 1 Apr 2004 nice(2)