sigar

Sigar binding for Node.js

npm install sigar
6 downloads in the last week
23 downloads in the last month

Node Sigar binding

A complete binding to the SIGAR library.

Documentation is available on the project website.

Problems

Those are minor issues which I wasn't yet able to resolve.

  • Calling sigar_net_address_to_string throw symbol error
    Impacted functions: netRouteListGet, netInterfaceConfigGet, netInterfaceConfigPrimaryGet, netConnectionListGet Solution: import related source code in './src/node_sigar_format.cc'
  • netconnectionlist() doesn't handle flag, use '-1' for now
  • String to address function isn't working in node_sigar_str2net_address. Impacted function: SigarNetStatPortGet See: ./tests/TodoTest.coffee # Test testNetAdress
  • Protocal in sigar_proc_port_get seems disregarded
  • No idea on how to use rpcPing, see ./tests/TodoTest.coffee # Test rpcPing

Notes

  • sigar_net_connection_walk is not implemented
  • sigar_who_list_get return 0 records (tested on OSX)
npm loves you