View Single Post
Old 06-29-08, 06:47 PM   #1
gnemmi
Registered User
 
Join Date: Sep 2005
Posts: 8
Default Nvidia's sysctl MIBs need some luuuv ...

Code:
[gonzalo@inferna ~]% vim ashamedofthisscript.sh
  1 #!/usr/local/bin/bash
  2 for i in $( sysctl -a | grep nvidia | cut -f1 -d":" )
  3 do
  4     ( sysctl -d $i )
  5 done
[gonzalo@inferna ~]% ./ashamedofthisscript.sh | cat -n
     1  hw.nvidia.version: NVIDIA Resource Manager (NVRM) Version
     2  hw.nvidia.registry.EnableVia4x:
     3  hw.nvidia.registry.EnableALiAGP:
     4  hw.nvidia.registry.NvAGP:
     5  hw.nvidia.registry.ReqAGPRate:
     6  hw.nvidia.registry.EnableAGPSBA:
     7  hw.nvidia.registry.EnableAGPFW:
     8  hw.nvidia.registry.Mobile:
     9  hw.nvidia.registry.ResmanDebugLevel:
    10  hw.nvidia.registry.RmLogonRC:
    11  hw.nvidia.registry.ModifyDeviceFiles:
    12  hw.nvidia.registry.DeviceFileUID:
    13  hw.nvidia.registry.DeviceFileGID:
    14  hw.nvidia.registry.DeviceFileMode:
    15  hw.nvidia.registry.RemapLimit:
    16  hw.nvidia.registry.UpdateMemoryTypes:
    17  hw.nvidia.registry.UseVBios:
    18  hw.nvidia.registry.RMEdgeIntrCheck:
    19  hw.nvidia.registry.UsePageAttributeTable:
    20  hw.nvidia.registry.dwords:
    21  hw.nvidia.cards.0.model: NVIDIA Device Model Name
    22  hw.nvidia.cards.0.irq: NVIDIA Device IRQ Number
    23  hw.nvidia.cards.0.vbios: NVIDIA Device VBIOS Version
    24  hw.nvidia.cards.0.type: NVIDIA Device Bus Type
    25  dev.nvidia.0.%desc: device description
    26  dev.nvidia.0.%driver: device driver name
    27  dev.nvidia.0.%parent: parent device
[gonzalo@inferna ~]%
out of 27 MIB's only 8 have descriptions ...
any chances to improve that in future releases?

Blessings
Gonzalo Nemmi
gnemmi is offline   Reply With Quote