17 April 2025
tags:
linux
debug
I recently came across anthony's video on debugging a OOM process.
It should be noted that in ubuntu, it is /bin/time
, and not the default time
binary.
This gives me a super easy way to demonstrate memory usage of a process (one off script or webserver) with:
/bin/time -v uvicorn app:app
vs
export FLAG=SET
/bin/time -v uvicorn app:app
- Previous: WTF `git log --before/--until`
- Next: Oh no... my HDMI port