A A
RSS

Tag Archive | "Scripts"

MySql Status Updater

Saturday, February 13, 2010

0 Comments

Mysql status update is a script which provides status update by email or SMS whenever mysql is restarted, huge fluctuation in numbers difference about queries and slow queries. Thought of sharing. Please follow link to get more details on it.

MySQL Show Full Processlist

Wednesday, February 10, 2010

0 Comments

Found a great and fantastic tool which monitors full processlist of mysql query running on server. No logs required to get the details. You can use it to log to any way you want it and can see what all queries have been executed on server for fine tuning your application. Written is perl, Its [...]

MySql Usage Monitoring

Tuesday, February 9, 2010

0 Comments

Cool piece of perl script that monitors usage/resource consumption of Mysql on Linux machine.Written in perl and can be modified to get details of almost any running program.Liked a lot as it helps me to get resource consumption of many programs. Please follow link to get more detail on it.

Apache Log Parsing Bash

Monday, February 1, 2010

0 Comments

Apache log has various formats, out of which common and combined are mostly used ones. Bash script that is provided below parses apache common/combined logs and displays information out of its stats. In the resulting output, the “User Agent” part can be extended further to display many other information like Browsers, OS and so on. Any [...]

Log File Watcher

Wednesday, January 20, 2010

0 Comments

Want to monitor your logs in real time and generate action based on matching pattern, you can use swatch. It produces desired result with negligible load on the server and alerts admin based on pattern it is asked to look for in logs. Monitors any kind of logs. Please follow link to get more details on [...]

Server Report Per Day In Mail

Friday, January 15, 2010

0 Comments

Found a great tool which generates server report and sends it via mail. Reports can also be kept in folders and displayed on web page as index is also defined as a calender wise for reports generated. Many features support. Please follow link to get more details on it.

Apache Virtual Host Parsing Bash

Tuesday, December 29, 2009

0 Comments

Below script will parse Apache config and will grab only the VirtualHost section from config file. Script can be extended to parse any directives in apache config file. #!/bin/bashmyifs=$IFSIFS=$(echo -en “\n”)scan_file=`sed -n ‘/^<VirtualHost*/,/<\/VirtualHost>/p’ /etc/httpd/conf/httpd.conf | grep -v “#” |  sed ’s/^[ \t]*//;s/[ \t]*$//’ | sed ’s/<//g’ | sed ’s/>//g’ | sed ’s/:/ /g’ | sed ’s/\/V/V/g’` [...]

Collection Of PHP Scripts

Tuesday, December 22, 2009

0 Comments

Looking for php scripts. Found an interesting link which has cool collection of php scripts. Really interesting, It has collection of php, java, Ajax and many other. Check out by visiting site .

Security Scanner For Apache Logs

Wednesday, December 2, 2009

0 Comments

Wondering to figure out if there was an attempt on your site using Apache logs, you can do that using Ida. It is Intrusion Detection for Apache which scans Apache logs to detect attempts. The log format needs to be in common format. It contains plugins to find out attempts. Really a handy tool to [...]

Backup Scripts

Sunday, November 29, 2009

0 Comments

Backup of syslog is very critical in order to analyze and get more details about your running machine. I found an interesting link to do backup of syslog for various kind of flavors of Linux. Please follow link to get more detail.

Sponsored Links

Categories

Blogroll

Recent Comments

Archives

Ad Ad