forked from b3rs3rk/gpustat-unraid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gpustat.plg
64 lines (56 loc) · 1.84 KB
/
gpustat.plg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version='1.0' standalone='yes'?>
<!DOCTYPE PLUGIN [
<!ENTITY name "gpustat">
<!ENTITY author "b3rs3rk">
<!ENTITY version "2020.04.18a">
<!ENTITY launch "Settings/GPUStatSettings">
<!ENTITY gitURL "https://raw.githubusercontent.com/b3rs3rk/&name;-unraid/master">
<!ENTITY pluginURL "&gitURL;/&name;.plg">
<!ENTITY pkgURL "&gitURL;/pkg">
<!ENTITY plgPATH "/boot/config/plugins/&name;">
<!ENTITY plgNAME "&name;-&version;-x86_64">
<!ENTITY emhttp "/usr/local/emhttp/plugins/&name;">
]>
<PLUGIN name="&name;" author="&author;" version="&version;" support="https://forums.unraid.net/topic/89453-plugin-gpu-statistics/" icon="icon-hardware" launch="&launch;" pluginURL="&pluginURL;">
<FILE Name="&plgPATH;/&plgNAME;.txz" Min="6.4" Run="upgradepkg --install-new">
<URL>&pkgURL;/&plgNAME;.txz</URL>
</FILE>
<FILE Run="/bin/bash" Method="remove">
<INLINE>
echo "Removing &name;..."
removepkg &plgPATH;/*.txz
rm -rf &plgPATH;
rm -rf &emhttp;
echo "&name; has been removed"
</INLINE>
</FILE>
<!-- Install default plugin cfg -->
<FILE Name="/boot/config/plugins/gpustat/gpustat.cfg">
<INLINE>
<![CDATA[
VENDOR=nvidia
GPUID=0
TEMPFORMAT=C
]]>
</INLINE>
</FILE>
<CHANGES>
###2020-04-18
- [BETA] Allow User selectable metrics to be displayed in widget
* Go to settings and select the desired metrics after update
###2020-03-14
- [BETA] Implement Multi-GPU Selectability
* Select desired GPU for dashboard display from retrieved inventory
* Select desired temperature format (F/C)
###2020-03-10
- [BETA] Implement more NVIDIA data readings
* Clock Speeds (GPU/MEM)
* Encoder/Decoder Utilization
* Power State (P0-8)
* Throttle Check/Reason
###2020-03-08
- [BETA] Fix formatting to be more UnRAID-like
###2020-03-06
- [BETA] Implements basic NVIDIA Support for single-GPU systems
</CHANGES>
</PLUGIN>