FAPOLICYD-PERF-TEST(26)

NAME
fapolicyd-perf-test - Fapolicyd Performance Test Utility

SYNOPSIS
fapolicyd-perf-test [INPUT_FILE]

DESCRIPTION
Runs a dummy fapolicyd policy decision on each file from newline-separated list read from INPUT_FILE (or stdin if not specified) and prints the total time it took.

RETURN CODES
The following exit status values are used for error reporting and scripting:

0 Success
    Normal completion.

1 Generic/unspecified failure
    Fallback for errors that do not map to a more specific category.

2 CLI/usage error
    Incorrect options or argument counts.

EXAMPLE USAGE
# touch file-list.txt
# find /usr/lib64 -type f >>file-list.txt
# find /usr/bin   -type f >>file-list.txt
# find /usr/share -type f >>file-list.txt
# wc -l file-list.txt
15080 file-list.txt
# fapolicyd-perf-test file-list.txt 2>/dev/null
Starting scan...
Elapsed: 0 seconds, 58 milliseconds
#

SEE ALSO
fapolicyd(8), fapolicyd-cli(8), and fapolicyd.conf(5)

AUTHOR
Ondrej Mosnacek