[arm-allstar] Clearing Log Files
Tony Ross
ynotssor at yahoo.com
Sun Oct 27 22:04:53 EDT 2019
On 10/25/19 4:36 AM, "James Hause via ARM-allstar" wrote:
> I know that rebooting a node seems to clear out all the log files, is there
> a means via Supermon to clear out the log files? Would be nice to have a
> script, or a button on Supermon that would clear out all the log files is
> desired. They can get rather large.
# mount | grep /var/log
tmpfs on /var/log type tmpfs (rw,nosuid,nodev,relatime,size=51200k)
This indicates that the /var/log filesystem exists only in the
computer's memory rather than on the OS disk/card, which is why it's
entirely new on a reboot.
"rather large" is entirely subjective. Until the combined size of the
temporary filesystem approaches 51200k, it simply isn't a problem of any
kind. If it is approaching 51200k, then you should post a brief sampling
of the larger log files to help diagnose the actual problem.
More information about the ARM-allstar
mailing list