SSDD(8)

πŸ“¦
version 2.11 Β· 2 versions
, in arch rolling, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu resolute, ubuntu stonking

πŸ’– ssdd(8) β€” System Manager's Manual πŸ’–

okay bestie, welcome to ssdd, a lil section 8 system manager's manual page. it's giving "let's stress-test the kernel and see what breaks" energy and honestly? iconic. πŸ¦‹

also, for the record, the license is right there at the top: SPDX-License-Identifier: GPL-2.0-or-later. periodt.


✨ NAME ✨

ssdd β€” have a tracer do a bunch of PTRACE_SINGLESTEPs


🌸 SYNOPSIS 🌸

ssdd [-f|--forks NUM] [-h|--help] [-i|--iters NUM] [--json FILENAME]

πŸ’… DESCRIPTION πŸ’…

so the whole vibe here is: you've got a tracer, and it's gonna hit a tracee with a bunch of PTRACE_SINGLESTEPs, and it's gonna do them as fast as possible. like, no chill. maximum speed. πŸƒβ™€οΈπŸ’¨

then β€” and this is the fun part β€” you spin up several of these tracer/tracee pairs and just watch to see if they can be made to interfere with each other. messy? maybe. entertaining? absolutely. 😭

the tracer waits on each PTRACE_SINGLESTEP with a waitpid(2), and then it checks that waitpid's return values are correct, because we are thorough in this house. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -f, --forks=NUM β€” how many tracer/tracee pairs you wanna fork off. the default is 10.
  • -h, --help β€” display usage. the "what do i even type" button. 🫢
  • -i, --iters=NUM β€” how many PTRACE_SINGLESTEP iterations to do before calling it a success, for each tracer/tracee pair you set up. the default is 10,000. and heads up, NUM must be at least 1 β€” zero is not the move, bestie. πŸ™ˆ
  • --json=FILENAME β€” write the final results into FILENAME, JSON formatted. slay, structured data. ✨

πŸ‘‘ AUTHOR πŸ‘‘

ssdd was written by Joe Korty <joe.korty@concurrent-rt.com> πŸ’œ

this manual page was written by John Kacur <jkacur@redhat.com> πŸ’œ


lowkey reminder bestie: this is the System Manager's Manual version of ssdd(8), dated September 19, 2020. go forth and single-step responsibly. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά
πŸ“¦ where this page comes from