module Netstat

Defined in:

modules/k8s_netstat/k8s_netstat.cr
modules/k8s_netstat/utils/mariadb.cr

Class Method Summary

Class Method Detail

def self.parse(output) : Array(NamedTuple(proto: String, recv: String, send: String, local_address: String, foreign_address: String, state: String)) #

[View source]
def self.parse_line(no_header_output) #

[View source]
def self.remove_header(output) #

kubectl exec cluster-tools-lhwkk -t -- nsenter -t 743858 -n netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 10.244.0.193:3306 10.244.0.194:36378 TIME_WAIT
tcp 0 0 10.244.0.193:3306 10.244.0.194:36680 TIME_WAIT
Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path


[View source]