The onstat command is used to view and monitor what is happening in the engine.
Probably the Definitive (ish) Onstat Reference