A rust utility program developped by me to list list all tcp sockets used on a linux machine in a parsable manner with relevant fields:
Here is the display on a Github Action Runner container after build
socketutils vs netstat perf (4ms difference). That 4ms is due to the fact that socketutils outputs more data to the screen.
With similar data ouput size, the runtime execution would be the same.