perun.api.cli
Command line API.
Module Contents
Functions
|
|
|
Command line entrypoint. |
|
Print current perun configuration in INI format. |
|
Print sensors assigned to each rank by perun. |
|
Print global metadata dictionaries in json format. |
|
Export existing perun output file to another format. |
|
Gather power consumption from hardware devices while SCRIPT [SCRIPT_ARGS] is running. |
Attributes
- perun.api.cli.log
- perun.api.cli._get_arg_parser() argparse.ArgumentParser
- perun.api.cli.cli()
Command line entrypoint.
- perun.api.cli.showconf(args: argparse.Namespace)
Print current perun configuration in INI format.
- perun.api.cli.sensors(args: argparse.Namespace)
Print sensors assigned to each rank by perun.
- perun.api.cli.metadata(args: argparse.Namespace)
Print global metadata dictionaries in json format.
- perun.api.cli.export(args: argparse.Namespace)
Export existing perun output file to another format.
- perun.api.cli.monitor(args: argparse.Namespace)
Gather power consumption from hardware devices while SCRIPT [SCRIPT_ARGS] is running.
SCRIPT is a path to the python script to monitor, run with arguments SCRIPT_ARGS.