nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Nvidia's sysctl MIBs need some luuuv ... (http://www.nvnews.net/vbulletin/showthread.php?t=115600)

gnemmi 06-29-08 06:47 PM

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 ... :eek:
any chances to improve that in future releases?

Blessings
Gonzalo Nemmi


All times are GMT -5. The time now is 06:37 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.