LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-19-2012, 06:54 PM   #1
psalada
LQ Newbie
 
Registered: Feb 2012
Posts: 10

Rep: Reputation: Disabled
process priority


when viewing processes by way of the ps -el command
what does the number at the end of some lines stand for?
ex.
TIME COMMAND
0:01 init [2] ,

the number within the square brackets is what I refer to.
what is it ? what does it represent?
 
Old 03-21-2012, 04:16 AM   #2
Nermal
Member
 
Registered: Jan 2009
Distribution: Debian
Posts: 59
Blog Entries: 2

Rep: Reputation: 6
Process priority is to do with it's nice value and because you used "ps -el" it shows you the parameters on the commands. The 2 shows run state 2.

From a command line type "man ps" and look at what it says about the -l switch. Also try "man -k nice" this will show you all the commands that have been tagged with the keyword nice.

Laters

J
 
Old 03-21-2012, 03:23 PM   #3
psalada
LQ Newbie
 
Registered: Feb 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Static priority of a process. K-Z Programming 1 12-15-2009 02:19 AM
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 11:22 AM
Change process priority Azriel_2501 Linux - General 4 01-18-2006 08:00 PM
Change process priority ]SK[ Linux - Software 11 02-24-2005 09:00 PM
How do I change a process's priority? TheOneAndOnlySM Linux - General 2 03-12-2004 11:17 PM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration