host name
This commit is contained in:
1 parent
0a67c7fac2
commit
006d84e029
1 file changed
+3
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user