Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The answers have been already given, but please remember that per the LQ Rules, you shouldn't post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
Hi, Mara,
I appreciate all the help I get from Linux Questions. I assure you that these are not homework questions. I'm kind of in panic mode. I knew that I could display the nice value of a process using ps, but I just could not remember the options I needed to use. I tried googling, and sifting through the man pages, etc. But you know, sometimes when I'm in panic mode, I miss info which is right in front of me. Asking people that I work with is a total waste of time. So, again, I appreciate all the help I can get from you guys.
Thanks,
Jaypas
The Linux command to get the priority of a process is ps -l
Hi mks89,
Just be aware of the age of a thread. Not all threads are marked closed, or solved. There are very many which are just left open. But if you notice, the last post prior to yours was in 2010. Therefore it is unlikely that this may be of any help, especially given the flow of the thread from that time frame. No big deal, but just to make you aware for when you browse through threads and consider offering help. We'd rather you do look to provide help versus not.
When you are consulting threads that are "this old," it is very important to realize that many "deep changes" to the Linux system have occurred since that time ... including major revisions to the Scheduler. Thus, anything "of that vintage" which you read about scheduling, "nice" values and so-forth ... or anything else ... may or may not today be [entirely ...] true.
Unfortunately, not all published documents or web-pages include a date. This can be a very serious omission.
Last edited by sundialsvcs; 05-02-2017 at 03:29 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.