Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Check the URL is alive or dead with port number Post 302614169 by emoubi on Wednesday 28th of March 2012 10:03:54 AM
Old 03-28-2012
Correct.
Or use --spider with wget:
Code:
       --spider
           When invoked with this option, Wget will behave as a Web spider, which means that it will not download the pages, just check that they are there.

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check URL using PERL

I am trying to create a perl script that will make sure a web page can be accessed going through an Apache httpd. The actual content of the web page does not matter. Most likely the web page will just have "You have successfully reached this port." This script will eventually be running... (5 Replies)
Discussion started by: rehoboth
5 Replies

2. Shell Programming and Scripting

check if job still alive and killing it after a certain walltime

Hi! I'm using a script to start a process that might run forever if some parameters are given wrong (it's part of an optimization). I would now like to have the process killed after a certain walltime in that case. So far I get it done with the following lines ./My_process.e & pid=`ps -ef |... (3 Replies)
Discussion started by: ciwstevie
3 Replies

3. UNIX for Dummies Questions & Answers

Check whether a process is alive or not

Hi Everybody I have small requirement that needs to be implemented in shell script. Currently i have shell script which invokes a java process say "Process A" which runs in background. If some one tries to invoke again the same shell script , then there should be some mechanism inside the... (23 Replies)
Discussion started by: appleforme1415
23 Replies

4. Shell Programming and Scripting

How to check if a pid is alive?

I want to do some operations provided the pid is active. (6 Replies)
Discussion started by: ScriptDummy
6 Replies

5. Shell Programming and Scripting

Check URL with ksh

Hi everybody, I'm currently writing a ksh script which automates the entire startup of a large number of Tibco BusinessWorks domains, as well as all the deployed components running on it. My script is to be used after an infrastructure release, when the entire environement is down. It... (1 Reply)
Discussion started by: HexAnubis666
1 Replies

6. Shell Programming and Scripting

wget to check an URL

I all, I wrote an script which starts a Weblogic server and waits until its loaded to deploy several apps. The way I checked was something like: while ; do wget --spider <URL>:<port>/console > /dev/null 2>&1 rc=$? done This works perfectly because it's an HTML site and when server is... (2 Replies)
Discussion started by: AlbertGM
2 Replies

7. Shell Programming and Scripting

ksh to check url

I have a server that keeps going down (503 Service not available). Until we find out the problem I would like to setup a simple ksh script in cron that will query url and report the status code. This way we can get someone to restart the process. Does anyone know a simple command I can call... (5 Replies)
Discussion started by: oldman2
5 Replies

8. Shell Programming and Scripting

Url Check for a keyword.

thanks (0 Replies)
Discussion started by: kata33
0 Replies

9. Ubuntu

How to authorisation resctricted access to public_ip:port/extension url in Ubuntu?

Hello, I am dealing with live video streaming server and have no problem with video quality. The main issue is that I am unable to restrict access to related address. Apache2 is installed into system. My objective is to make it "authorisation restricted access". There should be a username :... (3 Replies)
Discussion started by: baris35
3 Replies

10. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
ace-of-penguins(6)						   User Commands						ace-of-penguins(6)

NAME
ace-of_penguins - Solitaire-games with penguin-look SYNOPSIS
ace-canfield ace-freecell ace-golf ace-mastermind ace-merlin ace-minesweeper ace-pegged ace-solitaire ace-spider ace-taipei ace-taipedit ace-thornq OPTIONS
None. DESCRIPTION
From the author's intro.html: "The Ace of Penguins is a set of Unix/X solitaire games based on the ones available for Windows(tm) but with a number of enhancements that make my wife like my versions better :-)" ace-canfield Solitary card-game ace-freecell Solitary card-game ace-spider Solitary card-game ace-solitaire Solitary card-game ace-thornq Solitary card-game ace-golf Another solitary card-game ace-mastermind Guess a secret combination of colors. ace-merlin Classical puzzle, rather frustrating. ace-minesweeper Find all hidden mines in a minefield. ace-pegged Classical board game. ace-taipei Asian puzzle, remove pairs of equal stones. ace-taipedit Editor for your own ace-taipei levels. KEYS
All games use the same library of functions and thus the same keys: F1 Online help. Esc Esc or "Q" to leave the game. NOTES
The upstream author DJ Delorie has written an informative webpage which is installed in /usr/share/doc/ace-of-penguins/intro.html The original binaries were renamed to include prefix ace-* to avoid name clashes. BUGS
If you encounter any bugs in this package, please report them to the Debian Bug Tracking System at http://bugs.debian.org/. ENVIRONMENT
None. FILES
None. SEE ALSO
Other games in /usr/games AUTHORS
Programs are by DJ Delorie, some by Martin Thornquist. This manual page was written 1999-09-09 by Thimo Neubauer <thimo@debian.org> for the Debian GNU system (but may be used by others). Updated 2007-09-03 by Jari Aalto <jari.aalto@cante.net>. Released under license GPL v2 or (at your option) any later version. ace-of-penguins 2012-03-23 ace-of-penguins(6)
All times are GMT -4. The time now is 06:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy