tech:notes_commandes_ss_netstat_et_autres
Différences
Ci-dessous, les différences entre deux révisions de la page.
| tech:notes_commandes_ss_netstat_et_autres [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:notes_commandes_ss_netstat_et_autres [2025/03/24 16:18] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| {{tag> | {{tag> | ||
| - | = Notes commandes ss netstat et autres | + | # Notes commandes ss netstat et autres |
| Voir : | Voir : | ||
| Ligne 15: | Ligne 16: | ||
| - | == CLOSE-WAIT | + | ## CLOSE-WAIT |
| - | < | + | ~~~bash |
| ss --tcp state CLOSE-WAIT | ss --tcp state CLOSE-WAIT | ||
| ss --tcp state CLOSE-WAIT --kill | ss --tcp state CLOSE-WAIT --kill | ||
| - | </ | + | ~~~ |
| ''/ | ''/ | ||
| Ligne 31: | Ligne 32: | ||
| * https:// | * https:// | ||
| - | == Commande ss | ||
| - | < | + | ## Commande ss |
| + | |||
| + | ~~~bash | ||
| ss -tn -4 state established not src 127.0.0.1 | ss -tn -4 state established not src 127.0.0.1 | ||
| ss -n -t src :5455 | ss -n -t src :5455 | ||
| - | </ | + | ~~~ |
| - | <code -> | + | ~~~ |
| # ss -s | # ss -s | ||
| Total: 281 (kernel 3060) | Total: 281 (kernel 3060) | ||
| Ligne 50: | Ligne 52: | ||
| INET 12 9 3 | INET 12 9 3 | ||
| FRAG 0 | FRAG 0 | ||
| - | </ | + | ~~~ |
| - | == Commande netstat | + | ## Commande netstat |
| Voir ''/ | Voir ''/ | ||
| - | < | + | ~~~bash |
| netstat -nat |sed ' | netstat -nat |sed ' | ||
| - | </ | + | ~~~ |
| - | <code -> | + | ~~~ |
| 1 Foreign | 1 Foreign | ||
| 4 SYN_RECV | 4 SYN_RECV | ||
| Ligne 67: | Ligne 70: | ||
| 191 CLOSE_WAIT | 191 CLOSE_WAIT | ||
| 270 TIME_WAIT | 270 TIME_WAIT | ||
| - | </ | + | ~~~ |
| Source: https:// | Source: https:// | ||
| C'est l' | C'est l' | ||
| - | < | + | ~~~bash |
| ss -s | ss -s | ||
| - | </ | + | ~~~ |
tech/notes_commandes_ss_netstat_et_autres.1742825205.txt.gz · Dernière modification : de 127.0.0.1
