This is a list of useful CLI tools that either ship with macOS or are easily installed, usually by brew
.
-
jot
— print sequential or random dataDetails
Install: built-in
Examples:
$ jot 3 1 2 3
$ jot -b foo 3 foo foo foo
$ jot -r 5 0 1000 857 840 142 246 415
Resources:
-
iperf3
— test LAN connection speedDetails
Install:
brew install iperf3
Examples: On the first machine:
$ iperf3 -s ----------------------------------------------------------- Server listening on 5201 -----------------------------------------------------------
And on the second machine:
$ iperf3 -c 192.168.1.14 Connecting to host 192.168.1.14, port 5201 [ 5] local 192.168.1.40 port 57669 connected to 192.168.1.14 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 110 MBytes 921 Mbits/sec [ 5] 1.00-2.00 sec 109 MBytes 917 Mbits/sec [ 5] 2.00-3.00 sec 112 MBytes 936 Mbits/sec [ 5] 3.00-4.00 sec 112 MBytes 940 Mbits/sec [ 5] 4.00-5.00 sec 111 MBytes 927 Mbits/sec [ 5] 5.00-6.00 sec 113 MBytes 949 Mbits/sec [ 5] 6.00-7.00 sec 112 MBytes 937 Mbits/sec [ 5] 7.00-8.00 sec 110 MBytes 920 Mbits/sec [ 5] 8.00-9.00 sec 111 MBytes 931 Mbits/sec [ 5] 9.00-10.00 sec 109 MBytes 918 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 1.08 GBytes 930 Mbits/sec sender [ 5] 0.00-10.00 sec 1.08 GBytes 930 Mbits/sec receiver iperf Done.
Resources:
creduce
opensnoop