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.
Below is the process id for Jboss :
can someone help in finding the correct port number from the process id.
Moderator's Comments:
Please use code tags.
Last edited by Peasant; 01-08-2020 at 12:23 PM..
Reason: Added tags.
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 REDHAT
xvgrabport
XvGrabPort(3X)XvGrabPort(3X)Name
XvGrabPort - lock port for exclusive use by client
Syntax
#include <X11/extensions/Xvlib.h>
XvGrabPort(dpy, port, time)
Display *dpy;
XvPortID port;
Time time;
Arguments
dpy Specifies the display screen on which the Xv Server is to accept requests from Xv clients. If the display option is not specified,
Xv uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:number.
Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.
port Defines the port to be grabbed.
time Specifies the request timestamp.
DescriptionXvGrabPort(3X) grabs a port. Once a client grabs a port, only that client can make video requests to that port.
If the time is before the current port time, the XvGrabPort request is ignored and XvInvalidTime is returned. If the port is already
grabbed by another client, XvAlreadyGrabbed is returned. Otherwise it returns a status of Success. The port time is updated when the fol-
lowing requests are processed: XvGrabPort(3X), XvUngrabPort(3X), XvPutVideo(3X), XvPutStill(3X), XvGetVideo(3X), XvGetStill(3X).
If the port is actively processing video for another client, the video is preempted, and an XvVideoNotify event with detail XvPreempted is
generated for its drawable.
Returned Values
[Success]
Returned if XvGrabPort(3X) completed successfully.
[XvInvalidTime]
Returned if requested time is older than the current port time.
[XvAlreadyGrabbed]
Returned if the port is already grabbed by another client.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvGrabPort(3X) failed to allocate memory to process the request.
Diagnostics
[XvBadPort] Generated if the requested port does not exist.
See AlsoXvUngrabPort(3X)XvVideoNotify(3X)XFree86 Version Version 4.3.0 XvGrabPort(3X)