Connected From This HTTP The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. It is a generic, stateless, protocol which can be used for many tasks beyond its use for hypertext, such as name servers and distributed object management systems, through extension of its request methods, error codes and …
Category Archives: Uncategorized
httperf – HTTP performance measurement tool
Connected From This A UNIX Command $httperf –hog –server www.youtube.com httperf –hog –client=0/1 –server=www.youtube.com –port=80 –uri=/ –send-buffer=4096 –recv-buffer=16384 –num-conns=1 –num-calls=1 Maximum connect burst length: 0 Total: connections 1 requests 1 replies 1 test-duration 0.787 s Connection rate: 1.3 conn/s (787.4 ms/conn, <=1 concurrent connections) Connection time [ms]: min 787.4 avg 787.4 max 787.4 median 787.5 …
Continue reading “httperf – HTTP performance measurement tool”
ASP.NET and Debian HOWTO
Installation 1. apt-get install apache2 2. apt-get install libapache2-mod-perl2 3. apt-get install libapache2-mod-mono configuration 1. /etc/apache2/sites-available/ 2. a2ensite default 3. mkdir -p /srv/www/default/public_html 4. mkdir /srv/www/default/logs 5. put a sample .aspx file in “/srv/www/default/public_html” 6. /etc/init.d/apache2 restart Testing 1. Browser URL — 127.0.0.1/<your .aspx file>
hello-again.pl —-x quotes…
A UNIX Command $perl hello-again.pl Greetings, small planet \nWhat’s cooking? $cat hello-again.pl print ‘Greetings, small planet \n’; print “What’s cooking?\n”; $ UNIX Explanation Shows how single quotes differ from double quotes in hello-again.pl source : http://sandbox.mc.edu/~bennet/perl/leccode/index.html
response.write –x asp .
A Windows Command source : http://www.w3schools.com/asp/default.asp
hello.pl —x Prints the message using two different delimeters.
A UNIX Command $cat hello.pl # Prints the message using two different delimeters. print “Hello, world!\n”; print qq=Did you say “Hello?”\n=; $perl hello.pl Hello, world! Did you say “Hello?” $ UNIX Explanation “print” is categorized under Input/Output Functions. Prints the message using two different delimeters. source : http://sandbox.mc.edu/~bennet/perl/leccode/index.html
parameters tcp_retries2
A UNIX Parameter $cat /proc/sys/net/ipv4/tcp_retries2 15 $ Parameter Definition How many times to retry before killing alive TCP connection. RFC1122 says that the limit should be longer than 100 sec. It is too small number. The default value of 15 corresponds to ~ 13 – 30 minutes, depending on RTO. Parameter Code Internals snippet 1 …
First steps…
[BITS 32] [global start] [extern _k_main] ; this is in the c file start: call _k_main cli ; stop interrupts hlt ; halt the CPU
porting first steps asm code to GNU
.global start [extern _k_main] ; _start: call _k_main cli ; hlt ; $as –64 kernel_start.s kernel_start.s: Assembler messages: kernel_start.s:2: Error: junk at end of line, first unrecognized character is `[‘ $
linux 0.01 boot.s (copy from linux 0.01)
boot.s is loaded at 0x7c00 by the bios startup routines and moves itself out of the way to address 0x90000, and jumps there.It then loads the system at 0x10000, using BIOS interrupts. Thereafter it disables all interrupts,moves the system down to 0x0000 , changes to protected mode and calls the start of system. The system …