dbselector¶
dbselector script shows lists of all db entries where specified ids is exists. Just provide idsname as input argument to the script.
Syntax dbselector¶
$ dbselector -h Usage: dbselector [-h] [-u USER] [-d DATABASE] [-b BACKEND] [-v VERSION] [--verbose] [--status STATUS] [--list-count LIST_COUNT] ids Check if specified ids is exists in the scenario database and returns shot and pulse Positional Arguments: ids Name of the comma separated IDSes to check if it is available in scenario Options: -h, --help show this help message and exit -u, --user_or_path USER user (default=public) -d, --database DATABASE database name (default=ITER) -b, --backend BACKEND backend format (default=MDSPLUS) -v, --version VERSION data version (default=3) --verbose Verbose mode --status STATUS Will list only data entries with specified status (if such metadata is available) --list-count LIST_COUNT Number of entries user needs to display
Example dbselector¶
$ dbselector edge_profiles
(123148, 4)
(123285, 1)
(123166, 2)
(112325, 3)
(102425, 2)
(123305, 1)
(103034, 3)
$ dbselector -u $USER equilibrium,core_sources
(100016, 1)
(134000, 37)
(134173, 106)
(110014, 1)
(100300, 1)
(101051, 1)