Linux C: interactive output

212 views Asked by At

I'm developing some kind of mysql monitoring tool so I need interactive output like top command.

Is there any lib that can be used for this?

2

There are 2 answers

1
Noah Watkins On

You may get some good milage out of ncurses http://www.gnu.org/software/ncurses/

Here is a link to the IO-Top source code. It is software that behaves like top, but displays information related to IO, rather than CPU.

0
steffen On

ncurses was already mentioned. Another bash approach is using dialog. See http://linux.die.net/man/1/dialog