Skip to main content

Posts

Showing posts with the label netstat

Who is connecting to linux server

netstat -tn -n: Display numeric only -t: Display TCP connections only Who is connecting to linux host: netstat -tn netstat is not installed on CentOS/RHEL minimal installation by default. [tuyendq@001 ~]$ which netstat /usr/bin/which: no netstat in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/tuyendq/.local/bin:/home/tuyendq/bin) Which package does netstat belong to? [tuyendq@001 ~]$ yum search netstat Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.hostduplex.com * epel: mirrors.develooper.com * extras: repos.lax.quadranet.com * updates: mirror.hostduplex.com zabbix-non-supported 4/4 =================================================== Matched: netstat =================================================== bwm-ng.x86_64 : Bandwidth Monitor NG dstat.noarch : Versatile resource statistics tool net-snmp.x86_64 : A collection of SNMP p...