- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- how to clear logs from R80.20 server
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to clear logs from R80.20 server
Hi All
We are getting errors on our R80.20 management server when we log into it, it is coming up that var/log is below the space level required.
Can anyone tell me how we find out what is taking up most of the logs? and also how can we clear some of them off?
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Remove the core dump files:
32-bit: /var/crash/<date>/vmcore
64-bit: /var/log/crash/<date>/vmcore
/var/log/dump/usermode
2. Remove old upgrade_export files:
# find / -name *.tgz
3. # find / -type f -size +100000 -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nk 2,2
This will display all files from greater then 10MB and sort them in a readable and understandable way.
Caution: Do not arbitrarily delete files without knowing what they are used for. Back up your files before deleting. Remove ONLY the files, not the directories.
