Monday, August 25, 2008

Apache load test tool

For web application, to test server load is important one to check the performance.

If you have installed apache in your machine, you could use "ab"[apache benchmarking] command to test the server load.

command:

ab -n 100 -c 100 http://abc.com/

Explanation:


ab ---> apache command
-n ---> number of requests
-c ---> number of concurrent requests.

for more info


Wednesday, August 20, 2008

How to change default size of terminal [Ubuntu]

You can edit the following file with root access.
/usr/share/vte/termcap/xterm

The following entry is the one we have to change.
:co#80:it#8:li#24:\

To change the number of columns, change the co# number, in this case 80.
To change the number of rows, change the li# number, in this case 24.
So as an example if you want a terminal window of 80x54:
:co#80:it#8:li#54:\

Now the terminal size would be half of the screen.