03-27-2004
what about the /etc/services file??
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how do I find the process that is running on a port in HP-Unix?
Murali (8 Replies)
Discussion started by: manduva
8 Replies
2. Shell Programming and Scripting
Hi All,
I am trying to write a shell script which firstly will search some files and then increase the port numbers mentioned in them by a certain no.
let me clear it with an example-
suppose there r few files a,b,c,d....
file a's content-
<serverEntries xmi:id="ServerEntry_1"... (3 Replies)
Discussion started by: ankushsingh10
3 Replies
3. Solaris
Hi all ,
I want know the port no on which a particular application is running.
How to find that?
Thanks in anticipation (11 Replies)
Discussion started by: kumarmani
11 Replies
4. Shell Programming and Scripting
cat *.out |grep "<some text>" | awk '{print $6}'
For ex,This will reutrn me
11111
22222
is it possible to add these two numbers in the above given command itself?I can write this to a file and find the sum.
But I prefer to this calculation in the above given line itself.
Any... (3 Replies)
Discussion started by: prasperl
3 Replies
5. IP Networking
Hello all,
I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer.
and after 1 second the connection resets.
As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies
6. Shell Programming and Scripting
I have two files
The first file is in following format
5 937 8
1860 5 1
683 2 1
129 2 2
5 938 8
1122 5 1
20 520 4
1860 1851 1
5 939 8
1122 1124 1
20 521 4
5883 14 6
1860 1852 1
683 4 2 (5 Replies)
Discussion started by: stuggler
5 Replies
7. Shell Programming and Scripting
i want to basically get the lowest numbers from a list ... for example my input file is ....
1
2
3
6
7
8
9
10
11
13
Now i want to create a script or a one liner which i can use like this ...
for example ..../getlowest 3 --> this gives me the next 3 lowest numbers which... (6 Replies)
Discussion started by: greycells
6 Replies
8. Shell Programming and Scripting
Hi,
I have a file as
ABC 1634230,1634284,1634349,1634468 1634272,1634301,1634356,1634534
What I want is to find distance between the numbers.. column 1 is the gene name and column 2 are starts and column 3 are their respective stops for the starts. So what I want is column 3 which has +1... (2 Replies)
Discussion started by: Diya123
2 Replies
9. SCO
How can I determine what process is currently using a serial port? A good bit of google searching hasn't turned up anything useful, but it seems like there has to be a way to do this without too much difficulty.
When I first started looking into this problem, I assumed that when a port was in... (2 Replies)
Discussion started by: jdsnatl
2 Replies
10. Shell Programming and Scripting
Hi Guys,
I saw this line of code in a script
sftp username@hostname#2200
get file
and the script never asked for password. Can you please explain on this?:confused: (9 Replies)
Discussion started by: PikK45
9 Replies
LEARN ABOUT HPUX
xvungrabport
XvUngrabPort(3) libXv Functions XvUngrabPort(3)
NAME
XvUngrabPort - release port grabbed for video operation
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvUngrabPort(Display *dpy, XvPortID port, Time time);
ARGUMENTS
dpy Specifies the connection to the X server.
port Specifies the port to be released. If the port had not been previously grabbed, the request is ignored.
time Specifies the request timestamp.
DESCRIPTION
XvUngrabPort(3)
releases a grabbed port. If time specifies a time before the last XvGrabPort(3) was executed, the request is ignored.
RETURN VALUES
[Success]
Returned if XvUngrabPort(3) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvUngrabPort(3) failed to allocate memory to process the request.
DIAGNOSTICS
[XvBadPort]
Generated if the requested port does not exist.
SEE ALSO
XvGrabPort(3)
X Version 11 libXv 1.0.7 XvUngrabPort(3)