host name

This commit is contained in:
Doug MacEachern 2005-07-11 22:44:34 +00:00
parent 0a67c7fac2
commit 006d84e029
1 changed files with 3 additions and 0 deletions

View File

@ -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());