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…
I would like to share the ultimate MySQL performance debugger tool.
Written by my friend Nereu.
Read more…
I wrote to scripts with the same idea, to monitor a file age, I have written it also in vbs in the past.
Now I did it in bash and php.
Read more…
I needed to check if operation was happening.
The doubt was, Is the FTP files being copied over every day to the server?
To be sure I wrote this PHP script to check.
It goes into the FTP server and check for a folder with the date of today.
Read more…
TIBCO is a leader offering products and services in the EAI (Enterprise Architecture Integration), particularly Message-Oriented-Middleware (MOM).
Using its own implementation of JMS calles EMS and the more robust one called Rendezvous (RV)
Read more…
mountd: refused mount request: unmatched host
Most likely the problem is on /etc/exports, add your IP or range after the directory you want to share.
vim /etc/exports
/opt/smr 172.17.0.0/16(rw,sync,no_root_squash)
Read more…
How to use the cdrom RedHat .iso
I tested using Vmware ESX and RedHat 5.7
1 . Mount or insert the RedHat CD
Read more…
change linux RedHat / CentOS hostname
vim /etc/sysconfig/network
HOSTNAME=servername
Read more…
Show your love for Nagios by voting in the poll! NOTE: If you haven’t participated on the LQ forum, before you’ll have to create an account and post a new message before you can vote.
Read more…
This is without using LVM.
try fdisk -l to find the new disk path (as in /dev/sdxx)
# fdisk -l
use fdisk /dev/sdxx to create partition.
# fdisk /dev/sdd1
n
p
1
,
t,83
w
Read more…