The U2000/server have full, how to clean the useless files to clean the space.
1) Delete the useless dump files
The default patch is /U2000/server/dump. we can delete the useless dump filesin every subdirectory.
2) Delete the useless logs
Delete the useless *.gz files in /U2000/server/log/
Delete the useless *.gz files and *.log files in every subdirectory in /U2000/server/log/Develop
Delete the useless *.gz files and *.log files in /U2000/server/var/logs/mrblogs
3) Delete the useless database backup files, the path will be configure when you do the databse backup
4) Delete the useless filles such as in the install software, patch software
5) Check whether you have open the core switch as follows:
root@Site59 # coreadm
global core file pattern: /opt/core.%f.%p.%t
global core file content: default
init core file pattern: core.%f.%p.%t
init core file content: default
global core dumps: enabled
per-process core dumps: enabled
global setid core dumps: enabled
per-process setid core dumps: enabled
global core dump logging: enabled
We can see the core dumps is enable. It is means the core switch is open, and the patch is /opt.
We can delete the core file core.* in /opt.
In Solaris OS, we can use the command du -sLh *
to list the size of every subdirectory.
# cd /opt/
root@Site59 # du -sLh *