Showing post for tag for #cli
Remove filterI needed to generate files of a certain size for performance testing - their contents were irrelevant. The
dd
utility was perfect for the task.On macOS,
netstat
is a BSD-based tool that is still fully supported. It is great for seeing open connections, routing tables, and interface stats. When you want to see which process owns a connection or port,lsof
is the tool to use.When you want to check how your Mac’s disk and CPU are doing, or peek at memory and swap activity, the commands iostat and vm_stat come in super handy. Both are built-in and give you quick snapshots of system performance.