flux-account(1)

SYNOPSIS

flux account [COMMAND] [OPTIONS]

DESCRIPTION

flux account provides an interface to the SQLite database containing information regarding banks, associations, queues, projects, and archived jobs. It also provides administrative commands like exporting and populating the DB's information to and from .csv files, updating the database when new versions of flux-accounting are released, and more.

DATABASE ADMINISTRATION

create-db

Create the flux-accounting database.

See flux-account-create-db(1) for more details.

pop-db

Populate a flux-accounting database with .csv files.

See flux-account-pop-db(1) for more details.

export-db

Export a flux-accounting database into .csv files.

See flux-account-export-db(1) for more details.

export-json

Export certain tables from the flux-accounting database as a JSON object to be used when loading the multi-factor priority plugin.

See flux-account-export-json(1) for more details.

USER ADMINISTRATION

view-user

View information about an association in the flux-accounting database.

See flux-account-view-user(1) for more details.

add-user

Add an association to the flux-accounting database.

See flux-account-add-user(1) for more details.

delete-user

Deactivate an association in the flux-accounting database.

See flux-account-delete-user(1) for more details.

edit-user

Modify an attribute for an association in the flux-accounting database.

See flux-account-edit-user(1) for more details.

edit-all-users

Modify an attribute for every association in the flux-accounting database.

See flux-account-edit-all-users(1) for more details.

BANK ADMINISTRATION

view-bank

View information about a bank in the flux-accounting database.

See flux-account-view-bank(1) for more details.

add-bank

Add a bank to the flux-accounting database.

See flux-account-add-bank(1) for more details.

delete-bank

Deactivate a bank in the flux-accounting database.

See flux-account-delete-bank(1) for more details.

edit-bank

Modify an attribute for a bank in the flux-accounting database,

See flux-account-edit-bank(1) for more details.

list-banks

List all of the banks in the bank_table.

See flux-account-list-banks(1) for more details.

QUEUE ADMINISTRATION

view-queue

View information about a queue in the flux-accounting database.

See flux-account-view-queue(1) for more details.

add-queue

Add a queue to the flux-accounting database.

See flux-account-add-queue(1) for more details.

delete-queue

Remove a queue from the flux-accounting database.

See flux-account-delete-queue(1) for more details.

edit-queue

Edit a queue's properties in the flux-accounting database.

See flux-account-edit-queue(1) for more details.

list-queues

List all defined queues in the flux-accounting database.

See flux-account-list-queues(1) for more details.

PROJECT ADMINISTRATION

view-project

View information about a project in the flux-accounting database.

See flux-account-view-project(1) for more details.

add-project

Add a project to the flux-accounting database.

See flux-account-add-project(1) for more details.

delete-project

Remove a project from the flux-accounting database.

See flux-account-delete-project(1) for more details.

list-projects

List all defined projects in the flux-accounting database.

See flux-account-list-projects(1) for more details.

JOB RECORDS

view-job-records

View job records.

See flux-account-view-job-records(1) for more details.

update-usage

scrub-old-jobs

JOB PRIORITY CONFIGURATION

view-factor

View the configured integer weight for a given priority factor.

See flux-account-view-factor(1) for more details.

edit-factor

Edit the configured integer weight for a given priority factor.

See flux-account-edit-factor(1) for more details.

list-factors

List all of the priority factors and their weights.

See flux-account-list-factors(1) for more details.

reset-factors

Reset all of the priority factors to their default weights.

See flux-account-reset-factors(1) for more details.

jobs

View a breakdown of an association's job priorities.

See flux-account-jobs(1) for more details.

DATA VISUALIZATION

show-usage

Display a chart of the top associations or banks in terms of job usage.

See flux-account-show-usage(1) for more details.