Hi Porter,
The output of
root@WiMAX-BS:/var/log ls -ld /var/log/messages
-rw------- 1 root root 41994 Jan 23 03:16 /var/log/messages
==========
Well.. I was thinking like
1) use the ls command grab the size value using the
sed and
2) then if it is greater than 128KB, do an echo " " > /var/log/messages
Now I've crond support, so I can add a script with above logic to cron job.
Thanks
Jay