Open Sockets

Retrieves all the open sockets per process in the target system.:

Query

select distinct pid, family, protocol, local_address, local_port, remote_address, remote_port, path from process_open_sockets where path <> '' or remote_address <> '';

Additional Query Info

  • Version: 1.4.5
  • Platform: posix
  • Interval: 86400

JSON

{
  "queries": {
    "Open Sockets": {
      "query": "select distinct pid, family, protocol, local_address, local_port, remote_address, remote_port, path from process_open_sockets where path <> '' or remote_address <> '';",
      "interval": "86400",
      "platform": "posix",
      "version": "1.4.5",
      "description": "Retrieves all the open sockets per process in the target system.",
      "value": ""
    }
  }
}