Archive

Posts Tagged ‘files’

check how many files in a directory

June 7th, 2013 3 comments

Script to count how many files exists in directory and subdirectories
based on Gerd Stammwitz original script.

Read more…

Categories: BashScripts Tags: , , , , ,

File cleanup script for Linux

May 2nd, 2012 1 comment

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. Just setup it on cron with X amount
of days to keep files. Carefull because its recursive.

Read more…

Categories: BashScripts Tags: , , , , , ,

Nagios plugin to check folder

August 1st, 2011 No comments

This plugin object is to check if a file has been inside certain folder
for a period of time and alert if so.

Read more…

socket:java.net.SocketException: Too many open files

August 19th, 2010 1 comment

On our Glassfish enviroment we started seeing the following error:
socket:java.net.SocketException: Too many open files

Read more…

Categories: HowTo, Linux Tags: , , , , , , , ,