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?
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?
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.
ncurses
was already mentioned. Another bash
approach is using dialog
. See http://linux.die.net/man/1/dialog