DOKK / manpages / debian 12 / nohang / psi2log.1.en
psi2log(1) General Commands Manual psi2log(1)

psi2log - PSI metrics monitor and logger

psi2log [OPTION]...

psi2log is a CLI tool that can check and log PSI metrics from specified target. psi2log is part of nohang package.

-h, --help

show this help message and exit

-t TARGET, --target TARGET

target (cgroup_v2 or SYTSTEM_WIDE)

-i INTERVAL, --interval INTERVAL

interval in sec

-l LOG, --log LOG

path to log file

-m MODE, --mode MODE

mode (1 or 2)

-s SUPPRESS_OUTPUT, --suppress-output SUPPRESS_OUTPUT

suppress output

$ psi2log

$ psi2log --mode 2

$ psi2log --target /user.slice --interval 1.5 --log psi.log

Sending SIGTERM, SIGINT, SIGQUIT or SIGHUP signals to the psi2log process causes it displays peak values and exits..

Please ask any questions and report bugs at <https://github.com/hakavlad/nohang/issues>.

Written by Alexey Avramov <hakavlad@gmail.com>.

Homepage is <https://github.com/hakavlad/nohang>.

oom-sort(1), psi-top(1), nohang(8)