From 8b8f7bbcc9725684cf648897ea0b34689d7fd68d Mon Sep 17 00:00:00 2001 From: Jesse S Date: Thu, 4 Jan 2024 11:47:06 -0800 Subject: [PATCH] feat: TOOLS-2809 add -n to netstat (#252) --- lib/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/common.py b/lib/utils/common.py index deed5637..ac671a6b 100644 --- a/lib/utils/common.py +++ b/lib/utils/common.py @@ -2883,7 +2883,7 @@ def get_system_commands(port=3000) -> list[list[str]]: if "darwin" in platform.system().lower(): netstat_cmds = ["netstat -rn"] else: - netstat_cmds = ["netstat"] + netstat_cmds = ["netstat -n"] # cmd and alternative cmds are stored in list of list instead of dic to # maintain proper order for output