LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 10-07-2009, 07:30 AM   #1
shujaat
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Calculating nice value of a process from the data in task_struct?


hello all

I made a system call which extracts the information of current process from its task_struct. but I couldnt figure out, how to calculate the nice value of that process?

In some articles it was said that static_prio is the same as nice value.

anybody?

Regards,
Shujaat
 
Old 10-14-2009, 09:04 AM   #2
shujaat
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Fixed it myself

DONE.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
task_struct process list helpmeforlinux Linux - General 2 01-24-2007 04:30 AM
Displaying Process Information From task_struct smoothdogg00 Programming 1 12-19-2006 04:57 PM
task_struct of a process swaroopjoshi Linux - Kernel 1 11-09-2006 04:08 PM
accessing task_struct of process shukla_chanchal Linux - General 1 11-04-2005 09:27 PM
How to use task_struct to get process information?? Pratik H Pandya Programming 2 09-15-2005 03:40 AM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration