🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #1002

Re: decode /proc

#1002
From: unruh
Date: Sat, 30 Jan 2010 17:26
28 lines
2094 bytes
["Followup-To:" header set to comp.os.linux.misc.]
On 2010-01-30, Tauno Voipio <tauno.voipio@notused.fi.invalid> wrote:
> peter wrote:
>> Dear All
>>     I want to display the /proc information in my bochs GUI (http://
>> peter-bochs.googlecode.com). My question is, Is /proc completely
>> located in memory? If yes, how can I get its location? and how can I
>> decode it?
>> 
>> thanks
>> from Peter (cmk128@hotmail.com)
>
>
> There is no single memory block associated
> with the files in /proc. For most of the
> files, the output data is generated when
> the read system call is performed to the file.

No, but there is a single place to get the info, called /proc. 
Why he wants something else I do not know. He is handed a single
location to get all the decoded data and then asks where he can find all
the data and how to  decode it. 

>
> For documentation, get Linux sources and
> see the proc filesystem description in the
> documentation directory,
>
Technical Details
Message-ID: <slrnhm8qum.hd6.unruh@wormhole.physics.ubc.ca>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe19.iad.POSTED!7564ea0f!not-for-mail
References: <ffa8c4ab-38c4-4788-8100-7a395cfdb4f9@b10g2000yqa.googlegroups.com> <hk1n80$hav$2@news.eternal-september.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 8e88ce0507,8f941b20aeeed6a1
X-Google-Attributes: gid8e88ce0507,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe19.iad.POSTED!7564ea0f!not-for-mail
Newsgroups: comp.os.linux.misc,cn.bbs.comp.unix.development.kernel
From: unruh <unruh@wormhole.physics.ubc.ca>
Subject: Re: decode /proc
References: <ffa8c4ab-38c4-4788-8100-7a395cfdb4f9@b10g2000yqa.googlegroups.com>
 <hk1n80$hav$2@news.eternal-september.org>
Followup-To: comp.os.linux.misc
User-Agent: slrn/0.9.9p1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <slrnhm8qum.hd6.unruh@wormhole.physics.ubc.ca>
Lines: 28
NNTP-Posting-Host: 24.82.146.42
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe19.iad 1264872406 24.82.146.42 (Sat, 30 Jan 2010 17:26:46 UTC)
NNTP-Posting-Date: Sat, 30 Jan 2010 17:26:46 UTC
Date: Sat, 30 Jan 2010 17:26:46 GMT