Skip to content

MichaelDoyle/istat4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

istat4j

A Java client library for querying the iStat Server, which provides the ability to remotely monitor your Mac, Windows PC or Linux server. CPU, Memory, Load and other statistics are available. Currently, only the Linux implementation is supported. The OSX and Windows iStat Servers use a newer version of the protocol, which is not yet supported.

Usage

IstatService service = IstatServiceFactory.getService();
		
ServerConfiguration sc = new ServerConfiguration(
    ServerConfiguration.getLocalHostname(),
    ServerConfiguration.generateUuid(), 
    "host.domain", 5109, "12345");
		
service.setServerConfiguration(sc);

Telemetry telemetry = service.getAllTelemetry();

Maven

<dependency>
  <groupId>com.github.michaeldoyle</groupId>
  <artifactId>istat4j</artifactId>
  <version>1.0.0</version>
</dependency>

About

A Java client library for the iStat Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published