I would like to share the ultimate MySQL performance debugger tool. Written by my friend Nereu. The output is like this The code: #!/usr/bin/perl # # 2011-11-03 Nereu # 2011-11-05 Nereu – mytop # use DBI; # EDIT HERE FOR […]
check_file_age
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. BASH Version, example: check_file_age.sh /opt/solr-3.4.0/app/solrrioshow/conf/dataimport.properties 1440 1441 UPDATED: Its […]
CHECK FTP DIR
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 […]
TIBCO
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) The brilliance of TIBCO is in its […]
mountd: refused mount request: unmatched host
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) Check also /etc/hosts.allow /etc/hosts.deny Good material for troubleshooting: http://www.cs.bgu.ac.il/~arik/usail/network/nfs/tips.html http://osr507doc.sco.com/en/PERFORM/NFS_monitoring.html http://tldp.org/HOWTO/NFS-HOWTO/troubleshooting.html […]
yum cdrom repo
How to use the cdrom RedHat .iso I tested using Vmware ESX and RedHat 5.7 1 . Mount or insert the RedHat CD 2. Mount the cdrom mount /dev/cdrom /mnt/cdrom 3. Write the repo file vim /etc/yum.repos.d/rhel-cdrom.repo [rhel-cdrom] name=rhel-cdrom baseurl=file:/mnt/cdrom/Server […]
change linux hostname
change linux RedHat / CentOS hostname vim /etc/sysconfig/network HOSTNAME=servername vim /etc/hosts 10.10.10.10 servername hostname servername verify hostname service network restart