How to limit directory size in linux ?
by MKAMALKUMAR from LinuxQuestions.org on (#6PXD1)
I have suricata daemon running, it stores logs in the /var/log/suricata/
I want to limit the size of directory /var/log/suricata/ to some MB, such that total memory is not consumed. How can we achieve this ?
The user is root.
I want to limit the size of directory /var/log/suricata/ to some MB, such that total memory is not consumed. How can we achieve this ?
The user is root.