Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

SIGAR getStartTime() returns future time on Solaris, Ok on Linux/Win

$
0
0
Hello,

I have some strange issue of using SIGAR on Solaris OS.

The sigar.getProcTime(pid).getStartTime();
returns strange values and all are in future time vs System.currentTimeMillis()
This works just fine on other platforms - Linux, Win regardless CPU architecture.

This simple test code is attached to test this issue.

Machine hardware:   sun4u
OS version:         5.10
Processor type:     sparc
Hardware:           SUNW,Sun-Fire-280R

Output:
Inside main method
Pid : 24378
Inside try block....
Process Start time: 1320746293000
System Current time: 1320746164759
Process upTime : -128240

Is this known issue?
How I can make it work on Solaris?

Thanks.

Mike.

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>