You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
(927) |
Apr
(419) |
May
(352) |
Jun
(431) |
Jul
(463) |
Aug
(345) |
Sep
(304) |
Oct
(596) |
Nov
(466) |
Dec
(414) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(348) |
Feb
(313) |
Mar
(665) |
Apr
(688) |
May
(434) |
Jun
(311) |
Jul
(540) |
Aug
(554) |
Sep
(467) |
Oct
(341) |
Nov
(365) |
Dec
(272) |
2009 |
Jan
(386) |
Feb
(293) |
Mar
(279) |
Apr
(239) |
May
(229) |
Jun
(199) |
Jul
(186) |
Aug
(111) |
Sep
(196) |
Oct
(146) |
Nov
(116) |
Dec
(140) |
2010 |
Jan
(170) |
Feb
(159) |
Mar
(151) |
Apr
(161) |
May
(90) |
Jun
(56) |
Jul
(28) |
Aug
(22) |
Sep
(5) |
Oct
|
Nov
(23) |
Dec
(12) |
2011 |
Jan
(8) |
Feb
(8) |
Mar
(22) |
Apr
(24) |
May
(4) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rohit T. <roh...@gm...> - 2014-07-25 09:59:09
|
Hi On going through the source code, I suspect that the service time is being given in milli seconds. Also, I was wrong in assuming that service time received by calling the getServiceTime function will give me the amount of time taken to write the number of bytes between two different calls to the disk usage object, but it tells the service time at that specific clock tick. It would be a great addition if there was a function that could give the difference in values between two multiple calls for read bytes, write bytes, service time etc. On Wed, Jul 23, 2014 at 3:07 PM, Rohit Talwar <roh...@gm...> wrote: > Hi > > I am trying to monitor my application to find which resource is limiting > my code's performance and to help me focus on areas which needs specific > optimization. Hence I want to calculate the disk utilization percentage, > for which I am using the formula - utilization = ( (read requests + write > requests) * service time in ms / 1000 ms ) * 100%. > The DiskUsage package gives the data pertaining the reads (getReads), > writes (getWrites) and service time (getServiceTime), but I am at a loss at > how interpret this data - especially the values provided by getServiceTime. > I searched the forum to find the time units of the return value of the > getServiceTime method, but could not find any information about this. I > request all of you to kindly help me, and also to please direct me if this > is a correct way to determine disk utilization. > > -- > Regards > > Rohit Talwar > -- Regards Rohit Talwar |
From: Rohit T. <roh...@gm...> - 2014-07-23 09:56:34
|
Hi I am trying to monitor my application to find which resource is limiting my code's performance and to help me focus on areas which needs specific optimization. Hence I want to calculate the disk utilization percentage, for which I am using the formula - utilization = ( (read requests + write requests) * service time in ms / 1000 ms ) * 100%. The DiskUsage package gives the data pertaining the reads (getReads), writes (getWrites) and service time (getServiceTime), but I am at a loss at how interpret this data - especially the values provided by getServiceTime. I searched the forum to find the time units of the return value of the getServiceTime method, but could not find any information about this. I request all of you to kindly help me, and also to please direct me if this is a correct way to determine disk utilization. -- Regards Rohit Talwar |
From: Graham L. <mi...@sh...> - 2013-06-28 12:04:34
|
Hi all, RHEL6 comes with the native sigar library available: http://rhn.redhat.com/errata/RHEA-2011-0670.html This provides the following files: [user@tools02 ~]# rpm -q -l sigar /usr/lib64/libsigar.so /usr/share/doc/sigar-1.6.5 /usr/share/doc/sigar-1.6.5/AUTHORS /usr/share/doc/sigar-1.6.5/ChangeLog /usr/share/doc/sigar-1.6.5/LICENSE /usr/share/doc/sigar-1.6.5/NOTICE /usr/share/doc/sigar-1.6.5/README So far so good. We are now trying to use sigar from java on this staging box, and we cannot get our test cases to run at all. we see the following two errors: java.lang.NoClassDefFoundError: Could not initialize class org.hyperic.sigar.Sigar java.lang.UnsatisfiedLinkError: org.hyperic.sigar.Sigar.getNativeVersion()Ljava/lang/String; Unfortunately neither error gives us a clue as to why Sigar is failing, the java.lang.UnsatisfiedLinkError message seems to be printing a bogus string instead of the actual error, so we remain in the dark. Reverse engineering the sigar java binding, we find a complex library loading mechanism that attempts to introspect the architecture of the machine and load a custom-named library with the architecture of the machine embedded into it. This mechanism however doesn't seem to contain any mechanism to load a normal, ordinary system library as provided by the operating system as it is in this case. My question is thus this: - How do we use the sigar java bindings with the sigar library as shipped by Redhat? - Is this even possible? - Has Redhat done some kind of customisation to make this work, and if so is this documented anywhere? - Has anyone got this to work? To make things clear, we need to roll out this code on many nodes, we cannot use a custom hacked solution. We either need to discover what we're doing wrong and do it the right way, or if the java bindings can't work with Redhat's system sigar library at all, we will have to maintain a custom version of the sigar library with this bug fixed. Can anyone shed any light on this? Regards, Graham -- |
From: 金剑 <jin...@gm...> - 2012-04-16 09:18:54
|
Hi, I did not see the native code implemented the gather method, in ProcFd or other class. How does sigar get this done? Best Regards! Jian Jin |
From: TobyTest9 L. <tob...@so...> - 2012-02-04 23:49:39
|
Test from tob...@so... to sig...@hy... |
From: Dileepa J. <dil...@gm...> - 2012-01-20 07:04:38
|
Dear all, I'm a newbie to Sigar API. I need to develop a simple java application to validate the system configurations (CPU, RAM, HD etc) against a given set of recommended configurations. I'm developing in Eclipse Indigo, and in my project I have added sigar.jar (sigar 1.6.4 is used) to the project build path and set it's native library location to sigar-bin/lib. However when I try to retrieve configuration info using Sigar API, it always returns null, 0 results. I used CpuInfo class to retrieve my cpu info, and NetInfo to get network info, thus far was unsuccessful with them. (eg: cpu.getTotalCores() always return 0 and netInfo.getDefaultGateway() always returns null). Is this because the native library path is not properly set to my project classpath? Or some incompatibility with Sigar API and my system? Can you guys please give me any tip on what could be the reason for my application not to work as expected? My system configurations : CPU: Intel Core i7-2630QM CPU @ 2.00GHz × 8 RAM: 8 GB OS : Ubuntu 11.04 (64 bit) Any help on this matter is much appreciated. Thanks, Dileepa |
From: Dileepa J. <dil...@gm...> - 2012-01-18 05:53:25
|
Can somebody give me instructions to setup Sigar.jar with relevant native libraries to start developing my application? I hope Sigar API supports Ubuntu 11.04 (64bit), having trouble in setting up Sigar as the API classes don't provide expected results at the moment. Thanks, Dileepa On Tue, Jan 17, 2012 at 11:15 AM, Dileepa Jayakody < dil...@gm...> wrote: > Hi devs, > > > I'm Dileepa, a relatively new guy in software development. > I have a requirement of writing a small app to validate the system > configurations with a set of recommended minimal configurations. This > includes processor, memory, open-file descriptors etc. Sigar API caught my > eye as a easy-to-use portable API with java binding (I'm developing in > java). > > However I'm unable to retrieve my system configuration info using Sigar > API. I used CpuInfo class to retrieve my cpu info, and NetInfo to get > network info, thus far was unsuccessful with them. (eg: > cpu.getTotalCores() always return 0 and netInfo.getDefaultGateway() always > returns null). > > I'm aware of the requirement of having the Sigar native libraries in the > application classpath. I'm developing in eclipse and have configured the > build-path of my project with sigar-1.6.0.14.jar with it's native library > location set to: sigar-bin/lib. I assume that would fulfil the native > library loading requirement of sigar. Can you guys please give me any tip > on what could be the reason for my application not to work as expected? > > My system configurations : > > - CPU: Intel Core i7-2630QM CPU @ 2.00GHz × 8 > - RAM: 8 GB > - OS : Ubuntu 11.04 (64 bit) > > Does Sigar support above system configurations/architecture/OS? > Any help on this matter is much appreciated. > > Thanks, > Dileepa > > |
From: Robert B. <rb...@nu...> - 2012-01-17 15:14:55
|
I am looking at using Sigar in one of our products. The product runs on Windows, Mac, Solaris, and Linux. Looking at the closed 1.7.0 issues in JIRA for Sigar, the list of completed JIRAs is already impressive. Has a date been set to release 1.7.0? If the release is soon, I may consider using what's in master, if not, I may stick with 1.6.4. |
From: Dileepa J. <dil...@gm...> - 2012-01-17 06:04:13
|
Hi devs, I'm Dileepa, a relatively new guy in software development. I have a requirement of writing a small app to validate the system configurations with a set of recommended minimal configurations. This includes processor, memory, open-file descriptors etc. Sigar API caught my eye as a easy-to-use portable API with java binding (I'm developing in java). However I'm unable to retrieve my system configuration info using Sigar API. I used CpuInfo class to retrieve my cpu info, and NetInfo to get network info, thus far was unsuccessful with them. (eg: cpu.getTotalCores() always return 0 and netInfo.getDefaultGateway() always returns null). I'm aware of the requirement of having the Sigar native libraries in the application classpath. I'm developing in eclipse and have configured the build-path of my project with sigar-1.6.0.14.jar with it's native library location set to: sigar-bin/lib. I assume that would fulfil the native library loading requirement of sigar. Can you guys please give me any tip on what could be the reason for my application not to work as expected? My system configurations : - CPU: Intel Core i7-2630QM CPU @ 2.00GHz × 8 - RAM: 8 GB - OS : Ubuntu 11.04 (64 bit) Does Sigar support above system configurations/architecture/OS? Any help on this matter is much appreciated. Thanks, Dileepa |
From: David W. <wd...@gm...> - 2012-01-11 23:42:03
|
Hi, I have just posted on github a binding to sigar. It cover 100% of the API (latest git) despite a few minor issue in which i would appreciate some help. https://github.com/wdavidw/node-sigar Sincerely, David |
From: Mirko P. <m.p...@gm...> - 2011-10-24 21:02:33
|
Hi, I think you can do some basic disc performance stats. Have a look on the commandline by invoking SIGAR standalone. java -jar sigar-1.6.4.jar sigar> iostat Filesystem Mounted on Reads Writes R-bytes W-bytes Queue Svctm C:\ C:\ 7988446 3526849 2.4G 2.0G 0.00 - D:\ D:\ 3858218 1500053 3.6G 3.9G 0.00 - sigar> So the information is ther, all it needs is probably a plugin to extract disk I/O and put it in the format you want. Cheers, Mirko |
From: Adrian T. <adr...@gm...> - 2011-07-25 15:28:40
|
Also got some exceptions today .... Caused by: org.hyperic.sigar.SigarException: No such pn deni at org.hyperic.sigar.ProcState.gather(Native Method) at org.hyperic.sigar.ProcState.fetch(ProcState.java:30) at org.hyperic.sigar.Sigar.getProcState(Sigar.java:462) "No such pn deni" seems broken, what's a "pn deni"? looks like it is truncated.... |
From: Adrian T. <adr...@gm...> - 2011-07-11 14:28:44
|
Once in a blue moon we get a failure like this: [i]Caused by: org.hyperic.sigar.SigarException: Invalid argument at org.hyperic.sigar.Sigar.getProcArgs(Native Method)[/i] Any idea why it could fail? Maybe the process is not available anymore, but in this case a SigarProcessNotFoundException(or some other exception) will be preferred to be able to distinguish between failures. I remember I saw other methods failing with this message but I'm not 100% positive. Thank you, Adrian Tarau. |
From: Brian L. <blu...@gm...> - 2011-05-31 17:36:10
|
Hi folks, having some issues building maven and SIGAR using the native libs. Any ideas on how to create a custom .pom file and set any necessary config values to have maven create a build with SIGAR bundled and point itself to the proper native libs as well? Ultimately what I'd like to do is create a .war file (or .jar) that has the .dylib/.so native extensions bundled inside, however this may not be possible. If not, what is the best way to set the java.library.path value for maven builds? Here's a snippet of what I'm doing here in the .pom file: <!-- need to copy/unzip the SIGAR native libraries to the target directory and tell SIGAR where they are --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <configuration> <tasks> <echo>SIGAR java library version used is ${sigar.version}</echo> <echo>Copying/unzipping SIGAR native libraries (version ${sigar.version}) to local build directory</echo> <mkdir dir="${project.build.directory}/jboss-sigar" /> <copy toDir="${project.build.directory}/jboss-sigar"> <fileset dir="${settings.localRepository}/org/hyperic/sigar-dist/${sigar.version}" includes="*.zip" /> </copy> <unzip dest="${project.build.directory}/jboss-sigar"> <fileset dir="${project.build.directory}/jboss-sigar" includes="*.zip" /> <patternset> <include name="**/lib/sigar.jar" /> <include name="**/lib/bcel*.jar" /> <include name="**/lib/*.so" /> <include name="**/lib/*.sl" /> <include name="**/lib/*.dll" /> <include name="**/lib/*.dylib" /> </patternset> </unzip> <move todir="${project.build.directory}/jboss-sigar" flatten="true"> <fileset dir="${project.build.directory}/jboss-sigar"> <include name="**/lib/*" /> </fileset> </move> <delete dir="${project.build.directory}/jboss-sigar/hyperic-sigar-${sigar.version}" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> Can you let me know how you folks are handling this? Thanks! |
From: janwen <tom...@16...> - 2011-05-03 17:17:09
|
try snmp protocal.But i also think use agent is the best way to do that. |
From: Ranjith <sig...@hy...> - 2011-05-02 15:27:45
|
Thanks Mirko. I couldn't find an api to connect to a remote host from a javadoc (windows and linux hosts). I could see ConnectParams class under org.hyperic.sigar.vmware which I assume I could use it for connecting to vmware esx host. Does hyperic support agentless system management? I appreciate your response. Thanks, RJ |
From: John B. <aek...@gm...> - 2011-05-02 15:27:32
|
Hi! I'm new to sigar. What i want to do is to get the cpu percentage that my java application is consuming. Can you suggest me which methods should i use? Thanks a lot! |
From: btoal <bri...@gm...> - 2011-04-28 17:44:21
|
I looked at the source and it appears that CpuPrec is the diff between Cpu from the current call to getCpuPerc and the previous call to getCpuPerc. |
From: btoal <bri...@gm...> - 2011-04-28 17:44:20
|
I noticed that CpuPerc used to provide a method called delta to compute the CpuPerc between to Cpu instances. Is there a mechanism that supports computing the delta between two Cpu periods or do I need to roll my? How is CpuPerc on Linux computed? How can I get the CpuPerc, between two intervals? |
From: Ranjith <sig...@hy...> - 2011-04-28 17:44:01
|
Hi, I am new to using sigar api. I am working on a projects where I need to collect system information like cpu, memory, nics etc for number of hosts (windows, linux and VMware ESX servers) I played with the sigar api for a while to collect information on the local host (where sigar.jar is loaded). Is there a way I could specify the host IP or host name and obtain the system information? If not, could you please suggest me an alternative? Thanks for your help. Thanks, pluto |
From: Mirko P. <m.p...@gm...> - 2011-04-28 06:43:35
|
Hi Pluto, you need to install SIGAR on the box where you want to gather the metrics. For example every Hyperic HQ Agent comes with SIGAR, which gathers the majority of the systems metrics on the box. I do not know about an alternative way without installing something on the remote system. Hope this helps, Mirko |
From: jrallen9 <jus...@te...> - 2011-04-25 16:44:56
|
This is an accurate "brief" history of the amd64 nomenclature from wikipedia: <QUOTE> History of AMD64 AMD64 was created as an alternative to Intel and Hewlett Packard's radically different IA-64 architecture. Originally announced in 1999[6] with a full specification in August 2000,[7] the architecture was positioned by AMD from the beginning as an evolutionary way to add 64-bit computing capabilities to the existing x86 architecture, as opposed to Intel's approach of creating an entirely new 64-bit architecture with IA-64. The first AMD64-based processor, the Opteron, was released in April 2003. <QUOTE> |
From: Adam S. <aj...@re...> - 2011-04-25 14:50:45
|
----- Original Message ----- > On Thu, Apr 21, 2011 at 7:22 PM, Doug MacEachern > <dma...@vm...> wrote: > > Hi Andrew, > > > > I've made a few changes on top of yours, but it is the same > > functionally. The changes are merged to hyperic/sigar master now, > > let me know if everything looks good to you. > > The changes look good to me. > Adam: Can you build against these and confirm matahari still works? > Hi Doug, Quick question -- on the Windows system I don't seem to be seeing the long friendly names of the devices only the short names. I went as far as setting an environment variable for the SIGAR_NETIF_NAME_SHORT to attempt to force sigar to print the friendly names. Is there something I could be missing? Thanks for all the work! -- __ __ .-----.| |_.-----.| |--.-----.-----. |__ --|| _| _ || <| -__|__ --| |_____||____|_____||__|__|_____|_____| .----------------------------------. ( aj...@re... || 919.754.4187 ) `----------------------------------' |
From: Andrew B. <an...@be...> - 2011-04-23 08:11:06
|
On Thu, Apr 21, 2011 at 7:22 PM, Doug MacEachern <dma...@vm...> wrote: > Hi Andrew, > > I've made a few changes on top of yours, but it is the same functionally. The changes are merged to hyperic/sigar master now, let me know if everything looks good to you. The changes look good to me. Adam: Can you build against these and confirm matahari still works? > Thanks again! Thank you :) > > -Doug > > On Apr 12, 2011, at 11:56 PM, Andrew Beekhof wrote: > >> On Tue, Apr 12, 2011 at 11:16 PM, Doug MacEachern >> <dma...@vm...> wrote: >>> On Apr 12, 2011, at 1:07 AM, Andrew Beekhof wrote: >>> >>>> On 04/11/2011 11:11 PM, Doug MacEachern wrote: >>>>> Hi Andrew, >>>>> >>>>> ok, no problem, I have it building with the ms compiler now. >>>> >>>> Great >>>> >>>>> sigar_net_interface_name_get is declared extern, do you need that outside of the sigar library or can I make it static? >>>> >>>> We're not using it explicitly, so static should be fine. >>> >>> ok, cool. >>> >>>> >>>>> >>>>> +SIGAR_DECLARE(char *) >>>>> +sigar_net_interface_name_get(sigar_t *sigar, MIB_IFROW *ifr) >>>>> >>>>> I'd also like to make PIP_ADAPTER_ADDRESSES an input to that function so we can avoid calling sigar_new each time. >>>> >>>> Sure. That makes sense. Just be careful how ifconf_buf is used - that >>>> had us guess for a bit. >>> >>> Yeah, a bit too much reuse of that scratch buffer. >>> >>>> >>>> Do you want us to work on this or have you got it under control? >>> >>> I got it for now. I want to spend a bit more time testing and get some mingw32 based CI builds hooked up, etc. Hopefully will be able to get that done soon. >> >> Awesome. >> Happy to do some early testing too - just let us know. > > |
From: Doug M. <dma...@vm...> - 2011-04-21 17:22:52
|
Hi Andrew, I've made a few changes on top of yours, but it is the same functionally. The changes are merged to hyperic/sigar master now, let me know if everything looks good to you. Thanks again! -Doug On Apr 12, 2011, at 11:56 PM, Andrew Beekhof wrote: > On Tue, Apr 12, 2011 at 11:16 PM, Doug MacEachern > <dma...@vm...> wrote: >> On Apr 12, 2011, at 1:07 AM, Andrew Beekhof wrote: >> >>> On 04/11/2011 11:11 PM, Doug MacEachern wrote: >>>> Hi Andrew, >>>> >>>> ok, no problem, I have it building with the ms compiler now. >>> >>> Great >>> >>>> sigar_net_interface_name_get is declared extern, do you need that outside of the sigar library or can I make it static? >>> >>> We're not using it explicitly, so static should be fine. >> >> ok, cool. >> >>> >>>> >>>> +SIGAR_DECLARE(char *) >>>> +sigar_net_interface_name_get(sigar_t *sigar, MIB_IFROW *ifr) >>>> >>>> I'd also like to make PIP_ADAPTER_ADDRESSES an input to that function so we can avoid calling sigar_new each time. >>> >>> Sure. That makes sense. Just be careful how ifconf_buf is used - that >>> had us guess for a bit. >> >> Yeah, a bit too much reuse of that scratch buffer. >> >>> >>> Do you want us to work on this or have you got it under control? >> >> I got it for now. I want to spend a bit more time testing and get some mingw32 based CI builds hooked up, etc. Hopefully will be able to get that done soon. > > Awesome. > Happy to do some early testing too - just let us know. |