print current user

This commit is contained in:
Doug MacEachern committed 2005-09-13 03:42:17 +00:00
1 parent bce3df9cc6
commit f11c79da7e
1 file changed
+2
@@ -53,6 +53,8 @@ public class Version extends SigarCommandBase {
if (!fqdn.equals(host)) {
os.println("Hostname............" + host);
}
os.println("Current user........" +
System.getProperty("user.name"));
os.println("");
OperatingSystem sys = OperatingSystem.getInstance();