mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 10:14:09 +02:00
flake reorg
This commit is contained in:
parent
effc4641ad
commit
a9356910c9
9 changed files with 174 additions and 294 deletions
11
README.md
11
README.md
|
|
@ -9,7 +9,7 @@ Opinionated system metrics exporter for prometheus
|
|||
- cpu and gpu temperature
|
||||
- cpu and gpu power usage on modern amd and intel platforms
|
||||
- docker per-container cpu, memory and network stats
|
||||
- per-process memory usage for processes with a memory usage of over 1%
|
||||
- per-process memory usage for processes with a memory usage of over 1%
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -27,25 +27,26 @@ In recent kernel versions, precise power monitoring is only accessible to root u
|
|||
In order to get the power monitoring output you'll need to give the `palantir` user access to this data using the following steps.
|
||||
|
||||
- Create a group using
|
||||
|
||||
|
||||
```bash
|
||||
sudo groupadd powermonitoring
|
||||
```
|
||||
|
||||
- Create `/etc/udev/rules.d/99-powermonitoring.rules` with
|
||||
|
||||
```udev
|
||||
SUBSYSTEM=="powercap", ACTION=="add", RUN+="/bin/chgrp -R powermonitoring /sys%p", RUN+="/bin/chmod -R g=u /sys%p"
|
||||
SUBSYSTEM=="powercap", ACTION=="change", ENV{TRIGGER}!="none", RUN+="/bin/chgrp -R powermonitoring /sys%p", RUN+="/bin/chmod -R g=u /sys%p"
|
||||
```
|
||||
|
||||
- Apply the udev rules
|
||||
|
||||
|
||||
```
|
||||
sudo udevadm control --reload-rules && sudo udevadm trigger
|
||||
```
|
||||
|
||||
- Add your user to the group
|
||||
|
||||
|
||||
```
|
||||
sudo usermod -a -G powermonitoring palantir
|
||||
```
|
||||
|
|
@ -66,4 +67,4 @@ sudo usermod -a -G docker palantir
|
|||
|
||||
## Windows support
|
||||
|
||||
Palantir has limited windows support out of the box, additional sensors can be enabled by running [LibreHardwareMonitor](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor).
|
||||
Palantir has limited windows support out of the box, additional sensors can be enabled by running [LibreHardwareMonitor](https://github.com/LibreHardwareMonitor/LibreHardwareMonitor).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue