Sponsored Content
Top Forums Shell Programming and Scripting Script to Monitor List of Ports Post 302465125 by DGPickett on Thursday 21st of October 2010 04:57:33 PM
Old 10-21-2010
Many tcp listeners can be made to respond using telnet. I am not talking about logging in, telnet is just a trivial, general tcp client with some optional behaviors. Telnet to a web server port 80 and type 'GET / HTTP/1.0'+CR+CR. If you telnet to most servers, and they do not respond, still you know they are really listening, even if you do not know the magic bytes to make them talk. For instance, if inetd is the real listener, and the app is missing/crashing, the connection may take for an instant and they be broken off.

Make a file of good netstat -an listen lines and comm them to see if any disappeared.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

list all ports and their relative IP@ if any

Hi all i'm working on a LINUX-based platform. i'm little confused with PORTs. i have my platform connected to many other platforms, i need to know the relative port for each IP@. i know the IP of each connected platform to mine, but i'm not sure about the relative PORT for each platform...... (4 Replies)
Discussion started by: samsal_991
4 Replies

2. UNIX for Dummies Questions & Answers

get the list of open ports in unix?

Hi, what is the unix command to get the list of all open ports in unix? Thank you in advance (1 Reply)
Discussion started by: zainab
1 Replies

3. AIX

How to find list of userdefined ports in aix

I want to know list of userdefined ports available in aix .Suppose I want to run a process at port 20 .using netstat i could able to find out that no process is listening at that 20 .Still I am not able to bring my process up at port 20. Thanks kittu (1 Reply)
Discussion started by: kittu1979
1 Replies

4. Solaris

how to monitor ports

I run into this issue occasionally and just looking for suggestions on how others solved it. I would like to monitor ports on a large number of systems and would like to determine which systems are listening on specific ports. I know there are heavy-weight apps that provide this such as HP ovo... (6 Replies)
Discussion started by: mhm4
6 Replies

5. Solaris

List TCP ports with process

Hello, One of our developers is asking for a command/script in Solaris similar to "netstat -anp" in Linux. He gave this output as an example: root@xxx:~# netstat -anp | grep LISTEN tcp 0 0 0.0.0.0:7937 0.0.0.0:* LISTEN 16082/nsrexecd tcp 0 ... (7 Replies)
Discussion started by: vimes
7 Replies

6. UNIX for Advanced & Expert Users

script for unassigned ports

Hi Guys, could you help me with this. I need a script where if we enter the hostname and range of port numbers, the script must be able to give me the ports that were unassigned to any of the services installed. Thanks, Charan (5 Replies)
Discussion started by: charan314
5 Replies

7. Solaris

List of Ports being used.

Hi, I have 2 queries: a) Is it possible that a port no., not defined in /etc/services, be used by an application. b) how do i find the list of ports is being currently used on my Solaris box(if entry not made into /etc/services) I donot have "lsof" installed on my box. (3 Replies)
Discussion started by: EmbedUX
3 Replies

8. UNIX for Dummies Questions & Answers

How do i list running process with the ports they are using?

How do i list the running process and also view the ports they are listening to at the same time? (3 Replies)
Discussion started by: mena
3 Replies

9. Linux

Packages that monitor OS configs and service/ports?

I have several Redhat servers and workstations that I need to be able to monitor for any changes and be notified of any changes to the OS. The features I need to specifically monitor are: ports - opening of new ports that are not already in a whitelist services - any starting or attempts to start... (1 Reply)
Discussion started by: JCDinPGH
1 Replies

10. UNIX for Advanced & Expert Users

Script monitor website wth default tomcat script

Hi all, on our application server we have the following script that monitor the status of the website, my problem here is that i have edite the retries from 3 to 5, and the timewait to 120 second, so the script should check 5 times every 2 minutes, and if the fifth check fails it must restart... (0 Replies)
Discussion started by: charli1
0 Replies
VDETELWEB(1)						      General Commands Manual						      VDETELWEB(1)

NAME
vdetelweb - Virtual Distributed Ethernet Telnet and/or Web management module SYNOPSIS
vdetelweb [ --web ] [ --telnet ] [ --nodename nodename ] [ --daemon ] [ --rcfile rcfile ] mgmt_socket DESCRIPTION
vdetelweb implements a tiny telnet server and/or a tiny web server for the remote management of a VDE2 switch. OPTIONS
-w, --web start the web server. At least one of --web or --telnet must be set. -t, --telnet start the telnet server. At least one of --web or --telnet must be set. -n, --nodename nodename specify the nodename as seen from remote connections (e.g. in the command prompt or in the web page title). uname nodename is used when this option is not specified. -d, --daemon run as a daemon, using syslog for logging. -f, --rcfile rcfile rc file to set the initial switch configuration. When not specified, vdetelweb searches for ~/.vde/vdetelwebrc and /etc/vde/vdetel- webrc. At leas one rc file must exist and be readable. -h, --help print help. please use it for a more complete list of options. mgmt_socket is the managemnt socket used to communicate with the vde_switch. (This option must match the path used in the -M option for the vde_switch). NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_switch(1), vde_plug(1), vdeq(1). dpipe(1). unixterm(1). AUTHOR
VDE is a project by Renzo Davoli <renzo@cs.unibo.it> Virtual Distributed Ethernet June 16, 2008 VDETELWEB(1)
All times are GMT -4. The time now is 08:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy