GeekTool Script: Network Connections
0FreshMacApps GeekTool Script Vault
Geeklet To Display Top Network Connections
This addition to the GeekTool Script Vault is a geeklet to display the top four network connections to your Mac. This script incorporates the netstat Unix command and is useful for seeing what’s hogging your bandwidth.
To use this geeklet, open up GeekTool and drag a shell geeklet to your desktop. Once you have done that, enter the following code into the Command input field:
netstat -at | head -6
Sample Output:
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
proto 0 0 your-host.location.65940 z655-gat12s3-t.http CLOSE_WAIT
proto 0 0 your-host.location.84034 ja3-t46-rr212-8.http CLOSE_WAIT
proto 0 0 your-host.location.35163 qu33s42-on-ti2.http ESTABLISHED
proto 0 0 your-host.location.98631 813.50-169.5gefs.tp ESTABLISHED
Set the refresh to a reasonable rate, so as not to strain your system with constant requests for updates.
Last updated by at .
Share

