Date: 05 Mar 2001 14:12:24 -0800 From: William Carrel <william.carrel@infospace.com> To: freebsd-hackers@freebsd.org Subject: Fix for scrambled top display on SMP [PR 22270] Message-ID: <mbofvfuapj.fsf@gasket.go2net.com>
next in thread | raw e-mail | index | archive | help
It's just three lines of code. :) I have SMP machines here that have some pretty absurdly long usernames thanks to some NIS accounts (20+ chars). Unfortunately the namelength truncation code in /usr/bin/top currently doesn't take into account the 'C' (last CPU) field that SMP machines have. This patch makes long names just a little shorter so that the display doesn't wrap weirdly on a 80 column display. http://www.freebsd.org/cgi/query-pr.cgi?pr=22270 PR's been stale for a bit so I thought I'd draw some attention. <wink> Thanks for reading. -- Andy Carrel - william.carrel@infospace.com - +1 (206) 357-4607 Internet Sys. Eng. - Enterprise Infrastructure & Security - InfoSpace To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mbofvfuapj.fsf>