netstat -tapen

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Benutzeravatar
sirius01
Beiträge: 170
Registriert: 04.05.2009 11:00:01

netstat -tapen

Beitrag von sirius01 » 28.08.2019 19:22:18

Hallo @all,

gibt es so etwas wie

Code: Alles auswählen

netstat -tapen
welches die Daten in Echtzeit anzeigt?
So wie es z.B.

Code: Alles auswählen

iftop
oder macht.

Danke im voraus :roll:

gruß sirius01 :) 8) :)

Benutzeravatar
unitra
Beiträge: 638
Registriert: 15.06.2002 21:09:38
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: 127.128.129.130

Re: netstat -tapen

Beitrag von unitra » 28.08.2019 21:55:07

Versuchs mal mit

Code: Alles auswählen

ss -nE
Das zeigt alle Ereignisse in Echtzeit an, die mit Sockets zu tun haben.

Code: Alles auswählen

$ ss -h
Usage: ss [ OPTIONS ]
       ss [ OPTIONS ] [ FILTER ]
   -h, --help          this message
   -V, --version       output version information
   -n, --numeric       don't resolve service names
   -r, --resolve       resolve host names
   -a, --all           display all sockets
   -l, --listening     display listening sockets
   -o, --options       show timer information
   -e, --extended      show detailed socket information
   -m, --memory        show socket memory usage
   -p, --processes     show process using socket
   -i, --info          show internal TCP information
       --tipcinfo      show internal tipc socket information
   -s, --summary       show socket usage summary
   -b, --bpf           show bpf filter socket information
   -E, --events        continually display sockets as they are destroyed
   -Z, --context       display process SELinux security contexts
   -z, --contexts      display process and socket SELinux security contexts
   -N, --net           switch to the specified network namespace name

   -4, --ipv4          display only IP version 4 sockets
   -6, --ipv6          display only IP version 6 sockets
   -0, --packet        display PACKET sockets
   -t, --tcp           display only TCP sockets
   -S, --sctp          display only SCTP sockets
   -u, --udp           display only UDP sockets
   -d, --dccp          display only DCCP sockets
   -w, --raw           display only RAW sockets
   -x, --unix          display only Unix domain sockets
...

dufty2
Beiträge: 1711
Registriert: 22.12.2013 16:41:16

Re: netstat -tapen

Beitrag von dufty2 » 29.08.2019 06:41:50

Die "Billigversion" wäre

Code: Alles auswählen

# netstat -tapenc
also noch mit einem "c" angehängt.
Das ist aber nicht wie "iftop" oder "htop" 'terminalorientiert", sondern halt jede Sekunde die Ausgabe einfach drangehängt.

Benutzeravatar
sirius01
Beiträge: 170
Registriert: 04.05.2009 11:00:01

Re: netstat -tapen

Beitrag von sirius01 » 29.08.2019 11:09:03

Danke für die Tips :THX:

Das suchte ich :THX: .

gruß sirius01 :) 8) :)

Antworten