p4diag aggregates and simplifies common Perforce P4 server log analysis workflows.
It uses log2sql to build a SQLite database from trace data, runs canned and
summary SQL queries, writes grep-based log statistics, victim/culprit
write-wait analysis, and command-activity plots into text and HTML under
.p4diagnostics/ for viewing in a browser. Interactive mode provides a TTY
menu and starts a small local web server for output files.