04-08-2010
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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know i can look in the /etc/services file to look at referenced port numbers, but is there a command that will list the current ports being used? (i.e. what is the application does not have an entry in the services files :confused: ) (2 Replies)
Discussion started by: Ralf
2 Replies
2. IP Networking
Ok, I've been working in the IT field for about 3 years now and I never fully understood the concept of ip ports. I just started a new job that uses Solaris and today it kinda clicked in my head and I want to know if I'm right or wrong.
Does each ip address have multiple ports. because we... (4 Replies)
Discussion started by: eloquent99
4 Replies
3. UNIX for Dummies Questions & Answers
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
4. HP-UX
Can any one tell the command for which process are running on a perticular port (1 Reply)
Discussion started by: zsujith
1 Replies
5. UNIX for Dummies Questions & Answers
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
6. 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
7. Solaris
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
8. UNIX for Advanced & Expert Users
** forum admins: Before you come down on my like a wrath of something, I can get no decent answers so I have to come to these Gurus' court ***
I am by no means Unix expert. However, none of our unix admin (aix & hpux) can give me an answer that makes sense.
My Issue:
Assigned ports in 8601,... (7 Replies)
Discussion started by: rsheikh
7 Replies
9. Shell Programming and Scripting
Hi,
I'm in need of a script that can monitor a list of 12 ports.. If one of the ports isn't in listening mode then email me..
The list of ports are 26401 - 26412.. (6 Replies)
Discussion started by: eclipseagent
6 Replies
10. UNIX for Dummies Questions & Answers
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
LEARN ABOUT ULTRIX
dwtlistboxsetpos
DwtListBoxSetPos(3Dwt) DwtListBoxSetPos(3Dwt)
Name
DwtListBoxSetPos - Makes a specified position (item number in the list) the top visible position in a list box, or as close to the top as
possible.
Syntax
void DwtListBoxSetPos(widget, position)
Widget widget;
int position;
Arguments
widget Specifies the ID of the list box widget whose specified item number in the list you want displayed in the top position.
position Specifies the item number in the list displayed in the top position in the list box.
Description
The DwtListBoxSetPos function makes the specified position (the item number in the list) the top visible position in a list box. The func-
tion determines which item in the list box is displayed at the top of the list box, the choice of which is limited by the DwtNitemsCount
and DwtNvisibleItemsCount attributes to the list box widget. When DwtNvisibleItemsCount is greater than 1 and less than DwtNitemsCount,
the list box widget fills the list box with the maximum visible items regardless of the position value.
For example, if DwtNitemsCount is 10 and DwtNvisibleItemsCount is 5, you cannot make item 8 be displayed at the top of the list box.
Instead, items 6 through 10 would be displayed. Setting position to 4 would make items 4 through 8 be displayed. If DwtNvisibleItemsCount
is 1, you can make any item in the list be displayed at the top of the list box.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtListBoxSetPos(3Dwt)