REST API  5.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/network/netstat/{socketid}

GET /api/lunasa/network/netstat/{socketid}

Gets the network netstat information associated with the socket.

Parameters

socketid

The identifier of a netstat socket.

Use: Required

JSON Schema:

    Object
    type: string

Responses

200

Netstat Socket Info

JSON Schema: Netstat Socket

400

Unexpected error

404

Socket ID does not exist

Example Request

    GET
    https://1.2.3.4:8443/api/lunasa/network/netstat/22

Example Result

{
    "protocol" : "tcp",
    "localAddress" : "0.0.0.0:22",
    "foreignAddress" : "0.0.0.0:*",
    "state" : "LISTEN",
    "sendQueue" : 0,
    "receiveQueue" : 0
}