Forum Discussion
2 Replies
Sort By
- arpydaysNimbostratus
For starters, have a look at your UCS backup file sizes and how many you are storing locally on the box. These can bloat for instance if old EPSEC packages are not deleted after upgrades of APM, ideally they should be stored offbox. You can also get a quick feel for the largest directories by using the command below.
du -k -x --max-depth=2 /var | sort -n
If needed you can drill down with
command to investigate specific file sizes…find
cheers
- JinshuCirrus
Hello Friend,
You can use the find command to locate old maintenance-related files and safely delete if you no longer need them. For example, to locate the 20 largest files on the system, you would use the following command syntax:
find
-xdev -type f -exec du {} \; | sort -rn | head -20
In your case the directory would be
. This command will list you top 20 huge files in /var directory. Review the files and delete it using rm commands./var
-Jinshu