Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: get process name in c++
Date: Fri, 07 Jul 2006 02:45:44
Message-Id: 1152239843.31828.0.camel@orpheus
In Reply to: Re: [gentoo-user] OT: get process name in c++ by Iain Buchanan
1 On Thu, 2006-06-29 at 10:17 +0930, Iain Buchanan wrote:
2 > On Wed, 2006-06-28 at 16:01 +0200, Petr Uzel wrote:
3 >
4 > > file /proc/self/status is a link pointing to the
5 > > directory /proc/pid_of_process. And by parsing status file in this directory
6 > > you should get all the informations you want.
7 >
8 > great idea, thanks!
9
10 Someone mentioned that /proc is deprecated for 2.6? is this correct? Is
11 there a /sys alternative to /proc/self/status?
12
13 thanks,
14 --
15 Iain Buchanan <iaindb at netspace dot net dot au>
16
17 In charity there is no excess.
18 -- Francis Bacon
19
20 --
21 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT: get process name in c++ Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] OT: get process name in c++ Richard Fish <bigfish@××××××××××.org>