摘要 |
A method, system, and computer program product for monitoring and controlling command usage is provided. The method includes establishing a time threshold and acquiring a command for execution. The method also includes accessing a structure storing a first set of data for a most recently executed command, the first set of data including a time-stamp specifying the time of execution. The method further includes subtracting the time-stamp from a current time resulting in a time value, the current time designated for executing the command. If the time value meets or exceeds the time threshold, the method includes executing the command and storing a second set of data resulting from the executing and which includes a time stamp specifying the time of execution. If the time value neither meets nor exceeds the time threshold, the method includes maintaining the first set of data for the most recently executed command and aborting execution of the command.
|