Rob Lahaye
2003-Sep-17 18:08 UTC
Recompiled kernel PRERELEASE: top command gives rubbish output !?!
I have compiled and installed the STABLE cvsup'ed kernel sources, rebooted and discovered that the 'top' command now outputs rubbish: $ top -b last pid: 10630; load averages: 1.91, 1.31, 0.59 up 0+00:33:03 10:04:48 21 processes: 1 starting, 1 running, 1 sleeping, 1 stopped Mem: 57M Active, 32M Inact, 23M Wired, 6564K Cache, 22M Buf, 4560K Free Swap: 256M Total, 256M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND -943970496 root 170 -52 3068M 24K ? 121 ??? 0.00% 806.54% ? -857718912 /0*/,))/ -22 -52 0K 2512M ? 64 ??? 0.15% 0.15% <> 201 root -22 1484 0K 0K ? -70 ??? 0.05% 0.05% 0 root -22 -52 0K 0K ? -88 ??? 0.00% 0.00% <> -853673688 root -22 -52 0K 835G ? 64 ??? 0.00% 0.00% <> 0 root -22 -52 2048M 0K ? -1 ??? 0.00% 0.00% <> 10630 /0+)*00. 29 0 0K 0K RUN 0:00 0.00% 0.00% top 1611504 root -22 49218 0K 0K ? 48 0:00 0.00% 0.00% -1059416064 root -22 21 0K 384K ? -48 0:00 0.00% 0.00% <> 0 root 134 36 0K 0K SLEEP 0:00 0.00% 0.00% <???> 1634230636 /0)0'')/ -22 -52 3279M 0K START 57:18 1203985911.20% 167893707.81% <> 101 18861510 -22 21 0K 65536M ? 112 0:00 167890575.39% 167890575.39% <?> -856577888 root -22 -52 0K 832G ? 64 0:00 167890537.30% 167890537.30% <> -856572064 root -22 -52 0K 834G ? 16 0:00 167890392.19% 167890392.19% <> -1057673792 root -22 -52 0K 26783M ? -24 ??? 0.00% 167890213.28% <> -1059956992 (+*+)-). -22 29461 16384K 26113M ? 32 70.1H 0.00% 167890107.81% <> 168 root -22 52482 392M 0K STOP 1623.4 0.00% 167834393.75% <> -1059255232 root -22 -52 3075M 19420M ? 48 0:00 0.00% 163623396.88% <> ---------------- Is there a quicker fix than recompiling the whole base system (base system now is 4.8-RELEASE)? Thanks, Rob.
Robert Watson
2003-Sep-17 20:03 UTC
Recompiled kernel PRERELEASE: top command gives rubbish output !?!
On Thu, 18 Sep 2003, Rob Lahaye wrote:> I have compiled and installed the STABLE cvsup'ed kernel sources, > rebooted and discovered that the 'top' command now outputs rubbish:Could you confirm your libkvm and top bits are running from source code in sync with your kernel? Garbage top output can be a symptom of out-of-sync kernel and userland pieces. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories> > $ top -b > last pid: 10630; load averages: 1.91, 1.31, 0.59 up 0+00:33:03 10:04:48 > 21 processes: 1 starting, 1 running, 1 sleeping, 1 stopped > > Mem: 57M Active, 32M Inact, 23M Wired, 6564K Cache, 22M Buf, 4560K Free > Swap: 256M Total, 256M Free > > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > -943970496 root 170 -52 3068M 24K ? 121 ??? 0.00% 806.54% ? > -857718912 /0*/,))/ -22 -52 0K 2512M ? 64 ??? 0.15% 0.15% <> > 201 root -22 1484 0K 0K ? -70 ??? 0.05% 0.05% > 0 root -22 -52 0K 0K ? -88 ??? 0.00% 0.00% <> > -853673688 root -22 -52 0K 835G ? 64 ??? 0.00% 0.00% <> > 0 root -22 -52 2048M 0K ? -1 ??? 0.00% 0.00% <> > 10630 /0+)*00. 29 0 0K 0K RUN 0:00 0.00% 0.00% top > 1611504 root -22 49218 0K 0K ? 48 0:00 0.00% 0.00% > -1059416064 root -22 21 0K 384K ? -48 0:00 0.00% 0.00% <> > 0 root 134 36 0K 0K SLEEP 0:00 0.00% 0.00% <???> > 1634230636 /0)0'')/ -22 -52 3279M 0K START 57:18 1203985911.20% > 167893707.81% <> > 101 18861510 -22 21 0K 65536M ? 112 0:00 167890575.39% 167890575.39% <?> > -856577888 root -22 -52 0K 832G ? 64 0:00 167890537.30% > 167890537.30% <> > -856572064 root -22 -52 0K 834G ? 16 0:00 167890392.19% > 167890392.19% <> > -1057673792 root -22 -52 0K 26783M ? -24 ??? 0.00% 167890213.28% <> > -1059956992 (+*+)-). -22 29461 16384K 26113M ? 32 70.1H 0.00% 167890107.81% <> > 168 root -22 52482 392M 0K STOP 1623.4 0.00% 167834393.75% <> > -1059255232 root -22 -52 3075M 19420M ? 48 0:00 0.00% 163623396.88% <> > > > ---------------- > > Is there a quicker fix than recompiling the whole base system (base system > now is 4.8-RELEASE)? > > Thanks, > Rob. > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >