Sponsored Content
Operating Systems Solaris Check if an application is accessible when trying to use http://localhost in Unix Post 302247400 by JimmyJ on Wednesday 15th of October 2008 04:03:38 PM
Old 10-15-2008
Question Check if an application is accessible when trying to use http://localhost in Unix

Hm am the perfect newbieSmilie

I handle an application on a production servers having a SunOS 5.8 and iplanet webserver instance. Users trying to access it on https are getting "Cannot find the server". I checked with the n/w and secuirty and they said traffic is allowed to the server. Everything was fine till yesterday.

Now I want to check if the server instance is working fine. In windows I could have accessed it as htps://localhost/myapp in a browser to confirm it.

Is there a way I can do this on Unix. Any chance to type in a url and get something back which could be useful

Thanks in advance

Jimmy is trying to walk for the first timeSmilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix, Netscape and Localhost

I have configured local host (127.0.0.1) in the hosts file, and the Apache conf file. Why does Netscape take me to a search page when I attempt to go to Http://localhost ?? (4 Replies)
Discussion started by: scruffeone
4 Replies

2. IP Networking

How can I check what port addresses used the application

Hello Mentors! I am a new here in the furom, i hope somebody can understand my problem. Basically we have an application here called unigraphics and being installed per station and the setup is look like this. 1. installed unigraphics UGNX3 version on every station 2. some are installed in... (1 Reply)
Discussion started by: eykyn17
1 Replies

3. UNIX for Dummies Questions & Answers

upper limit of accessible memory space for a single process in Unix/Linux

Hellp all, if there is 3G memory in my Unix server I want to know if all the 3G space can be used by ong sigle process. As i know, in Windows, one process can only access at most 1G memory despite there is probably more than 1G memory is equipped. (1 Reply)
Discussion started by: cy163
1 Replies

4. OS X (Apple)

Check for open application

Hi there, Is there any command to check if a particular application is open on a mac? thanks :) (3 Replies)
Discussion started by: davewg
3 Replies

5. Shell Programming and Scripting

check if file is being accessed by any application

Hello, is there maybe a way to check if a specific file is being accessed at the moment? Example: You will start copying a 10 GB file from A to B, how could I code it so my script actually knows when file B is finished copying? (1 Reply)
Discussion started by: TehOne
1 Replies

6. Shell Programming and Scripting

how to check that nfsmounted filesystem on nfsclient is accessible or not

hello, on Linux machine,how can i check with any command or any trick that nfs mounted file system is actually accessible or not w/o creating any file in nfsmounted location.mount,df -t nfs etc commands will only show mount entries but in case of small storage which is nfs mounted ,how to know... (1 Reply)
Discussion started by: pankajd
1 Replies

7. UNIX for Dummies Questions & Answers

How to check if an application has been installed on a unix/linux box?

hi, guys, now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command. just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies

8. UNIX for Advanced & Expert Users

Setting a permanent global variable in unix accessible from any script

Is there anyway in which i can set a permanent global variable in unix, which when initialised with a value and modified during any shell script, would retain its value even if i logout and login I dont know whether i am being able to express my need clearly but basically what i want is a... (3 Replies)
Discussion started by: arindamlive
3 Replies

9. HP-UX

how to check remote server port listening from application.

Hi, I have an application running on HP-UX, from this application I need to findout if the port number. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX. Is there any way of doing it using "system()" function or any other? I noticed that nmap, netcat are not... (0 Replies)
Discussion started by: einsteinBrain
0 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 05:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy