This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to get process info in Linux?
- To: gcc at gcc dot gnu dot org
- Subject: How to get process info in Linux?
- From: Jerry Hong <jhong001 at yahoo dot com>
- Date: Sat, 24 Mar 2001 19:51:29 -0800 (PST)
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/