X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/70db354eaef14c1c098cc205c5cc04f078e4db04..1a82215d952e916f7fef933827d07bca22c04063:/Ganeti/HTools/Cluster.hs diff --git a/Ganeti/HTools/Cluster.hs b/Ganeti/HTools/Cluster.hs index 4a30e3d..dc316e4 100644 --- a/Ganeti/HTools/Cluster.hs +++ b/Ganeti/HTools/Cluster.hs @@ -780,11 +780,11 @@ printNodes nl = m_name = maximum . map (length . Node.name) $ snl helper = Node.list m_name header = printf - "%2s %-*s %5s %5s %5s %5s %5s %5s %5s %5s %3s %3s %7s %7s" + "%2s %-*s %5s %5s %5s %5s %5s %5s %5s %5s %3s %3s %7s %7s %7s" " F" m_name "Name" "t_mem" "n_mem" "i_mem" "x_mem" "f_mem" "r_mem" "t_dsk" "f_dsk" - "pri" "sec" "p_fmem" "p_fdsk" + "pri" "sec" "p_fmem" "p_fdsk" "r_cpu" in unlines $ (header:map helper snl) -- | Shows statistics for a given node list.