2021-04-06 01:55:01 +00:00
# Zenmonitor3
Zenmonitor3 is monitoring software for AMD Zen-based CPUs.
2019-06-15 14:51:21 +00:00
It can monitor these values:
- CPU Temperature
- CPU Core (SVI2) Voltage, Current and Power
- SOC (SVI2) Voltage, Current and Power
2019-12-29 16:34:07 +00:00
- Package and Core Power (RAPL)
2019-10-12 19:20:40 +00:00
- Core Frequency (from OS)
2019-06-15 14:51:21 +00:00
![screenshot ](screenshot.png )
## Dependencies
2021-06-19 23:39:31 +00:00
- [zenpower3 driver ](https://github.com/Ta180m/zenpower3 ) - For monitoring CPU temperature and SVI2 sensors
2019-12-29 16:34:07 +00:00
- MSR driver - For monitoring Package/Core Power (RAPL)
2019-06-15 14:51:21 +00:00
2021-06-19 23:39:31 +00:00
Follow [zenpower README.md ](https://github.com/Ta180m/zenpower3/blob/master/README.md ) to install and activate zenpower module.
2019-06-15 14:51:21 +00:00
Enter `sudo modprobe msr` to enable MSR driver.
## Building
Make sure that GTK3 dev package and common build tools are installed.
2021-06-20 00:07:35 +00:00
```sh
2019-06-15 14:51:21 +00:00
make
```
2019-12-29 16:34:07 +00:00
## Launching
You can launch app by `sudo ./zenmonitor` , or you can install it to your system and then launch it from your OS menu.
Note: Because superuser privileges are usually needed to access data from MSR driver, you need to launch zenmonitor as root for monitoring CPU power usage (RAPL).
2020-02-16 16:59:11 +00:00
Alternatively, you can set capabilities to zenmonitor executable: `sudo setcap cap_sys_rawio,cap_dac_read_search+ep ./zenmonitor`
2019-12-29 16:34:07 +00:00
2020-01-23 21:56:55 +00:00
## Command line arguments
``--coreid`` - Display core_id instead of core index
2019-12-29 16:34:07 +00:00
## Installing
2021-04-06 01:55:01 +00:00
By default, Zenmonitor3 will be installed to /usr/local.
2021-06-20 00:07:35 +00:00
```sh
2019-12-29 16:34:07 +00:00
sudo make install
```
To add menu item for launching zenpower as root (Polkit is required):
2021-06-20 00:07:35 +00:00
```sh
2019-12-29 16:34:07 +00:00
sudo make install-polkit
```
## Uninstalling
2021-06-20 00:07:35 +00:00
```sh
2019-12-29 16:34:07 +00:00
sudo make uninstall
2019-06-15 14:51:21 +00:00
```
2021-06-20 00:07:35 +00:00
## Setup on Ubuntu
2021-06-20 16:11:02 +00:00
First follow [installation instructions on zenpower3 ](https://github.com/Ta180m/zenpower3/blob/master/README.md#installation-for-ubuntu )
2019-06-15 14:51:21 +00:00
Then:
2021-06-20 00:07:35 +00:00
```sh
2019-06-15 14:51:21 +00:00
sudo modprobe msr
sudo bash -c 'echo "msr" > /etc/modules-load.d/msr.conf'
2021-11-30 17:46:24 +00:00
sudo apt install build-essential libgtk-3-dev libncurses5-dev git
2019-06-15 14:51:21 +00:00
cd ~
2021-04-20 18:43:32 +00:00
git clone https://github.com/Ta180m/zenmonitor3
2021-06-20 16:11:02 +00:00
cd zenmonitor3
2019-06-15 14:51:21 +00:00
make
2019-12-29 16:34:07 +00:00
sudo make install
sudo make install-polkit
2019-06-15 14:51:21 +00:00
```
2021-06-20 00:07:35 +00:00
2020-02-18 13:33:58 +00:00
## Setup on Arch
2021-06-20 00:07:35 +00:00
You may use the AUR package [zenmonitor3-git ](https://aur.archlinux.org/packages/zenmonitor3-git/ ) to install via [traditional method ](https://wiki.archlinux.org/index.php/Arch_User_Repository ) or using an AUR helper.
2022-02-26 22:24:47 +00:00
## Installation for Fedora 35+
You can install it from the [copr package repo ](https://copr.fedorainfracloud.org/coprs/birkch/zenpower3/ )