Sponsored Content
Top Forums UNIX for Dummies Questions & Answers restarting a webserver on hang Post 302204946 by scarfake on Friday 13th of June 2008 01:45:25 AM
Old 06-13-2008
but what i long wondered

why the heck do webservers that are distributed for production use like APACHE not bring such a function with them selves??
 

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies

2. SuSE

Cannot connect to webserver

Hello All, I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to my linux server. I tried pinging my server from work - it worked. I tried running localhost... (5 Replies)
Discussion started by: negixx
5 Replies

3. UNIX for Dummies Questions & Answers

Restarting the Spooler

:confused: Everytime our UNIXWARE 7 Server is restarted we also have to restart the spooler. If the spooler is not restarted, print jobs get stuck in the queu. Once restarted by using the following command lpstop and lpstart everything works fine. Does anyone have any ideas what could be causing... (0 Replies)
Discussion started by: Yorgy
0 Replies

4. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

5. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

6. Solaris

telnet Webserver GET /

I want to incorporate this in a script for some simple monitoring for my webserver telnet localhost 80 GET /opencms/opencms/test/index.html how to do it? I tried echo "GET /opencms/opencms/test/index.html" | telnet localhost 80 I tried telnet localhost 80 << EOF echo "GET... (4 Replies)
Discussion started by: sparcguy
4 Replies

7. Programming

Restarting the program

Hi, I use gfortran to run the code. Some times I need to stop the program and restart it. On restarting I need to run the program from the beginning. Is there any script or option available to restart the program from where it stopped? This script/option will be immensely useful for... (2 Replies)
Discussion started by: rpd25
2 Replies

8. UNIX for Dummies Questions & Answers

Restarting a process

Hi, How is it possible to restart only your process. I can get the process killed but I am not able to start it. For eg : i first did this ps -ef|grep _out --displays all the process with _out in the name then I killed kill -15 36044 -- process id. Now how can i start the same... (1 Reply)
Discussion started by: TH3M0Nk
1 Replies

9. Shell Programming and Scripting

Need help in restarting process

Hi friends, I have one unix command which is used to check the network status manually. followig is the command check_Network this command give follwoing status Network 1 is ok Network 2 is ok network 3 is ok network 4 is ok . . . . Network 10 is... (8 Replies)
Discussion started by: Nakul_sh
8 Replies

10. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies
HTTPING(1)						      General Commands Manual							HTTPING(1)

NAME
httping - measure the lateceny and throughput of a webserver SYNOPSIS
httping [options] options: [-g url] [-h hostname] [-p portnumber] [-x proxyhost:port] [-c count] [-i interval] [-t timeout] [-s] [-G] [-b] [-L xferlimit] [-X] [-l] [-z] [-f] [-m] [-o rc,...] [-e string] [-I useragent string] [-R referer string] [-r] [-n warn,crit] [-N mode] [-q] [-V] DESCRIPTION
The program httping lets you measure the latency of a webserver. Since version 1.0.6 also the throughput can be measured. OPTIONS
-g url This selects the url to probe. E.g.: http://localhost/ -h hostname Instead of '-g' one can also set a hostname to probe with -h: -h localhost -p portnumber -p can be used together with -h. -p selects the portnumber to probe. -x proxyhost:port] Probe using a proxyserver. Note that you're also measuring the latency of the proxyserver! -c count How many probes to send before exiting. -i interval How many seconds to sleep between every probe sent. -t timeout How long to wait for answer from the other side. -S Split measured latency in time to connect and time to exchange a request with the HTTP server. -s When a successfull transaction was done, show the HTTP statuscode (200, 404, etc.). -G Do a GET request instead of a HEAD request: this means that also the complete page/file must be transferred. Note that in this case you're no longer measuring the latency! -b Use this switch together with '-G'. When this option is used, the transferspeed (in KB/s) is shown. -B Use this switch together with '-G'. Ask the HTTP server to compress the returned data: this will reduce the influence of the band- width of your connection while increasing the influence of the processorpower of the HTTP server. -L x Use this switch together with '-G'. Limit the amount of data transferred to 'x'. Note that this only affects the content of the page/file and not the headerdata. -X Use this switch together with '-G'. For each "ping" show the amount of data transferred (excluding the headers). -l Connect using SSL: for this to work you need to give a 'https'-url or a 443 portnumber. -z When connecting using SSL, display the fingerprint of the X509 certificate(s) of the peer. -a Audible ping -f Flood ping: do not sit idle between each ping but ping as fast as the computer and network allow you to. -m Show machine readable output (also check '-o' and '-e'). -o x,x,... This selects the HTTP status-codes which are regarded as an OK-state. -e str When the status-code differs from the ones selected with '-o', the given string is displayed. -I str UserAgent-string to send to the webserver (instead of 'HTTPing <version>'). -R str Referer-string to send to the webserver. -r Only resolve the hostname once: this takes the resolving out of the loop so that the latency of the DNS is not measured. Also use- full when you want to measure only 1 webserver while the DNS returns a different ip-address for each resolve ('roundrobin'). -n warn,crit Switches HTTPing to Nagios-plugin mode 1: return exitcode '1' when the average response time is bigger then 'warn', return exitcode '2' when the the average response time is bigger then 'crit'. In all other cases return exitcode '0'. -N x Switches HTTPing to Nagios-plugin mode 2: return 0 when everything is fine, 'x' when anything fails. E.g.: 1 => Nagios warning state, 2 => Nagios critical state. -q Be quiet, only return an exit-code. -A,U,P Activate the basic authentication, Username follow the -U, Password the -P. -V Show the version and exit. KEYS
Press <CTRL> + <c> to exit the program. It will display a summary of what was measured. EXAMPLES
httping -g http://localhost/ Ping the webserver on host 'localhost'. httping -h localhost -p 1000 Ping the webserver on host 'localhost' and portnumber 1000. httping -l -g https://localhost/ Ping the webserver on host 'localhost' using an SSL connection. httping -g http://localhost/ -A -U username -P password Ping the webserver on host 'localhost' using the Basic HTTP Authentication. BUGS
None. This program is totally bug-free. SEE ALSO
http://www.vanheusden.com/httping/ NOTES
This page describes httping as found in the httping-1.0.8 package; other versions may differ slightly. Please mail corrections and addi- tions to folkert@vanheusden.com. Report bugs in the program to folkert@vanheusden.com. Consider using PGP. My PGP key-id is: 0x1f28d8ae httping 2005-11 HTTPING(1)
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy