Macos System Monitor

broken image


Download the latest version of Stats for Mac - Monitor your macOS system. Read 4 user reviews of Stats on MacUpdate. A macOS system monitor in Swift, inspired by top & htop. Displays live readings of system CPU & memory usage, machine temperature sensors, fan speeds, battery information and other miscellaneous system statistics. The ncurses based TUI (text-based user interface) uses color coating to imply status and is fully resizable. Note that Mac OS X is now called macOS. I set the laptop to the right of the monitor and set the arrangments as such in System Prefs and making the monitor the primary by moving the white menu.

  1. dshb(1)
  2. dshb(1)

NAME

dshb - macOS system monitor

SYNOPSIS

dshb [-eu][-ffrequency]
[-h]
[-v]

DESCRIPTION

A macOS system monitor in Swift, inspired by top & htop. Displays live readingsof system CPU & memory usage, machine temperature sensors, fan speeds, batteryinformation and other miscellaneous system statistics. The ncurses based TUI(text-based user interface) uses color coating to imply status and is fullyresizable. Stats are updated at one second intervals while still maintaininglow overhead (the observer effect is inescapable in this case sadly).

OPTIONS

List of supported command line options (flags/switchs):

-f, --frequencyvalue

Statistic update frequency in seconds. Default is 1.

-h, --help

Print the list of options.

-u, --unknown-temperature-sensors

Show temperature sensors whose hardware mapping is unknown.

-v, --version

Show dshb version.

COMMANDS

List of supported interactive commands for use during application runtime:

q
Quit.

Macbook System Monitor App

STATS

Statistic sections are defined as 'widgets' (hence the name dashboard -metaphorically akin to macOS's Dashboard). Widgets are composed of relatedstatistics. Here we look at the various widgets in detail.

Battery


Displays information about the state of the battery. If the machine does nothave a battery, this widget will not appear. The information includesCharge, Capacity Degradation, Cycles and Time Remaining.

CPU

Displays CPU usage broken down into System, User, Idle and Nice.

Fan

Macos Activity Monitor App

Displays a list of all the fans the machine has with the current speed(RPM - revolutions per minute) of each. All Intel based Macs to this pointhave at least one fan, with the exception of the newly added fanlessMacBook.

Memory
Monitor

Displays memory usage broken down into Free, Wired, Active,Inactive and Compressed.

System

Miscellaneous system stats including Uptime, Processes & Threads(global counts), Load Average (1, 5 and 15 minute intervals) and MachFactor (5, 30 and 60 second intervals).

Temperature

Displays a list of the machine temperature sensors in Celsius. The listis exhaustive when the (-u) switch is used.

Note that the names of the known sensors may not be mapped to the correcthardware component. In addition, the maximum temperature of each individualsensor is not known. Thus, a global max of 128 degrees is used. This is alldue to the fact that the SMC (System Management Controller) has a closedsource driver, and thus information about it's inner workings is limited.

If a sensor has a value that is very high, constant, and completelydisproportionate to the rest, then there is a chance that it is faulty. Thiscould be due to bad or damaged hardware (liquid on the logic board). Run the Apple Diagnostics (Apple Hardware Test for older machines) diagnosticssuite in such a case to confirm.

Some sensors however report very low values, below zero. The current theoryon this is that at lower temperatures the sensors have inaccurate readings.It maybe that they are located close to an internal fan, and the airflow iscausing it to be skewed.

ENVIRONMENT

Mac Performance Monitor

Due to Swift, dshb requires macOS 10.9 (Mavericks) and above. This implies anIntel based 64-bit machine. Of course, ncurses is required as well, but itshould be installed by default as a part of macOS, as base install tools such astop, rely on it as well.

REPOSITORY

All project related matters, including source code, can be found at the GitHubrepository listed above. In particular, the issue tracker, which can be used toreport feedback, feature requests and bugs.

COPYRIGHT

This project is under the MIT License.

Macbook system monitor app

Displays memory usage broken down into Free, Wired, Active,Inactive and Compressed.

System

Miscellaneous system stats including Uptime, Processes & Threads(global counts), Load Average (1, 5 and 15 minute intervals) and MachFactor (5, 30 and 60 second intervals).

Temperature

Displays a list of the machine temperature sensors in Celsius. The listis exhaustive when the (-u) switch is used.

Note that the names of the known sensors may not be mapped to the correcthardware component. In addition, the maximum temperature of each individualsensor is not known. Thus, a global max of 128 degrees is used. This is alldue to the fact that the SMC (System Management Controller) has a closedsource driver, and thus information about it's inner workings is limited.

If a sensor has a value that is very high, constant, and completelydisproportionate to the rest, then there is a chance that it is faulty. Thiscould be due to bad or damaged hardware (liquid on the logic board). Run the Apple Diagnostics (Apple Hardware Test for older machines) diagnosticssuite in such a case to confirm.

Some sensors however report very low values, below zero. The current theoryon this is that at lower temperatures the sensors have inaccurate readings.It maybe that they are located close to an internal fan, and the airflow iscausing it to be skewed.

ENVIRONMENT

Mac Performance Monitor

Due to Swift, dshb requires macOS 10.9 (Mavericks) and above. This implies anIntel based 64-bit machine. Of course, ncurses is required as well, but itshould be installed by default as a part of macOS, as base install tools such astop, rely on it as well.

REPOSITORY

All project related matters, including source code, can be found at the GitHubrepository listed above. In particular, the issue tracker, which can be used toreport feedback, feature requests and bugs.

COPYRIGHT

This project is under the MIT License.

AUTHOR

beltex https://beltex.github.io

Working on this always brought a smile to my face. I hope it brings a smile toyours too. Enjoy :)

SEE ALSO

top(1), htop(1)

  1. 0.2.0
  2. October 2017
  3. dshb(1)




broken image