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?
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.
- http://repo.or.cz/w/iotop.git
ncurses
was already mentioned. Another bash
approach is using dialog
. See http://linux.die.net/man/1/dialog
精彩评论