troubleshooting Question

/proc space in Solaris10

Avatar of Netsol-NOS
Netsol-NOS asked on
Unix OS
7 Comments3 Solutions2144 ViewsLast Modified:
hi
we are using Solaris 10 on sparc box.
as we know proc is a pseudo file system in RAM but if issue command
bash-3.00# du -sh /proc
  20G   /proc
then if we check
bash-3.00# du -sh /    
  56G  
Output of df is
bash-3.00# df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       12G    12G   5.7M   100%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   1.7G   1.1M   1.7G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                        12G    12G   5.7M   100%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        12G    12G   5.7M   100%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   1.7G    64K   1.7G     1%    /tmp
swap                   1.7G    48K   1.7G     1%    /var/run
/dev/dsk/c1t0d0s3      9.6G   4.7G   4.9G    49%    /db
/dev/dsk/c1t1d0s1       22G    17G   4.8G    78%    /data
/dev/dsk/c1t1d0s0       12G   1.8G   9.6G    16%    /oas
/dev/dsk/c1t0d0s4      9.6G   391M   9.1G     5%    /export/home

question is why there is difference in both the commands about root(/).
why du -sh command shows that it is using 20GB.
how can i see the size of / partition.
how can we tune the partition to free up disk size.


thanks
imrans

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros