Date: Wed, 23 Aug 2000 04:20:05 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/20799: top's problem Message-ID: <200008231120.EAA84999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/20799; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: wkwu@Kavalan.csie.NCTU.edu.tw Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/20799: top's problem Date: Wed, 23 Aug 2000 14:09:59 +0300 If you want to hardcode a username length limit, you'd be better off with the max value - 15, in this case; or use a value provided by the OS - UT_NAMESIZE comes to mind. On Wed, Aug 23, 2000 at 06:26:25PM +0800, wkwu@Kavalan.csie.NCTU.edu.tw wrote: > >Synopsis: top's problem > > >Description: [snip] > > we have to comment above, and added only line: > namelength = 9; > > Because the 'top' command will delay about 7-seconds if we use > the original source. I am wondered why the 'top' dump all yp-passwd > to get 'namelength'. It seems a little stupid. G'luck, Peter -- This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008231120.EAA84999>