searchforsolutions

Just another WordPress.com site

Category Archives: System programming

Java and WMI


For COM/DCOM,WMI on Windows platform.

The library: http://www.j-interop.org/index.html

Some helpful examples:

http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/

http://henryranch.net/software/jwmi-query-windows-wmi-from-java/

http://nikunjp.wordpress.com/2011/06/11/wmi-with-java-using-j-interop/

Advertisements

Java API to access system information regardless of the underlying platform


http://www.hyperic.com/products/sigar

http://sourceforge.net/projects/sigar/files/

SIGAR includes support for Linux, FreeBSD, Windows, Solaris, AIX, HP-UX and Mac OSX across a variety of versions and architectures. Users of the SIGAR API are given portable access to inventory and monitoring data including:

  • System memory, swap, cpu, load average, uptime, logins
  • Per-process memory, cpu, credential info, state, arguments, environment, open files
  • File system detection and metrics
  • Network interface detection, configuration information and metrics
  • Network route and connection tables