View and Aggregate LMT Data
View and aggregate Lustre monitoring tool (LMT) data on direct-attached Lustre (DAL) installations.
View Data
There are two ways to view data provided by Lustre monitoring tool (LMT). Data can be viewed live with ltop. Historical data can be viewed from the MySQL database with lmtsh. These utilities are available only on the LMT server. For CLE with direct attached Lustre (DAL), the LMT server is the management server (MGS).
For help using ltop or lmtsh, see man page, or view usage information using the --help option.
Because the data is held in a MySQL database on the LMT server, the MySQL database can be directly accessed using MySQL commands if more control is needed over how the data is presented.
Aggregate Data
mgs# /usr/share/lmt/cron/lmt_agg.cron
The first time the command is run will take longer than subsequent executions. Use lmtsh to see the tables populated by the aggregation scripts. The aggregation script can be set up to run as a cron job.
To set up the cron job:
root, type crontab -e and then enter:0 * * * * /usr/share/lmt/cron/lmt_agg.cronThis configures the lmt_agg.cron job to run every hour, on the hour.