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 =
|
net.hyperic.sigar.NetInfo info =
|
||||||
this.sigar.getNetInfo();
|
this.sigar.getNetInfo();
|
||||||
|
|
||||||
|
println("host name............." +
|
||||||
|
info.getHostName());
|
||||||
|
|
||||||
println("domain name..........." +
|
println("domain name..........." +
|
||||||
info.getDomainName());
|
info.getDomainName());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue