The Command Usage reports allow you to monitor the execution of various commands on servers.
You collect data for the Command Usage reports using the collect_agent_logs.nsh script, which copies data from agent logs on specified target servers to files on the reports server. Use the script to create a BMC Server Automation Network Shell Script Job that you can run on a regular basis. For more information, see Setting-up-data-collection-for-Command-Usage-reports.
WarningNote
When a Network Shell user has the same user ID as a BMC Server Automation user, the Command Usage reports merge activity associated with those IDs. If you want to view the BMC Server Automation activity of a user separately from that Network Shell activity, you must set up different user IDs for that user on BMC Server Automation and the servers where the user accesses Network Shell.
The following table summarizes the built-in Command Usage reports. For information about running these reports, see Running-built-in-reports.
Built-in Command Usage reports
| | |
|---|
Command Usage Summary
Lists the commands that are executed by a user with the specified role on a server in a selected time interval This report also lists the number of times the user executed the listed command. | - Command Executed On
- Command Executed From
- User Name
- Role Name
- Command Name
- Usage Count: Drill down to Command Log Detail
| - Date Range
- OS Name
- Server Name
|
Command Log Detail
Lists the detailed commands (with the timestamp) that were executed on a server over a specific time interval | - Command Executed On
- Command Executed From
- User Name
- Log Datetime
- Command Details
- Log Level
| - Date Range
- OS Name
- Server Name
- User Name
|