Delete system log file but the space not released
I have empty the log file using:
cat /dev/null >/var/spool/compaq/cma.log but the space is not released. I checked the process which opening the log file, but no process found. lsof /var/spool/compaq/cma.log Could you please let me know how to find the process. I don't want to reboot the system. Thanks, Julie |
Hi.
Try 'lsof | grep deleted'. Dave |
/var is 100% due to cma.log
Best solution for this problem is to stop hpasm deamon.
/opt/compaq/hpasm/etc/hpasm stop and then cd /var/spool/compaq/ compress cma.log file using gzip -9 cma.log and then restart the hpasm deamon. Durga Prasad Kala System Admin Linux AT&T Linux Support durga.kala@gmail.com |
All times are GMT -5. The time now is 06:11 PM. |