print filesystem and netif names
This commit is contained in:
parent
fd5d821940
commit
4e27c142d0
|
@ -1,5 +1,7 @@
|
||||||
package net.hyperic.sigar.cmd;
|
package net.hyperic.sigar.cmd;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
import net.hyperic.sigar.SigarException;
|
import net.hyperic.sigar.SigarException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,6 +40,14 @@ public class SysInfo extends SigarCommandBase {
|
||||||
new Free(this.shell).output(args);
|
new Free(this.shell).output(args);
|
||||||
println("");
|
println("");
|
||||||
|
|
||||||
|
println("File Systems........." +
|
||||||
|
Arrays.asList(this.sigar.getFileSystemList()));
|
||||||
|
println("");
|
||||||
|
|
||||||
|
println("Network Interfaces..." +
|
||||||
|
Arrays.asList(this.sigar.getNetInterfaceList()));
|
||||||
|
println("");
|
||||||
|
|
||||||
//system resource limits
|
//system resource limits
|
||||||
println("System resource limits:");
|
println("System resource limits:");
|
||||||
new Ulimit(this.shell).output(args);
|
new Ulimit(this.shell).output(args);
|
||||||
|
|
Loading…
Reference in New Issue