preload preload preload preload

Background Process or a Deamon Process using PHP

Process Control Functions (PCNTL) Introduction Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a web server environment and unexpected results may happen if any Process Control functions are ...
0

Backuping & Restoring using mysqldump & mysqlhotcopy

Using mysqldump Using 'mysqldump' command you can take the mysql database backup. This command all the datas to a text file. The syntax is shell> mysqldump [options] db_name [tables] shell> mysqldump [options] –databases db_name1 [db_name2 db_name3…] shell> mysqldump [options] –all-databases Backuping ...
0

HTTP performance testing with httperf, autobench & openload

httperf is a benchmarking tool that measures the HTTP request throughput of a web server. The way it achieves this is by sending requests to the server at a fixed rate and measuring the rate at which replies arrive. Running the test several times and with monotonically increasing request rates, one can see the reply rate level off when ...
2

Shell Script to delete unwanted files and directories

#!/bin/bash cd /home/shahid/ # Change the dectory to the specified location monit stop all # Stop all the process rm -rf log/* # Deletes all the files inside the directory log rm -rf dump/processed/* # Deletes all the files inside the directory ...
0

ssh-keygen :: SSH Login without Password

Introduction SSH is often used to login from one system to another with Username Password. There are some cases where we want to login to other systems without spesifing username and password. By generating ssh keys we can login to the system without specifying username and password. ssh-keygen - authentication key ...
3

Apache URL Rewriting

Introduction  One of the more powerful tricks of the .htaccess is the ability to rewrite URLs. This enables us to do some mighty manipulations on our links; useful stuff like transforming very long URL's into short, cute URLs,  redirecting URL to some other URL, transforming dynamic ?generated=page&URL's into /friendly/flat/links, redirect missing pages, preventing hot-linking, performing automatic language translation, and much, much ...
0