Skip to content

Instantly share code, notes, and snippets.

@craiglondon
Created August 31, 2017 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craiglondon/23092a820ae761b9815140f3d7284833 to your computer and use it in GitHub Desktop.
Save craiglondon/23092a820ae761b9815140f3d7284833 to your computer and use it in GitHub Desktop.
A Windows' TCPView-like command for linux
#!/bin/bash
watch -pn 0.1 "netstat -pat"
@craiglondon
Copy link
Author

In order to get the p in netstat -pat switch to work, you need to run the command above as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment