system call for process information?
every process under Linux is assigned a *task_struct* structure which has all the info about that process eg. scheduling, accounting, I/O and others.
rajiv
Guennadi Liakhovetski <[email protected]> on 03/12/2001 10:38:46 PM
To: [email protected]
cc: (bcc: Rajiv Majumdar/CAL/NOTES)
Subject: system call for process information?
Hello
I asked this question on kernel-newbies - no reply, hope to be luckier here:-)
I need to collect some info on processes. One way is to read /proc tree. But isn't there a system call (ioctl) for this? And what are those task[], task_struct, etc. about?
Thanks
Guennadi
___
Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, U.K.
email: [email protected]
-
Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.surriel.com/kernelnewbies.shtml
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/