Re: system call for process information?

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Mar 12 2001 - 13:27:19 EST


On Mon, 12 Mar 2001, Guennadi Liakhovetski wrote:

> 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

Occam's Razor. Why invent new syscall when read() works?

> task[], task_struct, etc. about?

What branch? (2.0, 2.2, 2.4?)
                                                        Cheers,
                                                                Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:14 EST