Re: pftop states

From: Oliver Peter <oliver_at_gfuzz.de>
Date: Wed, 06 Aug 2025 21:51:19 UTC
On Mon, Aug 04, 2025 at 10:07:19PM -0700, Doug Hardie wrote:
> pftop shows the TCP states as two numbers separated by a :.  Most of the time the two numbers are identical and the state is obvious.  However, what does it mean when they are different (e.g., 9:4 or 4:9)?

That’s a feature of pftop: when the terminal window is too narrow, it
shows TCP states as numbers (from tcp_fsm.h) instead of names like
ESTABLISHED. So 9:4 means one side is in state 9 (FIN_WAIT_2), the other
in 4 (ESTABLISHED). Widen the window, and you’ll see the full names again.


-- 
Oliver Peter       oliver@gfuzz.de       0x456D688F