public void execute(AdminCommandContext context) {
final ActionReport report = context.getActionReport();
long totalTime_ms = getUptime();
String totalTime_mss = "" + totalTime_ms;
Duration duration = new Duration(totalTime_ms);
duration.setTerse();
report.setActionExitCode(ActionReport.ExitCode.SUCCESS);
String message;
if (milliseconds)
message = totalTime_mss;