netconfig dump

  • Creator
    Topic
  • #51726
    pat fragle
    Participant

    I am trying to parse the netconfig file and pull the data into a database.  That way I can pull all ports on the fly or pull all threads in a group, etc all from a database rather than the engine.  Does anyone know how to dump or parse this file to get all the data out?

Viewing 1 reply thread
  • Author
    Replies
    • #71468
      Scott Folley
      Participant

      In TCL use netconfig load and then you can use info commands netcfg* to see what options there are for getting at the information.

    • #71469
      Todd Horst
      Participant

      #Load config and echo commands

      netcfgLoad $env(HCIROOT)/$site/NetConfig

      echo [info commands netcfg*]

      Returns::

      netcfgGetConnList

      netcfgModified

      netcfgIsConnInProcess

      netcfgGetGroupConns

      netcfgIsConnInGroup

      netcfgGetConnCount

      netcfgGetGroupList

      netcfgGetProcData

      netcfgGetGroupCount

      netcfgLoad

      netcfgGetProcConns

      netcfgReloadLock

      netcfgGetConnData

      netcfgGetProcList

      netcfgGetProcCount

      netcfgGetVersion

      netcfgLoadCheck

      #get the arguments and run the command

         echo netcfgGetConnList

         echo args::[info args netcfgGetConnList]

         echo results::[netcfgGetConnList]

Viewing 1 reply thread
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,079
Forums
28
Topics
9,253
Replies
34,246
Topic Tags
275