ZLOG(1)

πŸ“¦ version 1042.100.6.0.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is zlog(1) from the General Commands Manual, and she is literally here to show allocation backtraces for kernel zones. no cap. πŸ’…

✨ SYNOPSIS ✨

zlog [-t] [-z name [-n num | -l]] [-h]

🌸 DESCRIPTION 🌸

zlog displays allocation (and free, if used in corruption tracking mode with the boot-arg -zc) backtraces for zones that have zone logging enabled. Zone logging can be turned on by using the boot-arg zlog<N>=<name>, where N can range from 1 to 10, and name is the name of the zone to be tracked. πŸ¦‹

she interprets the following options:

  • -t β€” (Default) list all the zones that have logging enabled ✨
  • -z name β€” show all allocation backtraces for zone name πŸŽ€
  • -n num β€” Can be used in combination with the -z option to show the top num backtraces with the most active references in the zone name πŸ”₯
  • -l β€” Can be used in combination with the -z option to show the backtrace most likely contributing to a leak in the zone name (prints the backtrace with the most active references) πŸ‘‘
  • -h β€” show the help text 🫢

🩺 DIAGNOSTICS 🩺

the zlog utility exits 0 on success, and >0 if an error occurs. so like, 0 is the slay outcome, and >0 means something went off. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

ioclasscount(1), zprint(1) β€” go give them a lil read too, iykyk. 🌈


mwah πŸ’‹ this page is macOS, dated February 21, 2018, and it's the ZLOG(1) manual. byeee bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from