Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.4
3.1.0
7 changes: 7 additions & 0 deletions resources/lib/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,13 @@ def execute()
printf("-----------------------------------------------------------------\n")
end
printf("Running: #{running} / Stopped: #{stopped} / External: #{external} / Errors: #{errors}\n\n")
manager_node = utils.get_node(node_name)
if manager_node && manager_node['uptime_seconds'].is_a?(Numeric)
printf("#{node_name} runtime: #{manager_node['uptime']}\n")
printf("#{node_name} start time: #{Time.now - manager_node['uptime_seconds']}\n\n")
else
printf("Error getting manager node\n\n")
end
end

def parse_memory_to_bytes(memory_str)
Expand Down