The widget iStat Pro allows to monitor different system stats like
- CPU usage
- network bandwidth in/out
- memory usage
- ...
How can I view such system stats in the Terminal?

|
|
|
Depending on what you want to see, there are several options on Terminal level:
Most of these commands have a huge list of options, it's probably best to consult the man pages for details. I usually rely on |
||||
|
|
|
You can use |
|||||
|
|
The above are great commands. Also, I like to use
To show how much disk space all the folders below my current directory are using. |
|||
|
|
|
If you are having network problems, especially with a server exposed to the Internet, lsof(1) can be extremely useful. It lists all open files. For example, |
||||
|
|
|
Here are two commands for determining your local and public IP: Local IP
This is when using Wi-Fi. For ethernet use Public IP
|
|||||
|