3 comandos sorprendentes para redes en Linux


1. Ver la configuración de una conexión vpn

Esto es para NetworkManager:

$ nmcli -t --mode multiline   -f vpn.data connection sh sb`

2. Ver conexiones sin cerrar

# watch -dc ss -ntapei -o state close-wait
Every 2,0s: ss -ntapei -o state close-wait                     dublin.ireland.home: Tue Sep 24 21:22:34 2019

Recv-Q     Send-Q           Local Address:Port            Peer Address:Port
1          0                     10.8.0.2:52642           13.33.131.20:443       users:(("plasma-browser-",p
id=6307,fd=168)) uid:1000 ino:89490 sk:322 -->
         ts sack cubic wscale:8,7 rto:316 rtt:113.283/26.037 ato:40 mss:1345 pmtu:1500 rcvmss:1345 advmss:14
48 cwnd:10 bytes_sent:1297 bytes_acked:1298 bytes_received:9627 segs_out:24 segs_in:20 data_segs_out:9 data_
segs_in:12 send 949.8Kbps lastsnd:16878831 lastrcv:16931986 lastack:16878730 pacing_rate 1.9Mbps delivery_ra
te 336.3Kbps delivered:10 app_limited busy:726ms rcv_space:14480 rcv_ssthresh:64088 minrtt:92.968

3. Ver Access Points disponibles

nmcli d wifi

Comentarios

Comments powered by Disqus