Use sudo -i instead of sudo su. In Ubuntu 26.04, the traditional sudo implementation has been replaced by sudo-rs, and signal handling seems to have changed slightly. As a result, if your SSH connection drops while you are running sudo su, the sudo su processes can stay alive indefinitely…
I’ve put together a set of PromQL queries for visualizing how much of this year, this month, and today has passed using Grafana and Prometheus. The Enlgish version will be published soon.
I ran into trouble because I didn’t properly understand the difference in time formats between the Linux shutdown command and the systemctl poweroff. As a reminder to myself, here’s a concise summary of each time format and how they differ.