On Monday 06 Sep 2004 17:39 pm, Adrian Lynch wrote:
Wookey Hole Road --- a place where Han Solo sometimes went? :OD
Me like :-)
--
Tom Chiverton
Advanced ColdFusion Programmer
Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS.
On Saturday 04 Sep 2004 03:08 am, Dick Applebaum wrote:
I want to write a 'Nix shell script to see if a cf server instance is
running (accepting requests) an a given port - say 8101
netstat -alpn | grep 8101
then pipe to something like 'awk {print $8}' that will get you the process
name, just
Wookey Hole Road --- a place where Han Solo sometimes went? :OD
-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: 06 September 2004 17:02
To: CF-Talk
Subject: Re: SOT: Nix shell script to test if CF is running on port
--
Tom Chiverton
Advanced ColdFusion
On Sep 6, 2004, at 9:02 AM, Thomas Chiverton wrote:
On Saturday 04 Sep 2004 03:08 am, Dick Applebaum wrote:
I want to write a 'Nix shell script to see if a cf server instance
is
running (accepting requests) an a given port - say 8101
netstat -alpn | grep 8101
then pipe to something like
Dick,
use the man pages to see the options for netstat...I don't run OSX or
I'd give you the fix.
just type:
man netstat
HTH
-Josh
Dick Applebaum wrote:
On Sep 6, 2004, at 9:02 AM, Thomas Chiverton wrote:
On Saturday 04 Sep 2004 03:08 am, Dick Applebaum wrote:
I want to write a 'Nix
Josh
I've done that, here's the synopsis:
NETSTAT(1) BSD General Commands Manual
NETSTAT(1)
NAME
netstat - show network status
SYNOPSIS
netstat [-AaLlnW] [-f address_family | -p protocol] [-M core] [-N
system]
netstat [-gilns] [-f address_family] [-M core] [-N system]
netstat -i | -I
Dick Applebaum wrote:
when i run netstat w/o any parms, it does not show some ports that I
know are active (80, 9090, etc)
lost?
interesting...not sure why that would be.
I run a farm of linux servers and the following worked fine for me on my
systems:
netstat -alpn | grep (my port here)
Josh
Thanks for your help
Based on what you posted, I did some experimenting and found something
that appears to work --the first 2 tests were run after the server
(9090 in this case) was started, but had not yet become ready.The 3rd
test shows the server is ready.
So it, appears that I have
I know I have seen this done somewhere!
I want to write a 'Nix shell script to see if a cf server instance is
running (accepting requests) an a given port - say 8101
This is for OS X but should work on any 'Nix flavor.
Any help would be greatly appreciated
TIA
Dick
[Todays Threads]
[This
9 matches
Mail list logo