Questions tagged [sigar]

Hyperic's System Information Gatherer And Reporter (SIGAR) is a cross-platform API for collecting software inventory data. SIGAR is core of HQ's auto-discovery functionality, and you can use it to extend auto-discovery behavior.

About

Hyperic's System Information Gatherer And Reporter (SIGAR) is a cross-platform API for collecting software inventory data. SIGAR is core of HQ's auto-discovery functionality, and you can use it to extend auto-discovery behavior.

Overview

The Sigar API provides a portable interface for 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 and metrics
  • Network interface detection, configuration info and metrics
  • TCP and UDP connection tables
  • Network route table

This information is available in most operating systems, but each OS has their own way(s) providing it. SIGAR provides developers with one API to access this information regardless of the underlying platform.

Bindings

The core API is implemented in pure C with bindings currently implemented for Java, Perl, Ruby, Python, Erlang, PHP and C#.

Version

The current stable version is 1.6.4

Resources

Home Page

JavaDocs API

Downloads

106 questions
29
votes
2 answers

Unzip dependency in maven

I have the following dependency in maven org.hyperic sigar-dist 1.6.5.132 zip This creates sigar-dist-1.6.5.132.zip in my repository. I…
Shervin Asgari
  • 23,901
  • 30
  • 103
  • 143
7
votes
5 answers

How to install SIGAR on Ubuntu-based Linux?

I am using SIGAR in a java project with Maven and Spring. I have the Maven Dependency and Maven Repository included in my pom.xml file, as described in this link: http://mavenhub.com/mvn/thirdparty-uploads/org.hyperic/sigar/1.6.5.132 Furthermore, I…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
7
votes
1 answer

How to use SIGAR with maven on Linux?

I have am trying to run SIGAR on my linux project using maven for dependencies and the spring framework. In my Maven pom.xml file I have added the Maven dependency and the Maven repository, according to the official website. However, this is still…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
7
votes
2 answers

Sigar UnsatisfiedLinkError

I'm new to Sigar. I would like to run a simple test to know how I can monitor my system. I added sigar-1.6.4 and log4j as external libraries, but when I go to run it, I face this error: Exception in thread "main" java.lang.UnsatisfiedLinkError:…
Narges
  • 1,345
  • 6
  • 14
  • 29
5
votes
4 answers

"no sigar-x86-winnt.dll in java.library.path" error when using Hyperic SIGAR on multi language OS

I am using a Hyperic SIGAR library as third party lib in my installation program. My installation program unpacks all third lib files to the %TEMP%\\user folder. On English OS's everything works great, but when i tried to run my setup program on…
Maxim Kirilov
  • 2,639
  • 24
  • 49
5
votes
1 answer

Using SIGAR with maven

I'm currently trying to use Sigar in a maven-build, and it says everytime: "org.hyperic.sigar.SigarException: no libsigar-x86-linux.so in java.library.path" I've installed Sigar to maven with mvn install:install-file -DgroupId=org.hyperic…
David Georg Reichelt
  • 963
  • 1
  • 15
  • 36
5
votes
4 answers

Sigar API for JAVA (need a guide)

I've downloaded Sigar API ( http://support.hyperic.com/display/SIGAR/Home ) and would like to use it in a project to get information about different processes which are running. My problem is that I can't really find some useful code snippets to…
CosminO
  • 5,018
  • 6
  • 28
  • 50
5
votes
2 answers

How to include SIGAR API in Java Project

I'm new on Java, so i don't know who to get the downloading zip-file (hyperic-sigar-1.6.4.zip) in the project where i've to use the Sigar-classes. I already try to import the Sigar.Jar file, but the problem is then that the sources are unknown for…
Marcus Se
  • 63
  • 1
  • 2
  • 5
5
votes
3 answers

Hyperic Sigar Mac Osx Error -No Library

Hi im using a third party lib name Hyperic Sigar. When i run my code it shows error, This is my code: package pack; import org.hyperic.sigar.*; public class NetworkData { public static void main(String[] args) { Sigar sigar = new Sigar(); …
Chris
  • 612
  • 2
  • 9
  • 23
4
votes
0 answers

achilles Cassandra mock server: no libsigar-universal64-macosx.dylib in java.library.path

I use a archilles cassandra mock server to perform unit testing for my java maven project and everything works fine except I get an exception printed out in the console: org.hyperic.sigar.SigarException: no libsigar-universal64-macosx.dylib in…
João Matos
  • 6,102
  • 5
  • 41
  • 76
4
votes
1 answer

How Do I Get The CPU Percentage For All Threads In The JVM?

I have a java monitoring application that I use to monitor CPU (amongst other things) on linux. I am using Sigar to get the CPU usage for my…
opticyclic
  • 7,412
  • 12
  • 81
  • 155
4
votes
1 answer

sigar-amd64-winnt.dll ... can't reference it or bundle it with .jar

(It might be an obvious mistake I'm making, but I couldn't get it to work after 6 hours now.) I'm trying to get CPU information using the sigar.jar in my eclipse project (just testing the sigar API for now). It runs in eclipse without…
Nick463
  • 225
  • 2
  • 11
3
votes
1 answer

Java applet reading system parametres with Sigar API throws "AccessControlException: access denied"

I have written a java applet which tests user link speed. I gather some system information prom user's computer: CPU load, amount of data downloaded on eth0 interface and NIC card max speed with SIGAR API. I deployed it on a web server but when i…
k4b
  • 215
  • 1
  • 3
  • 12
3
votes
2 answers

Get a list of disks to read free space in Java, using Sigar

I need to get the free available disk space for all disks in system, or all partitions, I don't mind that. (I dont have to use Sigar, but I am using it already on the project for some other processes, so I can use it for this as well) I am using…
Skaros Ilias
  • 1,008
  • 12
  • 40
3
votes
1 answer

How to include sigar native libraries in sbt-native-packager Akka build?

I'm just curious if there is some nice way to do that with Akka packaging. I found some examples here, but it was created for rpm build and I'm using these two plugins in my build.sbt: .enablePlugins(AkkaAppPackaging) …
Piotr Kozlowski
  • 899
  • 1
  • 13
  • 25
1
2 3 4 5 6 7 8