perun.api.cli

Command line API.

Attributes

log

Functions

cli(→ None)

Command line entrypoint.

showconf(→ None)

Print current perun configuration in INI format.

sensors(→ None)

Print available sensors.

metadata(→ None)

Print global metadata dictionaries in json format.

export(→ None)

Export existing perun output file to another format.

monitor(→ None)

Gather power consumption from hardware devices while SCRIPT [SCRIPT_ARGS] is running.

Module Contents

perun.api.cli.log[source]
perun.api.cli.cli() None[source]

Command line entrypoint.

perun.api.cli.showconf(args: argparse.Namespace) None[source]

Print current perun configuration in INI format.

perun.api.cli.sensors(args: argparse.Namespace) None[source]

Print available sensors.

perun.api.cli.metadata(args: argparse.Namespace) None[source]

Print global metadata dictionaries in json format.

perun.api.cli.export(args: argparse.Namespace) None[source]

Export existing perun output file to another format.

perun.api.cli.monitor(args: argparse.Namespace) None[source]

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.