cancel
Showing results for 
Search instead for 
Did you mean: 

OLDlog

 
SOLVED
Go to solution
Highlighted
Fabian Briseño
Esteemed Contributor

OLDlog

Hello guys.
my var filesystem is at 99% and i got a big file in /var/adm/cron which is called OLDlog

The question is can I delete this file?.
Knowledge is power.
5 REPLIES 5
IT_2007
Honored Contributor
Solution

Re: OLDlog

check last few lines what it has and if you feel you don't need it then you can delete it.

You can compress it if you don't want to delete it now using gzip command.

gzip OLDlog
DCE
Honored Contributor

Re: OLDlog



You should be able to delete it

If you are conservative, copy it tape before deleting it.

spex
Honored Contributor

Re: OLDlog

Hi Fabian,

Compress and transfer a copy of OLDlog to your workstation before you delete, just in case.

PCS
Victor BERRIDGE
Honored Contributor

Re: OLDlog

Hi Fabian,
Should I understand you rebooted not long ago after ages of uptime?
In that case it is safe to remove the file or just keep maybe 400 last lines of the file.
In any case if you were to reboot now the box it will get replaced by the current log file(which is much smaller by the way you addressed your post...)and a new log file would take place...

All the best

Victor
P.S.
If it were the case (long uptime...) you may also have in /var/adm/syslog/ OLDsyslog.log and OLDmail.log files you may want to remove also or save them first and remove...
Fabian Briseño
Esteemed Contributor

Re: OLDlog

Thanks a lot guys.

Knowledge is power.