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.
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.