Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 12 Mar 2001 13:28:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 12 Mar 2001 13:28:06 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:28836 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Mon, 12 Mar 2001 13:27:46 -0500 Date: Mon, 12 Mar 2001 13:27:19 -0500 (EST) From: Alexander Viro To: Guennadi Liakhovetski cc: linux-kernel@vger.kernel.org Subject: Re: system call for process information? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/