CK Developer Notes
07 February 2014
GC logging addition to Tomcat
Add the following to CATALINA_OPTS
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/home/PATH_TO_LOG/gc.log
06 February 2014
Command to remove files older than N days
The below command removes files older than 2 days in the current directory
sudo find . -mtime +2 -exec rm {} \;
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)