home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aurora.cc.monash.edu.au!ins217t
- From: ins217t@aurora.cc.monash.edu.au (Andrew J. Cosgriff !)
- Subject: Re: What is 'proc'?
- Message-ID: <ins217t.721024886@aurora.cc.monash.edu.au>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- References: <1992Nov3.051046.29607@cs.tulane.edu> <1992Nov3.194356.5661@muddcs.claremont.edu>
- Date: Fri, 6 Nov 1992 04:41:26 GMT
- Lines: 36
-
- jwinstea@fenris.claremont.edu (Jim Winstead Jr.) writes:
-
- >In article <1992Nov3.051046.29607@cs.tulane.edu> butler@cs.tulane.edu (Larry Butler) writes:
- >>I see references to a fs called 'proc'. What is that? What are it features?
-
- >The 'proc' filesystem isn't really a real filesystem when compared to
- >say, the MS-DOS or Minix filesystems, but instead is a sort of
- >'psuedo-filesystem'. It provides a way of looking at (and accessing?)
- >processes via the filesystem. For example, I have a proc filesystem
- >mounted at /proc, underneath /proc, there are bunch of directories
- >corresponding to various processes (for example:
-
- > 1/ 21/ 2925/ 2992/ 2996/ 35/ 38/
- > 20/ 22/ 2926/ 2993/ 3/ 37/ 8/
-
- >Now, underneat each on of these, the following appears:
-
- > cwd@ exe@ fd/ lib/ mem root@
-
- >The links (cwd, exe, and root) are symlinks to the current working
- >directory, the executable, and the root of the processes filesystem,
- >respectively. The fd directory provides a way to access the file
- >descriptors of the process, lib is the libraries being used, and mem
- >is analagous to /dev/mem.
-
- So how do you mount it ? Do you need to recompile mount or something ?
-
- <excuse the ignorance, i only just found out what it was the other day, and
- am a little unsure what to do with it...>
-
- Cos !
- --
- Andrew J. Cosgriff ! ins217t@aurora.cc.monash.edu.au
- ins217t@lindblat.cc.monash.edu.au
- cos@yoyo.cc.monash.edu.au
- "Language is a virus from outer space" - William S. Burroughs
-