Options (2)
-s, --secs-per-testbooleanSpecify a custom test duration
Example:
pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}-f, --filenamebooleanUse a specific filename (it must be in same filesystem that the pg_wal directory is or will be placed in)
Example:
pg_test_fsync {{[-f|--filename]}} {{path/to/file}}Examples (3)
Run the default fsync benchmark (5 seconds)
Specify a custom test duration
pg_test_fsync [-s|--secs-per-test] secondsUse a specific filename (it must be in same filesystem that the pg_wal directory is or will be placed in)
pg_test_fsync [-f|--filename] path/to/filemade by @shridhargupta | data from tldr-pages