10-01-2010
pbind sets "affinity" - in Solaris it is called binding
psradm -F undoes binding
renice lets you change process priority of an existing process. BE CAREFUL. Do not use real time priorities or the system can become unusable. AND. Be sure to read the "nice man pages" - nice is a command and it explains what thpriority numbers mean. They are backwards from what you think now, I'm sure.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
by getpid() i will get the pid of the current process.
but how do get the name of this process...
or instead from pid how do i get process name...
is there any way...
thanks in advance.... (2 Replies)
Discussion started by: vishallbansal
2 Replies
2. Solaris
I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies
3. Solaris
i have a process with the question mark and started on 22 jan.. does this mean it is a zombie process. there are no connecting or child processes...
oracle 17546 1 0 Jan 22 ? 0:00 oracleprod2 (LOCAL=NO)
please help.. (1 Reply)
Discussion started by: sudhiroracle
1 Replies
4. Solaris
Hi guys,
need your help on this since i dont know much about solaris.
the problem is i need to increase inodes space on /export/home/
root@BRF-DANCCM1 # /usr/ucb/df -i
Filesystem iused ifree %iused Mounted on
/dev/vx/dsk/bootdg/rootvol
53026 1162206 ... (7 Replies)
Discussion started by: ichiko
7 Replies
5. Solaris
hi,
let me know how to increase file size in solaris 10 OS (4 Replies)
Discussion started by: meet2muneer
4 Replies
6. Solaris
How to activate "high" priority queues for
codine (Sun Grid Engine) under solaris 10? What are the steps? (0 Replies)
Discussion started by: ionrivera
0 Replies
7. UNIX for Dummies Questions & Answers
I run an application where some component periodically submits jobs into cron's batch queue via the 'batch' command.
Each of these jobs perfoms a query to retrieve some data from a database, builds up an openoffice document with that data, and submits it to a headless openoffice server to have... (3 Replies)
Discussion started by: jsandeo
3 Replies
8. Solaris
HI Admins,
can anyone tell me how can I increase the lease time in Solaris 10.
I want to use that dhcp address for 4 weeks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies
9. Solaris
Hi
Please let me know how to increase the size of rpool in solaris 11 in ldom. I know how to map the new LUN to LDOM after that please let me know the procedure to increase the rpool and how to identify new disk in OBP level of ldom as I need to set the new/lun to be my new boot device. (5 Replies)
Discussion started by: hb00
5 Replies
nice(3) Library Functions Manual nice(3)
Name
nice - set program priority
Syntax
int nice(incr)
int incr;
Description
The scheduling priority of the process is augmented by incr. Positive priorities get less service than normal. Priority 10 is recommended
to users who wish to execute long-running programs without flack from the administration.
Negative increments are ignored except on behalf of the super-user. The priority is limited to the range -20 (most urgent) to 20 (least).
The priority of a process is passed to a child process by For a privileged process to return to normal priority from an unknown state,
should be called successively with arguments -40 (goes to priority -20 because of truncation), 20 (to get to 0), then 0 (to maintain com-
patibility with previous versions of this call).
Environment
In any mode, nice returns -1 and sets on an error. On success, the return value depends on the mode in which your program was compiled.
In POSIX or System V mode, it is the new priority; otherwise, it is zero. Note that, in POSIX and System V mode, -1 can indicate either
success or failure; must be used to determine which.
See Also
nice(1), fork(2), setpriority(2), renice(8)
nice(3)