Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-13-2001, 11:00 AM   #1
LQ Newbie
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
Question Monitoring Processes

I've been porting some real-time programs from Solaris to Linux. I've re-implemented the necessary code to set scheduling classes and priorities (and made some assumptions for mapping the ranges for the different classes!).

What I'd really like to be able to do is check that the processes are running at the expected/set priorities using something like ps. But ps doesn't show the class and only shows priorities in terms of niceness (so I reckon what it is showing me at the moment is garbage - it certainly doesn't make sense!

Is there another tool like ps which will do this?

I will also eventually want an updating tool, like top or proctool (Solaris), so I can check the CPU performance of each process. I couldn't get procmeter to work, nor wmsysmon to install, if either of those are in fact suitable.

Thanks a lot for any and all help

Old 11-13-2001, 04:30 PM   #2
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
top has loads of frontends that you can use but i don't know if you will find any other things that are like ps but show the priorites in the way you want. the kernel only know the niceness values AFAIK

try searching or of

or to see if there are any groups working on it


Last edited by webtoe; 11-13-2001 at 04:32 PM.
Old 11-14-2001, 05:53 AM   #3
LQ Newbie
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, I will look at the sites you mention (though I had looked at tucows before).

I have had one bit of success - somehow I had overlooked the existence of "kpm" wihtin the KDE desktop I am using. This does allow you to view scheduling class and appropriate priority! My next problem is that it cannot be logged...hence I will search the sites you have recommended.

Thanks again,

Old 11-14-2001, 02:17 PM   #4
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
you can always get the source to kpm tho - the actual process-looking-up code is probably a relatively small part of the program.
Old 11-19-2001, 09:33 AM   #5
LQ Newbie
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I will look at the code, too!


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
maybe too many processes degraffenried13 Linux - General 1 02-01-2004 10:00 AM
monitoring IP changes aru_titi Linux - Software 4 08-23-2003 09:31 AM
Monitoring Active processes HeavyWater Linux - Newbie 4 07-07-2003 10:41 PM
Monitoring jISV Linux - General 6 06-05-2003 12:12 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 AM.

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