org.chorem.jtimer.ui.system.unix
Class UnixSystemInfo

java.lang.Object
  extended by org.chorem.jtimer.ui.system.unix.UnixSystemInfo
All Implemented Interfaces:
SystemInfo

public class UnixSystemInfo
extends Object
implements SystemInfo

Linux system info. Based on https://jdic.dev.java.net/source/browse/jdic/src/incubator/systeminfo /src/unix/native/jni/systeminfo.c?rev=1.1.1.1&view=markup source code.

Version:
$Revision: 2518 $ Last update : $Date: 2009-05-22 13:17:51 +0200 (ven., 22 mai 2009) $ By : $Author: chatellier $
Author:
chatellier

Constructor Summary
UnixSystemInfo()
          Constructor.
 
Method Summary
 long getIdleTime()
          Get system idle time in milliseconds.
protected  long getXssIdleTime()
          Get idle time via Xss.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnixSystemInfo

public UnixSystemInfo()
Constructor. Package visibility

Method Detail

getIdleTime

public long getIdleTime()
Description copied from interface: SystemInfo
Get system idle time in milliseconds.

Specified by:
getIdleTime in interface SystemInfo
Returns:
system idle time in milliseconds

getXssIdleTime

protected long getXssIdleTime()
Get idle time via Xss.

Returns:
idle time


Copyright © 2007-2010 CodeLutin. All Rights Reserved.