i am trying to find the Jobss port number(either default port number or any other port number assigned) from the running process id.
But it's giving me multiple port numbers when searching with netstat command. Can someone help me in finding the correct port number from the process id.
hello,
I have the following script to check the invoice number is in order or not.
However, it cannot show out the correct information. My expect output show below and I would like to only list out the NOT IN SEQUENCE inovice number (not included "ok")
#!/bin/sh
start=1
for file_number in... (8 Replies)
Hi Unix Gurus,
Can we find out the port number used by the oracle process is running.I tried to search the forum but coudnt find.
Can anyone help me out with the command (2 Replies)
Unix gurus,
I have a requirement wherein I want to find the port number for a given process id.
Is it possible? If so how?
TIA,
Regards,
Praveen (3 Replies)
I have string named texts which consist of section label “BOOK-SEC-“. Section starts from 1 to n, where n is a number. For this example conside the value of n is 9. That is, the string variable looks like
“BOOK-SEC-1... (2 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Is there a general way I can use so as to process paths/files from your terminal without the need to backslash things?
Till recently I used to use
touch "file_here"
but it does not work if file_here contains any of the characters ` and ", I still need to backslash them if I want to make the... (1 Reply)
Hi All,
How to get the list of port numbers and it is correspoding proceses id that are currently running on. Please suggest and it is urgent
Thanks. (7 Replies)
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT HPUX
vrport
vrport(1M)vrport(1M)NAME
vrport - Veritas Volume Replicator port management utility
SYNOPSIS
vrport [-a | -r] data [port | portlow-porthigh [,port...]]
vrport heartbeat [port]
vrport vradmind [port]
vrport vxrsyncd [port]
DESCRIPTION
The vrport utility manages the various UDP and TCP ports used by Veritas Volume Replicator (VVR).
VVR uses the UDP and TCP transport protocols to communicate between the Primary and Secondary.
VVR exchanges three types of message between the Primary and Secondary: heartbeat, data and administrative control.
The heartbeat messages are transmitted using the UDP protocol on the IANA approved 4145 UDP Port number. VVR can use either the UDP trans-
port protocol or the TCP transport protocol to exchange data messages. VVR uses UDP Anonymous ports for data replication between Primary
and the Secondary if the network protocol is UDP. VVR uses IANA approved 4145 TCP port number for TCP listener port on the Secondary and
TCP Anonymous ports on the Primary for data replication if the network protocol is TCP.
VVR uses IANA approved 8199 TCP port for communication between the vradmind daemons on the Primary and the Secondary. vradmind server pro-
vides administration of VVR objects in a distributed environment. VVR uses 8989 TCP port number for communication between the vxrsyncd dae-
mons on the Primary and the Secondary.
Use vrport to display, change or set the port numbers used by VVR. You may have to change the port numbers to resolve a port number con-
flict with other applications, to configure VVR to work in a firewall environment when using UDP network protocol by restricting the number
of ports to replicate data between the Primary and the Secondary.
The action performed by vrport depends on the specified keyword operand(s).
When invoked with no arguments, vrport displays the port number(s) used for heartbeat, data, vradmind and vxrsyncd communication between
the Primary and Secondary on the standard output.
KEYWORDS
data [port | portlow-porthigh [,port...]]
Without any arguments, the vrport data command displays the port number(s) used by VVR for data replication between the Primary
and the Secondary. This is applicable only if you have chosen UDP for network protocol.
With the port number(s) or range specified, restricts VVR to use the ports or list of ports specified for data replication.
If the -a flag is specified, the vrport data command appends the given port numbers(s) or range to the existing port number(s) or
range to be used for data replication.
If the -r flag is specified, the vrport data command removes the given port number(s) or range from the existing port number(s)
for data replication.
You need to execute /usr/sbin/vxnetd, and pause and resume all RLINKs for VVR to use the new port information.
heartbeat [port]
Without the port argument, displays the UDP port number used to exchange heartbeat messages.
With the port argument specified, sets the UDP port number to exchange heartbeat messages. Use the vradmin changeip command to
update the RLINKs with the new port information. To have VVR use the new port number, enter the command /usr/sbin/vxnetd stop
followed by /usr/sbin/vxnetd.
vradmind [port]
Without the port argument, displays the TCP port number used by the vradmind daemons for communication between the Primary and
the Secondary.
With the port argument specified, sets the TCP port number to be used by the vradmind daemons. The new port is used when the
vradmind process is restarted.
vxrsyncd [port]
Without the port argument, displays the port the TCP port number used by vxrsyncd daemons for communication between the Primary
and the Secondary hosts.
With the port argument specified, command sets the TCP port number to be used by the vxrsyncd daemons. The new port is used when
the vxrsyncd process is restarted.
EXAMPLES
See the Veritas Volume Replicator Configuration Notes for examples.
EXIT CODES
The vrport utility exits with a non-zero status if the attempted operation fails. A non-zero exit code is not a complete indicator of the
problems encountered but denotes the first condition that prevented further execution of the utility.
SEE ALSO vradmin(1M),vxrlink(1M)
Veritas Volume Replicator Administrator's Guide
Veritas Volume Replicator Configuration Notes
VxVM 5.0.31.1 24 Mar 2008 vrport(1M)