This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to get process info in Linux?


Hi, 
  Does anybody know how to get process info such as
(user time, system time, CPU usage, Page faults) in C
programm for Linux? I know in general ioctl(fd,
PRSINFO, &..) would work, but it doesn't work for
Linux.
  Any comments will be welcome.
  Thanks.

  Jerry


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]