I have written a script that runs ps -ef every 5 minutes and the output gets appended to a file. I want to get a new file created when the present file size exceeds 200MB. Can someone help me on this?
Data appending to a file and when its value has crossed 200 MB new file should be created
linux;logs