Re:Osquery: An sqlite3 virtual table exposing operating syst...
by MrBuddyCasino on Monday February 26, 2024 @03:41AM
(#39508893)
Thanks, added.
alias ports="lsof -iTCP -sTCP:LISTEN -n -P | awk '{print \$1, substr(\$0, index(\$0,\$9))}'"
shouldn't lsof with some awk munging get you there ?
edit-01:
for example
might be useful enough ? fwiw, it does give me something useful on my machine