Skip to content

broncho/sigar-all-in-one

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sigar-all-in-one

Sigar和平台依赖的库一起打包

使用指南

<dependency>
    <groupId>org.fusesource</groupId>
    <artifactId>sigar</artifactId>
    <version>1.6.4</version>
</dependency>
  • 使用
    public static void main(String[] args) {
    
        Sigar sigar = GoSigar.sigar();
        try {
            System.out.println(sigar.getCpu());
        } catch (SigarException e) {
            e.printStackTrace();
        }
    }

资源

About

Sigar和平台依赖库一起打包maven可用

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages