Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 9 Jan 2002 12:41:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 9 Jan 2002 12:41:17 -0500 Received: from smtp1.nbnet.nb.ca ([198.164.200.23]:58000 "EHLO mail-nb00s0.nbnet.nb.ca") by vger.kernel.org with ESMTP id ; Wed, 9 Jan 2002 12:41:04 -0500 Message-ID: <3C3C8188.E5F7677E@nbnet.nb.ca> Date: Wed, 09 Jan 2002 13:44:40 -0400 From: Senhua Tao X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: "linux-kernel@vger.kernel.org" Subject: absolute path of a process Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I am new to linux kernel. I like to know is there any way to find the absolute path of a process. I mean, how the kernel knows which process is currently running? I tried to follow the current variable but got lost. Is the inode struct should I look at? Thanks. Sen Tao - 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/