RS - get current plugin command

Is it possible to get the current plugin command which is running - I am trying to collate the most used commands of my plugin.

Thanks,
Keith

Using RhinoCommon you can hook into the BeginCommand and EndCommand events.
http://4.rhino3d.com/5/rhinocommon/html/Events_T_Rhino_Commands_Command.htm

Thanks menno, a general stats module for plugins - would also be very useful !

Keith