2

I can't get top (top: procps version 3.2.8) to run in batch mode.

root@zenitel063a52:~ top -b
'dumb': unknown terminal type.

It will run normally in interactive mode (just when calling top).

How can this be fixed?

2

1 Answer 1

2

The problem is that the dumb terminal is missing in /usr/share/terminfo/d/. A workaround is to copy a different terminal and rename it to dumb.

cd /usr/share/terminfo
mkdir d      #if directory not there
cp v/vt100 d/dumb

The reason why this hack should work is because dumb terminal should only provide support for the simplest functionality, and other terminal provide that.

1
  • ...which seems to be what @rahul was suggesting Commented Apr 2, 2015 at 15:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .