Problems with cron script and TERM definition using top command
You can try something like: TERM=vt100 top -b -n 1 This will set the TERM variable to execute with the “top” command. But your underlying problem is that your termcap database is incomplete or broken. I don’t have a Debian machine to look at, but on an Ubuntu box, the “dumb” termcap info is in … Read more