From 77dae77adf188862a0566f8d401a6a3139956ce0 Mon Sep 17 00:00:00 2001 From: Don Lipari <lipari1@llnl.gov> Date: Fri, 6 Nov 2009 00:53:49 +0000 Subject: [PATCH] Changed display of CPUs in scontrol show job from CPUs= to CPU_IDs= to convey that CPU IDs are displayed and not a CPU count. --- src/api/job_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/job_info.c b/src/api/job_info.c index db2bbb04170..04219e518d3 100644 --- a/src/api/job_info.c +++ b/src/api/job_info.c @@ -352,7 +352,7 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner ) hostlist_ranged_string(hl_last, sizeof(last_hosts), last_hosts); snprintf(tmp_line, sizeof(tmp_line), - " Nodes=%s CPUs=%s Mem=%u", + " Nodes=%s CPU_IDs=%s Mem=%u", last_hosts, tmp2, last_mem_alloc_ptr ? last_mem_alloc : 0); xstrcat(out, tmp_line); @@ -389,7 +389,7 @@ slurm_sprint_job_info ( job_info_t * job_ptr, int one_liner ) if (hostlist_count(hl_last)) { hostlist_ranged_string(hl_last, sizeof(last_hosts), last_hosts); snprintf(tmp_line, sizeof(tmp_line), - " Nodes=%s CPUs=%s Mem=%u", last_hosts, tmp2, + " Nodes=%s CPU_IDs=%s Mem=%u", last_hosts, tmp2, last_mem_alloc_ptr ? last_mem_alloc : 0); xstrcat(out, tmp_line); if (one_liner) -- GitLab