GP2X Top


iggywig

Still Fresh
Joined
Dec 17, 2005
Messages
43
Can anyone compile me a version of top (the process manager) that will run on the GP2X? Might be quite useful to see what is hogging the cpu in a telnet session.

Cheers
 
Vimacs posted on May 4 2006 at 08:34 AM said:
http:\\vimacs.homelinux.org/top.zip should do it, however i did not test it.
if not try http:\\vimacs.homelinux.org/top_2.0.zip

this is from the debian arm package.
The first one did not work.
Error while loading shared libraries: libproc.so.3.2.1: cannot open shared object file: No such file or directory.

Neither did the second one.
Error while loading shared libraries: libproc.so.2.0.7: cannot open shared object file: No such file or directory.

There is no version of libproc stored in /lib so you will need to include one in your zip file.
 
Last edited by a moderator:
crusty posted on May 4 2006 at 03:34 PM said:
Vimacs posted on May 4 2006 at 09:23 AM said:
OK, so now the program runs but it reports:

top: Unknown terminal "ansi" in $TERM

The "ansi" terminal type is defined in /etc/termcap at line 520
so this error report has me stumped.

Any ideas how to fix it?

I don't know if this is still a problem but /etc/termcap is the file used by old versions of ncurses, the newer versions require you to have a directory e.g. terminfo containing directories with the initial letter of the terminal, containing the terminfo file e.g. ansi is in terminfo/a/ansi

Just set TERMINFO to point to terminfo and top will work.
 
Last edited by a moderator:
Back
Top