psi2log(1)

πŸ“¦
version 0.3.0 Β· 2 versions
, in nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– psi2log β€” bestie edition πŸ’–

okay so welcome to psi2log(1), a page from the General Commands Manual (section 1, the user commands girlies ✨). sit down, grab a strawberry drink πŸ“, and let's get you fluent in PSI metrics logging. no cap.


✨ NAME ✨

psi2log β€” it's a PSI metrics monitor and logger. monitoring AND logging. she does both. πŸ’…


🌸 SYNOPSIS 🌸

psi2log [OPTION]...

that's it. that's the whole vibe. options only, no positional drama. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

psi2log is a CLI tool that can check and log PSI metrics from a specified target. like, you point her at something, she watches it, she writes it down. iconic behavior honestly.

and before you ask β€” she's part of the nohang package. found family. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no gatekeeping, here we go:

  • -h, --help β€” shows this help message and then dips. exit stage left. πŸšͺ
  • -t TARGET, --target TARGET β€” the target, bestie. like cgroup_v2 or SYTSTEM_WIDE.
  • -i INTERVAL, --interval INTERVAL β€” the interval, in sec. how often she checks in on you. ⏰
  • -l LOG, --log LOG β€” path to the log file. where the receipts get stored. 🧾
  • -m MODE, --mode MODE β€” mode. and your options are 0, 1 or 2. pick your fighter. πŸ₯Š
  • -s SUPPRESS_OUTPUT, --suppress-output SUPPRESS_OUTPUT β€” suppress output. quiet mode. shy girl era. 🀫

🌈 EXAMPLES 🌈

the classics, copy them exactly, don't freestyle:

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

that third one? that's the full main-character setup. target, interval, log file. she's booked and busy. πŸ”₯


πŸ’€ SIGNALS πŸ’€

okay listen, this part is important:

if you send SIGTERM, SIGINT, SIGQUIT or SIGHUP to the psi2log process, she displays peak values and then exits.

so yeah, killing her isn't just killing her β€” she goes out with a little farewell performance. peak values, then peace out. 😭✨

πŸ™ˆ REPORTING BUGS πŸ™ˆ

got questions? found a bug? don't suffer in silence, bestie. please ask any questions and report bugs at:

<https://github.com/hakavlad/nohang/issues>

(it's a link in the original, but you already knew that. iykyk.)


πŸ’œ AUTHOR πŸ’œ

Written by Alexey Avramov <hakavlad@gmail.com>. thank you for your service, king. πŸ‘‘


🧚 HOMEPAGE 🧚

Homepage is:

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

go look at it. it's giving project. 🌟


⭐ SEE ALSO ⭐

the whole friend group, go say hi:


and that's the page!! mwah πŸ’‹ this was psi2log(1) from the General Commands Manual, and yes, the footer says psi2log(1) again because she's consistent like that. periodt. πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from