Currenty jboss is running in standalone mode, with 9990 being management port (jboss cli and HTTP access for deploying restarting etc...)
And 8080 being application served.
In future you can configure it to serve additional JVM with application on port 8180, for instance, then 3 ports would be 'exact' so to say.
Also, on systems configured with IPv6, you might get even more additional exact ports
Perhaps using lsof ?
Hope that helps
Regards
Peasant.
Last edited by Peasant; 01-08-2020 at 12:56 PM..
Reason: Added lsof example
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 DEBIAN
perlbal::test
Perlbal::Test(3pm) User Contributed Perl Documentation Perlbal::Test(3pm)NAME
Perlbal::Test - Test harness for perlbal server
SYNOPSIS
# my $msock = Perlbal::Test::start_server();
DESCRIPTION
Perlbal::Test provides access to a perlbal server running on the local host, for testing purposes.
The server can be an already-existing server, a child process, or the current process.
Various functions are provided to interact with the server.
FUNCTIONS mgmt_port()
Return the current management port number.
dump_res($http_response)
Return a readable string formatted from an HTTP::Response object. Only the first 80 characters of returned content are returned.
tempdir()
Return a newly created temporary directory. The directory will be removed automatically upon program exit.
new_port()
Return the next free port number in the series. Port numbers are assigned starting at 60000.
test_port()
Return 1 if the port is free to use for listening on $free_port else return 0.
filecontent($file>
Return a string containing the contents of the file $file. If $file cannot be opened, then return undef.
foreach_aio($callback)
Set the server into each AIO mode (none, ioaio) and call the specified callback function with the mode name as argument.
manage($cmd, %opts)
Send a command $cmd to the server, and return the response line from the server.
Optional arguments are:
quiet_failure => 1
Output a warning if the response indicated an error, unless $opts{quiet_failure} is true, or the command was 'shutdown' (which doesn't
return a response).
manage_multi($cmd)
Send a command $cmd to the server, and return a multi-line response. Return the number zero if there was an error or no response.
start_server($conf)
Optionally start a perlbal server and return a socket connected to its management port.
The argument $conf is a string specifying initial configuration commands.
If the environment variable TEST_PERLBAL_FOREGROUND is set to a true value then a server will be started in the foreground, in which case
this function does not return. When the server function finishes, exit() will be called to terminate the process.
If the environment variable TEST_PERLBAL_USE_EXISTING is set to a true value then a socket will be returned which is connected to an
existing server's management port.
Otherwise, a child process is forked and a socket is returned which is connected to the child's management port.
The management port is assigned automatically, a new port number each time this function is called. The starting port number is 60000.
msock()
Return a reference to the socket connected to the server's management port.
ua()
Return a new instance of LWP::UserAgent.
wait_on_child($pid, $port)
Return a socket which is connected to a child process.
$pid specifies the child process id, and $port is the port number on which the child is listening.
Several attempts are made; if the child dies or a connection cannot be made within 5 seconds then this function dies with an error message.
resp_from_sock($sock)
Read an HTTP response from a socket and return it as an HTTP::Response object
In scalar mode, return only the $http_response object.
In array mode, return an array of ($http_response, $firstline) where $firstline is the first line read from the socket, for example:
"HTTP/1.1 200 OK"
perl v5.14.2 2012-02-06 Perlbal::Test(3pm)