AUSTIN(1)
β¨ AUSTIN(1) β the manual page bestie π
okay so you found the austin man page and honestly? iconic. it's a User Command, and we're about to go through the whole thing together, no skips, no skimming, because every single flag matters. let's get into it π«Ά
πΈ NAME πΈ
austin β Frame stack sampler for CPython β¨
π¦ SYNOPSIS π¦
austin [OPTION...] command [ARG...]
π DESCRIPTION π
okay so here's the tea: Austin is a frame stack sampler for CPython. what does that mean? it means it pulls profiling data out of a running Python process β and all its children, if you want that β and the way it does it is chef's kiss: no instrumentation required, and it has practically no impact on the tracee. literally the politest profiler you'll ever meet. it's giving "shows up to the party, takes notes, doesn't touch anything" π
so here's every option, one by one, because we don't gatekeep:
-b,--binaryβ emit data in the MOJO binary format. for more deets, seehttps://github.com/P403n1x87/austin/wiki/The-MOJO-file-formatπΎ-C,--childrenβ attach to child processes too. the whole fam gets profiled πΌ-f,--fullβ produce the full set of metrics: time +mem -mem. the deluxe package bestie β¨-g,--gcβ sample the garbage collector state. yes, we're watching the gc do its lil thing ποΈ-h,--heap=n_mbβ maximum heap size to allocate, in MB, to increase sampling accuracy. default is0π§-i,--interval=n_usβ sampling interval in microseconds. default is100. accepted units:s,ms,usβ±οΈ-m,--memoryβ profile memory usage π-o,--output=FILEβ specify an output file for the collected samples π-p,--pid=PIDβ attach to the process with the given PID π―-P,--pipeβ pipe mode. use this when you're piping Austin's output π°-s,--sleeplessβ suppress idle samples so you can estimate CPU time. no naps, only vibes π€-t,--timeout=n_msβ start up wait time in milliseconds. default is100. accepted units:s,msβ-w,--where=PIDβ dump the stacks of all the threads within the process with the given PID. like "where u at" but for threads π-x,--exposure=n_secβ sample forn_secseconds only, then dip πβοΈ-?,--helpβ give this help list πβοΈ--usageβ give a short usage message π-V,--versionβ print program version π
ngl this next bit is important: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so like, don't think you can sneak around it fr fr π
π EXAMPLES π
the part where it all clicks. let's go π«
Profile wall time of a Python script
$ austin python3 myscript.py
Profile CPU time of an executable Python script
$ austin -s ./myscript.py
Profile a Python application
$ austin uwsgi --http :9090 --wsgi-file foobar.py
Profile child processes
$ austin -C uwsgi --http :9090 --wsgi-file foobar.py
Attach to a running Python process
# austin -p <pid>
Attach to a process and its children
# austin -Cp <pid>
Where is a Python process at?
# austin -w <pid>
Set the sampling interval
# austin -i 10ms -p <pid>
Save collected on-CPU samples to file
$ austin -so /path/to/file.austin ./myscript.py
Sample for 5 seconds only
# austin -x 5 -p <pid>
π REPORTING BUGS π
found a bug? don't be shy, report it to https://github.com/P403n1x87/austin/issues β they're not gonna bite, and honestly fixing bugs is a group effort bestie ππ«Ά
π SEE ALSO π
the full documentation for austin is maintained as a Texinfo manual. if the info and austin programs are properly installed at your site, then this command:
info austin
should give you access to the complete manual. periodt πβ¨
and that's the whole page, no notes. this was austin version 3.7.0, dated September 2025 β she's fresh, she's thriving, she's a User Commands girlie π
πΈ bye bestie, go profile something π¦
π¦ where this page comes from
- ubuntu questing: austin 3.7.0-7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms