cancel
Showing results for 
Search instead for 
Did you mean: 

Reading BP Server name

SalmanAhmed
Level 4
Hi Everyone - Is there any way to get BP Server name from process level?
Salman Ahmed System Engineer Asia/Kolkata
1 REPLY 1

ewilson
Staff
Staff
Hi @SalmanAhmed,

I assume you're running this process on a resource PC that's separate from the BP Server? If so, I'm not sure there's an easy way to do that. I suppose you could pull the output of a netstat -a from the command line and filter for the BP servers port (default is 8199 I believe).

Thinking about this a bit more, there is a command you can run against the resource PC's HTTP interface which will give you a list of all inbound and outbound connections to it. You could perform that using the Utility - HTTP VBO and then figure out the server from the information I think. The default information is in the form of IP addresses though, so you may have to perform an nslookup to get a hostname from the IP.

The command on the resource PC HTTP interface is connections. So it would look something like this:

http://127.0.0.1:8181/connections

The output looks something like this:

OUTBOUND: disabled
INBOUND: 3
 ::1 (admin)
 127.0.0.1 ()
 127.0.0.1 ()

Cheers,
Eric​