Re: /proc filesystem is +3gb, is this normal???

From: Greg Andrews (gerg_at_panix.com)
Date: 09/27/03


Date: Sat, 27 Sep 2003 21:55:19 +0000 (UTC)

Rhugga <ccarson@echeeba.com> writes:
>
>I have an Ultra 10, 1gb mem, running Solaris 9. It is running apache2,
>tomcat, postfix, and mysql.
>
>It is not hit very hard and the total number of processes is not that
>great. I looked in /proc and saw a lot of these entries:
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 336
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 337
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 338
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 339
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 340
>dr-x--x--x 5 apache httpd 736 Sep 27 09:59 341
>

/proc is not a real filesystem that consumes disk space.
It's the list of processes on the machine and the information
about them. The /usr/bin/ps command reads from all those
directories and files under /proc in order to display the
list of processes to you.

Another way of saying it is that the /proc "filesystem" is
just a way of viewing the kernel's information about all the
currently running processes.

  -Greg

-- 
Do NOT reply via e-mail.
Reply in the newsgroup.


Relevant Pages