From: Doug M. <do...@hy...> - 2009-10-27 21:07:33
|
ProcCpu.getLastTime is actually an internal field that we shouldn't be public. If you're looking to measure how long the process has been running: System.currentTimeMillis() - procTime.getStartTime(); The value of majorfaults + minorfaults on Mac + Windows should actually be -1 (Sigar.FIELD_NOTIMPL). The javadoc for minor/major faults notes: Supported Platforms: AIX, HPUX, Linux, Solaris. |