Find the answer to your Linux question:
Results 1 to 3 of 3
i have a doubt in moving my file from AIX platform to LINUX platform where i used getpri(process_id) function in my code..which is not working on LINUX which used to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2003
    Posts
    4

    using getpri(process_id) in linux


    i have a doubt in moving my file from AIX platform to LINUX platform where i used getpri(process_id) function in my code..which is not working on LINUX which used to work in AIX platform..it says couldnt reference to getpri()..can somebody help me to solve this problem...thanks in advance

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    you are looking for:
    Code:
    getpriority(int which, int who);
    [/code]
    I respectfully decline the invitation to join your delusion.

  3. #3
    Just Joined!
    Join Date
    Mar 2003
    Posts
    4

    using getpri(process_id) in linux

    I think getpriority is a function which returns the nice value of priority and getpri() returns the scheduling priority..i tried to supplement with getpri() with getpriority() which is not resulting in the same result..would u mind helping me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •