Chapter 9. Command Line Interface (CLI)

Table of Contents

1. Start the CLI
2. CLI Commands
3. Configure Schema Build
4. Building the Schema
5. Configure Driver
6. Configure Virtual Users
7. Run the workload
8. CLI Scripting

HammerDB can be run from the command line without a graphical interface. It is recommend that new users become familiar with using the graphical interface before using the command line as the command line offers the same workflow and therefore once the graphical interface is understood learning the command line will be more straightforward. The CLI implements equivalent readline functionality for navigation. The CLI can be used in conjunction with scripting to build a powerful automated environment. Both the CLI and the GUI run exactly the same commands underneath the interactive layers, for example when operational the Virtual Users run identical workloads and therefore performance measurements between the CLI and GUI are interchangeable.