Skip to content
Snippets Groups Projects
Commit c24d82e1 authored by FlorealRISSO's avatar FlorealRISSO Committed by ghuter
Browse files

update option

parent a985ebc7
No related branches found
No related tags found
3 merge requests!9fix sensor example (doc),!4Amd, Tests, Doc, CI/CD,!3Amd, tests, doc...
...@@ -41,7 +41,7 @@ SENSORS: ...@@ -41,7 +41,7 @@ SENSORS:
system load system load
-d|--net-dev <net_dev> -d|--net-dev <net_dev>
network monitoring (if network_device is X, tries to detect it automatically) network monitoring (if network_device is X, tries to detect it automatically)
-r|--rapl -r|--intel-rapl
RAPL RAPL
-c|--cpu-temp -c|--cpu-temp
processor temperature processor temperature
......
...@@ -34,7 +34,7 @@ Sensor amd_rapl = { ...@@ -34,7 +34,7 @@ Sensor amd_rapl = {
Optparse amd_rapl_opt[1] = { Optparse amd_rapl_opt[1] = {
{ {
.longname = "amd-rapl", .longname = "amd-rapl",
.shortname = 'a', .shortname = 'r',
.argtype = OPTPARSE_NONE, .argtype = OPTPARSE_NONE,
.usage_arg = NULL, .usage_arg = NULL,
.usage_msg = "AMD RAPL", .usage_msg = "AMD RAPL",
......
...@@ -33,11 +33,11 @@ Sensor rapl = { ...@@ -33,11 +33,11 @@ Sensor rapl = {
Optparse rapl_opt[1] = { Optparse rapl_opt[1] = {
{ {
.longname = "rapl", .longname = "intel-rapl",
.shortname = 'r', .shortname = 'r',
.argtype = OPTPARSE_NONE, .argtype = OPTPARSE_NONE,
.usage_arg = NULL, .usage_arg = NULL,
.usage_msg = "RAPL", .usage_msg = "INTEL RAPL",
}, },
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment