NYCPHP Meetup

NYPHP.org

[nycphp-talk] php ncurses based mysql process watcher.. (preview)

Joel De Gan joel at tagword.com
Thu Jan 8 18:42:26 EST 2004


I built a mysql process watcher in PHP using ncurses.
Screenshots here: http://soulreactor.com/mview/

I am interested in any ideas or things that can/could be added, i.e.
things you might find useful when monitoring your mysql servers, or
Algorithms used to compute meaningful data about the state of the server
etc.. 

No source released yet until I get the go ahead from work to opensource
it. My proposal is in, so hopefully not long.

Some points:
	- 100% dynamically resizeable depending on terminal size
	- entire project done in php
	- makes use of termgraph code I wrote for another app
	(termgraph code here:
http://lucifer.intercosmos.net/index.php?view=textgraph )
	- graphs are updated default of once per second, this can be changed by
pressing number keys for different refresh rates.
	- This is also a follow-up to a tutorial I wrote for Zend
	(Zend tutorial on using ncurses with PHP: 
http://www.zend.com/zend/tut/tut-degan.php )

Cheers

-- 
joeldg - developer, Intercosmos media group.
http://lucifer.intercosmos.net




More information about the talk mailing list