Most Content Software for File system top-level commands are the default list command for their own collection. Additional sub-commands may be available under them.
Example:
The weka fs command displays a list of all filesystems and is also the top-level command for all filesystems, filesystem groups, and snapshot-related operations. It is possible to use the -h/--help flags or the help command to display a list of available commands at each level, as shown below:
$ weka fs | FileSystem | Name | Group | SSD Bu | Total | Is re | Is creat | Is remov | ID | | | dget | Budget | ady | ing | ing +------------+---------+---------+--------+--------+-------+----------+---------- | FSId: 0 | default | default | 57 GiB | 57 GiB | True | False | False
$ weka fs -h Usage: weka fs [--name name] [--HOST HOST] [--PORT PORT] [--CONNECT-TIMEOUT CONNECT-TIMEOUT] [--TIMEOUT TIMEOUT] [--format format] [--output output]... [--sort sort]... [--filter filter]... [--capacities] [--force-fresh] [--help] [--raw-units] [--UTC] [--no-header] [--verbose] Description: List filesystems defined in this Weka cluster Subcommands: create Create a filesystem download Download a filesystem from object store update Update a filesystem delete Delete a filesystem restore Restore filesystem content from a snapshot quota Commands used to control directory quotas group List filesystem groups snapshot List snapshots tier Show object store connectivity for each node in the cluster reserve Thin provisioning reserve for organizations Options: --name Filesystem name -H, --HOST Specify the host. Alternatively, use the WEKA_HOST env variable -P, --PORT Specify the port. Alternatively, use the WEKA_PORT env variable -C, --CONNECT-TIMEOUT Timeout for connecting to cluster, default: 10 secs (format: 3s, 2h, 4m, 1d, 1d5h, 1w, infinite/unlimited) -T, --TIMEOUT Timeout to wait for response, default: 1 minute (format: 3s, 2h, 4m, 1d, 1d5h, 1w, infinite/unlimited) -f, --format Specify in what format to output the result. Available options are: view|csv|markdown|json|oldview (format: 'view', 'csv', 'markdown', 'json' or 'oldview') -o, --output Specify which columns to output. May include any of the following: uid,id,name,group,usedSSD,usedSSDD,usedSSDM,freeSSD,availableSSDM,availableSSD,usedTotal,usedTotalD,freeTotal,availableTotal,maxFiles,status,encrypted,stores,auth,thinProvisioned,thinProvisioningMinSSDBugdet,thinProvisioningMaxSSDBugdet,usedSSDWD,usedSSDRD -s, --sort Specify which column(s) to take into account when sorting the output. May include a '+' or '-' before the column name to sort in ascending or descending order respectively. Usage: [+|-]column1[,[+|-]column2[,..]] -F, --filter Specify what values to filter by in a specific column. Usage: column1=val1[,column2=val2[,..]] --capacities Display all capacity columns --force-fresh Refresh the capacities to make sure they are most updated -h, --help Show help message -R, --raw-units Print values in raw units (bytes, seconds, etc.). When not set, sizes are printed in human-readable format, e.g 1KiB 234MiB 2GiB. -U, --UTC Print times in UTC. When not set, times are converted to the local time of this host. --no-header Don't show column headers when printing the output -v, --verbose Show all columns in output