diff --git a/contrib/README.md b/contrib/README.md index db0cc83..554e89f 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -97,10 +97,15 @@ Supported Platforms: platform independent PCIe bandwidth, 5th as temperature of requested graphics device, 6th as frequency of GPU core, 7th as memory transfer rate -vicious.contrib.nvsmi - - provides (very basic) information about Nvidia GPU status from SMI - - takes optional card ID as an argument, i.e. "1", or defaults to ID 0 - - returns 1st value as temperature of requested graphics device +**vicious.contrib.nvsmi** + +Provides (very basic) information about Nvidia GPU status from SMI +Supported Platforms: platform independent + +- Arguments: + * takes optional card ID as an argument, i.e. "1", or defaults to ID 0 +- Returns: + * returns 1st value as temperature of requested graphics device vicious.contrib.ossvol - diff --git a/contrib/nvsmi.lua b/contrib/nvsmi_all.lua similarity index 91% rename from contrib/nvsmi.lua rename to contrib/nvsmi_all.lua index e68d4a1..317787e 100644 --- a/contrib/nvsmi.lua +++ b/contrib/nvsmi_all.lua @@ -13,7 +13,7 @@ local string = { match = string.match } -- nvsmi: provides GPU information from nvidia SMI -- vicious.contrib.nvsmi -local nvsmi = {} +local nvsmi_all = {} -- {{{ GPU Information widget type @@ -39,4 +39,4 @@ local function worker(format, warg) end -- }}} -return setmetatable(nvsmi, { __call = function(_, ...) return worker(...) end }) +return setmetatable(nvsmi_all, { __call = function(_, ...) return worker(...) end })