How to do at the /proc size becoming large observed by 'du -ks' command
I am using Solaris 8, I found the /proc is becoming large, it is almost 40GB, one of the diectory is about 20GB, it is oracle server process ID,
root@db1/#du -ks /proc
384020240/proc
root@db1/#cd /proc
root@db1/proc#du -ks 18563
2040106318563
root@db1/proc#
how can I do at such condition, will it occupy /root filesystem space? Will it backup also into tape by using 'ufsdump'?
Thank you!
# 2
> Its a virtual filesystem. Files there take up no
> space.
> You should avoid backup it up.
> Its a seperate filesystem. I believe you have to
> specifically set each filesystem to be backup up with
> ufsdump. So don't backup that one.
TKS. However, I wonder which command can show the real size of / file system?
#df -k /
Filesystemkbytesusedavail capacity Mounted on
/dev/vx/dsk/bootdg/rootvol
61968156 13969126 4737934923%/
#du -ks /
450749798
As you can see, I only have about 60 GB, but 'du' will count 450 GB!
Will ufsdump backup /proc also?
# 3
The number out of df is the real size.
du recurses down across filesystem boundaries so will count all filesystems on the machine.
Not just /
And as I said before ufsdump only backs up one filesystem.
So for example if you have a / filesystem
And another filesystem mount us /usr/local
and another mounted as /proc.
the a ufsdump of will just get /, not /proc or /usr/local