Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion darshan-util/pydarshan/darshan/cli/file_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def setup_parser(parser: argparse.ArgumentParser):
"-m",
nargs="?",
default="POSIX",
choices=["POSIX", "MPI-IO", "STDIO"],
choices=["POSIX", "MPI-IO", "STDIO", "DFS"],
help="specify the Darshan module to generate file stats for (default: %(default)s)",
)
parser.add_argument(
Expand Down
7 changes: 5 additions & 2 deletions darshan-util/pydarshan/darshan/cli/job_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ def rich_print(df, mod, order_by):
table.add_column("perf_by_slowest", f"[u i]{naturalsize(all_perf_by_slowest, binary=True, format='%.2f')}/s", **default_kwargs)
table.add_column("time_by_slowest", f"[u i]{all_time_by_slowest:.2f} s", **default_kwargs)
table.add_column("total_bytes", f"[u i]{naturalsize(all_total_bytes, binary=True, format='%.2f')}", **default_kwargs)
table.add_column("total_files", f"[u i]{all_total_files}", **default_kwargs)
if mod != "DAOS":
table.add_column("total_files", f"[u i]{all_total_files}", **default_kwargs)
else:
table.add_column("total_objects", f"[u i]{all_total_files}", **default_kwargs)
for column in table.columns:
if column.header == order_by:
column.style = column.header_style = column.footer_style = "bold cyan"
Expand Down Expand Up @@ -184,7 +187,7 @@ def setup_parser(parser: argparse.ArgumentParser):
parser.add_argument(
"--module", "-m",
nargs='?', default='POSIX',
choices=['POSIX', 'MPI-IO', 'STDIO'],
choices=['POSIX', 'MPI-IO', 'STDIO', 'DFS', 'DAOS'],
help="specify the Darshan module to generate job stats for (default: %(default)s)"
)
parser.add_argument(
Expand Down
Loading