*** empty log message ***

This commit is contained in:
Martin Baulig
1998-09-09 15:32:44 +00:00
parent a331fb8e03
commit 88c34d1415
2 changed files with 2 additions and 7 deletions

View File

@@ -85,17 +85,10 @@ glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf)
#if HAVE_LIBGTOP_SMP
for (i = 0; i < GLIBTOP_NCPU; i++) {
u_int64_t user, nice, sys, idle;
if (strncmp (p+1, "cpu", 3) || !isdigit (p [4]))
break;
p += 6;
user = strtoul (p, &p, 0);
nice = strtoul (p, &p, 0);
sys = strtoul (p, &p, 0);
idle = strtoul (p, &p, 0);
buf->xcpu_user [i] = strtoul (p, &p, 0);
buf->xcpu_nice [i] = strtoul (p, &p, 0);
buf->xcpu_sys [i] = strtoul (p, &p, 0);