02-02-2010
hi
on Hp UX you can find the same using
netstat -an | grep LISTEN which gives a less cluttered result.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I want to write a server application that would accept HTTP requests from client.
The server would be on a machine that has no connection to the INTERNET.
The clients that would be posting their HTTP requests would be doing so through webbrowser .Thus it would be sort of intranet application.... (0 Replies)
Discussion started by: rraajjiibb
0 Replies
2. IP Networking
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
Hello
im using sunos im trying to lock down application that taking my port
when Im doing "netstat -in | grep 8080"
Is gives me the indication that the port is taken but no indication who is taken the port.
How can I find out who is taking my port?
Thanks allot (7 Replies)
Discussion started by: umen
7 Replies
4. Programming
Dear Sir,
i m going to use NP5610-16 moxa device for multiport serial communication.
i m using fedora-core 6 o.s.
after installation it will detect serial ports as /dev/ttyr0,/dev/ttyr1...ttyr32.
there are total 32 com ports.
now i want to write application which monitor all serial ports and... (6 Replies)
Discussion started by: amitpansuria
6 Replies
5. Linux
Hi All,
I have two MQ (port) 1414 established (going out)
$ netstat -an | grep 1414
tcp 0 0 0.0.0.0:1414 0.0.0.0:* LISTEN
tcp 0 0 20.76.1.1:32855 142.8.1.3:1414 ESTABLISHED
tcp 0 0... (2 Replies)
Discussion started by: itik
2 Replies
6. Shell Programming and Scripting
Is it possible in unix to write a script that could determine when a particular application is running or not ? (3 Replies)
Discussion started by: zapper222
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can someone provide me the Linux command to get the list of all processes running on a particular port.
Thanks,
Sandy (1 Reply)
Discussion started by: sandy8765
1 Replies
8. HP-UX
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
9. Shell Programming and Scripting
Hello
i have problem passing ctrl+C into shell script
this script will run application and return value but never ends and stay running.
i tried trap and not working at all
the command should look like this :
sarm pcsp -s CHG_M_P1
i want something to stop this command after... (9 Replies)
Discussion started by: mogabr
9 Replies
10. Shell Programming and Scripting
Hi Expert,
Anybody can figure it out on how to generate new port base on my last port let say my last port var1=124 and increment for new port 125,126 but this new two ports need to look at first if this port is not in used by any service, if the port is in used add 1 to new port and if in used... (6 Replies)
Discussion started by: lxdorney
6 Replies
LEARN ABOUT PLAN9
inet_type
inet_type(4) File Formats inet_type(4)
NAME
inet_type - default Internet protocol type
SYNOPSIS
/etc/default/inet_type
DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands.
The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be
assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default,
both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by
setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) commands.
IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat.
BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat.
The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example,
even if the value of DEFAULT_IP is IP_VERSION4, the command
example% ifconfig -a6
will display all IPv6 interfaces.
EXAMPLES
Example 1: Suppressing IPv6 Related Output
This is what the inet_type file must contain if you want to suppress IPv6 related output:
DEFAULT_IP=IP_VERSION4
SEE ALSO
ifconfig(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)