Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

nice value

SOLVED
Go to solution
chetana07
Frequent Advisor

nice value

How to check the current niceness value of a process?

thanks
chetan
7 REPLIES
Sunny Jaisinghani
Trusted Contributor
Solution

Re: nice value

Hi chetan

you can view the nice value from the top command

chetana07
Frequent Advisor

Re: nice value

thanks sunny for ur quick reply,but top command is giving only top processes nice values and only 25 processed are shown on the screen.how to check the nice value of a process that is not shown under top command

thanks
Peter Nikitka
Honored Contributor

Re: nice value

Hi,

the ps command has a column 'NI' (use ps -elf) - this is where the nice value of a process is reported.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
SANTOSH S. MHASKAR
Trusted Contributor

Re: nice value

Hi,

U can scroll down the top o/p pagewise by using
j to scroll down and k to scroll up.
Otherwise u can use,

# ps -l


-Santosh
chetana07
Frequent Advisor

Re: nice value

thanks for all ur valuable replies
Peter Nikitka
Honored Contributor

Re: nice value

Hi,

NICE to hear, that our solutions did help you.
Since you are new to this forum - Welcome, here! - I want to put your attention to its unique point system:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

It's good etiquette to submit points, so at a later time searching users have some measurement of the worth for the solutions provided.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
chetana07
Frequent Advisor

Re: nice value

I have got the solution to my prob in the replies received.

Thanks for all the valuable replies.