Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, this is salman ansari and this is my first post on this forum. I need your need help as i am doing my operating system project. The project ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    OS project!!

    Hello everyone, this is salman ansari and this is my first post on this forum. I need your need help as i am doing my operating system project. The project is simply to implement my own "sar" command which shows the information of the process including CPU usage, CPU idle, process I/O wait and etc. For this i dont have to use system calls to access from kernel. My question is that if there is any solution so that i can access directly the information from kernel or i must have to use system calls? can anyone of you give me a tutorial regarding this issue..

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    I'm sorry, but homework questions are explicitly forbidden on this forum. Therefore, I have to close this thread.

    Before i do, I will advise you to look into the proc filesystem. There are many resources online to learn about it, as well as a man page on Linux computers.
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

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