Hi All,
Q. I have one log file that log file contains application
message but the application message in log file not append
any date value. so after 1 to 2 date that file is big size ,
I want to delete contents only that was appended before 4
days ago from that single file and rest of the file contents
would be remains same.
Answers were Sorted based on User's Feedback
Answer / srinivas
there are two ways to find files
1)find /var/adm/log -atime -4
2)tail -f n 20 /var/adm/log
Is This Answer Correct ? | 0 Yes | 0 No |
what is split brain? if it happens, what are the solutions need to be applicable?
What is VTS..??
what is sc prompt in solaris? how can we get that sc prompt?
how to kill the process
what is daemon? NFS & NIs – Daemons?
Hi All, Q. I have one log file that log file contains application message but the application message in log file not append any date value. so after 1 to 2 date that file is big size , I want to delete contents only that was appended before 4 days ago from that single file and rest of the file contents would be remains same.
Are kernel parameters tunable during runtime?
What is OBP and how do you access it?
please give detail procedure how do replace failed disk under control of SVM and VxVm
what r the configuration files for rlogin and ssh
About ARP protocol?
How u can detach or remove the disk it is in Veritas (Vxvm) control that is the disk in the production server ?
3 Answers Tech Mahindra, Wipro,