Implemented gathering of basic command execution metrics.