java - Find system information -


i'd find out things like:

  • what hardware computer has using java(network card).
  • if there usb flash drive introduced , maybe flash drive had(file names,directories,size).
  • what ip addresses have been accessed, or sites.

how information?

the sigar api provides portable interface gathering system information such as:

system memory, swap, cpu, load average, uptime, logins per-process memory, cpu, credential info, state, arguments, environment, open files file system detection , metrics network interface detection, configuration info , metrics tcp , udp connection tables network route table information available in operating systems, each os has own way(s) providing it. sigar provides developers 1 api access information regardless of underlying platform. core api implemented in pure c bindings implemented java, perl, ruby, python, erlang, php , c#.

check homepage:

https://support.hyperic.com/display/sigar/home


Comments