| 1 | # System Monitor |
| 2 | GNOME System Monitor is a GNOME process viewer and system monitor with an attractive, |
| 3 | easy-to-use interface, It has features, such as a tree view for process dependencies, |
| 4 | icons for processes, the ability to hide processes that you don't want to see, |
| 5 | graphical time histories of CPU/memory/swap usage, |
| 6 | the ability to kill/renice processes needing root access, |
| 7 | as well as the standard features that you might expect from a process viewer. |
| 8 | |
| 9 | ## License |
| 10 | This project is licensed under the **GNU General Public License v2.0**. [Learn more](https://choosealicense.com/licenses/gpl-2.0/) |
| 11 | |
| 12 | ## Building |
| 13 | The steps described below show how to compile and install _GNOME System Monitor_ from its source. |
| 14 | |
| 15 | ### Install required dependencies |
| 16 | To build the application, the following dependencies are required: |
| 17 | |
| 18 | #### Apt (Debian/Ubuntu/Derivatives - Debian-Based Package Management) |
| 19 | Use the following command to install dependencies: |
| 20 | `sudo apt install meson gettext appstream-util catch2 itstool libglibmm-2.68-dev libgtkmm-4.0-dev libgtop2-dev librsvg2-dev libadwaita-1-dev libsystemd-dev uncrustify` |
| 21 | |
| 22 | #### DNF (Fedora/Centos/Derivatives - RPM-Based Package Management) |
| 23 | Use the following command to install dependencies: |
| 24 | `sudo dnf install meson gettext appstream itstool glibmm2.68-devel gtkmm4.0-devel libgtop2-devel librsvg2-devel libadwaita-devel systemd-devel catch catch-devel uncrustify` |
| 25 | |
| 26 | #### Optional dependencies: |
| 27 | - polkit - recommended |
| 28 | - gksu2 |
| 29 | - libgnomesu |
| 30 | - libselinux |
| 31 | - lsb_release in PATH - recommended on linux |
| 32 | - libwnck |
| 33 | |
| 34 | |
| 35 | ### Building and installing |
| 36 | Before following the steps below, clone the repository and change to its working directory. |
| 37 | |
| 38 | ##### Configure and create the build directory with Meson. |
| 39 | `meson setup build` |
| 40 | |
| 41 | Where `build` is just a directory name, and is up to your choosing. |
| 42 | ##### Build the application - this compiles the source. |
| 43 | `ninja -C build` |
| 44 | |
| 45 | ##### Install the application on your system - required to run _GNOME System Monitor_. |
| 46 | `ninja -C build install` |
| 47 | |
| 48 | ### Cleanup |
| 49 | |
| 50 | ##### Use the following command to clean up the build directory and remove old build files. |
| 51 | `ninja -C build -t clean` |
| 52 | |
| 53 | ##### Remove the build directory to rebuild from scratch. |
| 54 | `rm -rf build` |
| 55 | |
| 56 | ## Bugs |
| 57 | |
| 58 | Please file System-Monitor bugs at: |
| 59 | https://gitlab.gnome.org/GNOME/gnome-system-monitor/issues |