Script to count how many files exists in directory and subdirectories based on Gerd Stammwitz original script. It is helpfull in some cases, just to find out how many files you have recursive in a directory
File cleanup script for Linux
Sometimes disks fill up with logs for example, and we the administrators have to login sometimes even wake up just to delete log files! Well this script solves the problem. In this case I used to cleanup Glassfish log files. […]
Nagios plugin to check folder
This plugin object is to check if a file has been inside certain folder for a period of time and alert if so. It’s still not fully developed so the variables are not passed as arguments but are inside the […]
socket:java.net.SocketException: Too many open files
On our Glassfish enviroment we started seeing the following error: socket:java.net.SocketException: Too many open files Its caused by a limit on the OS. To find out your OS limit type: # ulimit -n To check how many open files a […]