Claude Arnold wrote on 09/01/05 02:05 AM:
I use SRSS 3.0 on solaris. The directory /var/opt/SUNWbb/root/proc take
98% of the /var file system size.
How did you determine this?
From proc(4):
" /proc is a file system that provides access to the state of
each process and light-weight process (lwp) in the system.
The name of each entry in the /proc directory is a decimal
number corresponding to a process-ID. These entries are
themselves subdirectories. Access to process state is pro-
vided by additional files contained within each subdirec-
tory; the hierarchy is described more completely below. In
this document, ``/proc file'' refers to a non-directory file
within the hierarchy rooted at /proc. The owner of each
/proc file and subdirectory is determined by the user-ID of
the process.
/proc can be mounted on any mount point, in addition to the
standard /proc mount point, and can be mounted several
places at once. Such additional mounts are allowed in order
to facilitate the confinement of processes to subtrees of
the file system via chroot(1M) and yet allow such processes
access to commands like ps(1)."
Whilst running 'du' over it will show a large number, this does not
represent any data stored on disk - it's not part of the /var
filesystem, it's just mounted beneath /var... unless something is
broken...
# mount | grep proc
/proc on proc read/write/setuid/devices/dev=4400000 on Wed Aug 31
09:04:23 2005
/var/opt/SUNWbb/root/proc on proc read/write/setuid/devices/dev=4400001
on Wed Aug 31 09:04:58 2005
#
~D..
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users