move nvsmi widget to match new layout

This commit is contained in:
Jörg Thalheim 2017-01-25 20:05:01 +01:00
parent f333c78256
commit 4882377cb3
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
2 changed files with 11 additions and 6 deletions

View File

@ -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
-

View File

@ -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 })