05-16-2002
Thx, I have to get starting for Unix due to Oracle system. Is Sun Solaris nice?
10 More Discussions You Might Find Interesting
1. Where do I download LINUX & UNIX?
this is going to sound really stupid, but i am new to unix and only have a tiny bit of experience with it such as typing in commands. that's about it. where can i get a copy of the unix software? isn't free to download somewhere? (3 Replies)
Discussion started by: Crimzon
3 Replies
2. UNIX for Dummies Questions & Answers
Aahhhh!! I am so much frustrated trying to recover my superuser account. I need help!!! Please can anyone tell me how to recover a the root account? Thank you in advance. (1 Reply)
Discussion started by: pnoi_blitz
1 Replies
3. Answers to Frequently Asked Questions
Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky.
One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. Linux
Hey there, new to the forum :)
Im currently at university studying UNIX, but i need some help. Can someone help me out with operational / technical differences between the two? Even if You just give me some topics i can go research them...
much appreciated
Josh (1 Reply)
Discussion started by: kiwi_bloke
1 Replies
5. UNIX for Dummies Questions & Answers
quick question that may bring long answers :)
I am currently looking into porting an existing Recital system from Unix to Linux. possibly not a good idea :) Basically;
Would i be better shooting myself in the foot now? or
do you know if there would be a fair expense due to buying Linux and the... (0 Replies)
Discussion started by: Kuz972
0 Replies
6. UNIX for Dummies Questions & Answers
hi all,
i have a linux operating system...can i practice unix commands on linux system....there is any changes in the commands.....can any one post some meterial..
thanks (1 Reply)
Discussion started by: madhu_msinus@ya
1 Replies
7. UNIX for Dummies Questions & Answers
why would one choose unix over linux? (2 Replies)
Discussion started by: lizzy
2 Replies
8. Fedora
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
9. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
10. What is on Your Mind?
Forum Moderation @UNIX.com | The UNIX and Linux Forums
https://youtu.be/WGwgibE4Rq0
Also note: In the video I mentioned removing legacy menu items in the ModCP which are unused. I have already "CSS'ed out" the unused menu items:
... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT HPUX
pthread_set_nice_np
pthread_get_nice_np(3T) pthread_get_nice_np(3T)
NAME
pthread_get_nice_np(), pthread_set_nice_np() - get or set the nice value of a thread
SYNOPSIS
PARAMETERS
thread The thread whose nice value is to be set/retrieved.
nice_val Value of nice to be applied to the target thread is returned (get function) or it specifies the new value of nice for
thread (set function).
DESCRIPTION
These functions are used to set and retrieve the nice value of an individual thread.
returns the current nice value setting of the target thread and stores it in nice_val. adds the value of nice_val to the current nice
value of the target thread.
A thread's nice value is a non-negative number. The system imposes a minimum nice value of 0 and a maximum of 39 with lower nice values
providing more favorable scheduling. If calling results in a nice value outside the range of 0 to 39, the value will be set to the nearest
limit. A process must have appropriate privileges to lower a thread's nice value. The function allows individual threads in the process
to have different nice values.
returns the current nice value less 20 and will be in the range -20 to +19.
The nice value of only system scope threads can be changed. An attempt to change the nice value of a process-scope thread will result in a
return value of Calling on a thread that has a scheduling policy other than will have an effect only when the thread's scheduling policy
changes to If a thread calls the system call to create a new process, the new process inherits the process-level nice value. Calling to
create a new thread will result in the new thread inheriting the creating thread's nice value.
Note
If the nice value of the entire process is changed through or all the threads in the process will have their nice values reset to the new
process-level nice value. The new process's nice value setting overwrites the old thread's setting. Thus its possible that a thread whose
nice value had been set higher than the process-level nice value have its nice value lowered as a result of the process-level re-nicing.
RETURN VALUE
Upon successful completion, and return zero.
Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the and functions return the corresponding error:
A process-scope thread was specified.
The caller does not have permission to lower the nice
value specified in nice_val.
No thread could be found corresponding to
thread.
AUTHOR
and were developed by HP.
SEE ALSO
fork(2), nice(2), setpriority(2), pthread_attr_getschedpolicy(3T), pthread_setschedparam(3T).
Pthread Library pthread_get_nice_np(3T)