host name
This commit is contained in:
parent
0a67c7fac2
commit
006d84e029
|
@ -23,6 +23,9 @@ public class NetInfo extends SigarCommandBase {
|
|||
net.hyperic.sigar.NetInfo info =
|
||||
this.sigar.getNetInfo();
|
||||
|
||||
println("host name............." +
|
||||
info.getHostName());
|
||||
|
||||
println("domain name..........." +
|
||||
info.getDomainName());
|
||||
|
||||
|
|
Loading…
Reference in New Issue