Performance Monitoring with top
The easiest process-monitoring utility around is top, so named because it was originally designed to list the top-ten processes currently running on the system, in descending order of CPU usage. These days, however, FreeBSD's top, by default, shows you every process currently running, whatever state it's in. On a freshly installed FreeBSD system, this will usually be somewhere around 30 processes.
The benefit that top provides is that it's interactive and real-time. When you run it, it takes over your terminal and udpates itself every second, giving you instantaneous information about the state of the system at that moment. You can also pass it commands, such as the kill or renice commands (covered later in this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access