move nvsmi widget to match new layout
This commit is contained in:
parent
f333c78256
commit
4882377cb3
|
@ -97,10 +97,15 @@ Supported Platforms: platform independent
|
||||||
PCIe bandwidth, 5th as temperature of requested graphics device, 6th
|
PCIe bandwidth, 5th as temperature of requested graphics device, 6th
|
||||||
as frequency of GPU core, 7th as memory transfer rate
|
as frequency of GPU core, 7th as memory transfer rate
|
||||||
|
|
||||||
vicious.contrib.nvsmi
|
**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
|
Provides (very basic) information about Nvidia GPU status from SMI
|
||||||
- returns 1st value as temperature of requested graphics device
|
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
|
vicious.contrib.ossvol
|
||||||
-
|
-
|
||||||
|
|
|
@ -13,7 +13,7 @@ local string = { match = string.match }
|
||||||
|
|
||||||
-- nvsmi: provides GPU information from nvidia SMI
|
-- nvsmi: provides GPU information from nvidia SMI
|
||||||
-- vicious.contrib.nvsmi
|
-- vicious.contrib.nvsmi
|
||||||
local nvsmi = {}
|
local nvsmi_all = {}
|
||||||
|
|
||||||
|
|
||||||
-- {{{ GPU Information widget type
|
-- {{{ GPU Information widget type
|
||||||
|
@ -39,4 +39,4 @@ local function worker(format, warg)
|
||||||
end
|
end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
return setmetatable(nvsmi, { __call = function(_, ...) return worker(...) end })
|
return setmetatable(nvsmi_all, { __call = function(_, ...) return worker(...) end })
|
Loading…
Reference in New Issue