Gleb Voronich
Gleb Voronich

Reputation: 51

Linux C: interactive output

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?

Upvotes: 5

Views: 203

Answers (2)

Noah Watkins
Noah Watkins

Reputation: 5540

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.

Upvotes: 4

steffen
steffen

Reputation: 8958

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

Upvotes: 0

Related Questions