Date: Mon, 12 May 2008 13:46:34 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: Ncurses or top(1) is broken Message-ID: <20080512184633.GD67415@dan.emsphone.com> In-Reply-To: <20080512182113.GA82050@troutmask.apl.washington.edu> References: <20080512182113.GA82050@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 12), Steve Kargl said: > Script started on Mon May 12 12:00:30 2008 > mobile:kargl[201] setenv | grep TERM > TERM=xterm > mobile:kargl[202] stty -a | grep row > speed 38400 baud; 43 rows; 90 columns; > mobile:kargl[203] top 40 > top: warning: this terminal can only display 36 processes. > .... > last pid: 893; load averages: 0.02, 0.05, 0.06 up 0+00:28:41 12:00:59 > 24 processes: 3 running, 21 sleeping > CPU: % user, % nice, % system, % interrupt, % idle > Mem: 9880K Active, 7148K Inact, 22M Wired, 56K Cache, 29M Buf, 455M Free > Swap: 712M Total, 712M Free What's broken? The header in top is 7 lines (your paste omitted a blank line and the column headings for the process list), which means that a 43-line window can only display 36 processes. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080512184633.GD67415>