print current user
This commit is contained in:
parent
bce3df9cc6
commit
f11c79da7e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user