Browsed by
Tag: command-line

Linux Emergency Reset / Shutdown

Linux Emergency Reset / Shutdown

I was always convinced that a Linux server would not easily break down or get stuck. However, after running an on-premise Kubernetes cluster for a couple of years, on non-optimal kernels or with non-optimal OS-packages on it, I have seen some quite severe issues. In some cases, a machine started logging lot’s of kernel panics, and then became slow and only partially functioning. In that state, typing sudo reboot often did not work. It would just time out on it,…

Read More Read More

Linux Sync Buffer Progress Monitoring (e.g. For Copy To USB)

Linux Sync Buffer Progress Monitoring (e.g. For Copy To USB)

On my Linux system (Linux Mint), if I copy a huge file to an USB stick, then I always type “sync” in a shell command line to make sure all buffers are flushed to the USB stick before I eject the USB stick. This writing of the buffers can take quite a while (perhaps due to the huge amount of cache memory in the laptop). To monitor progress, you can type the following in a shell: It will show something…

Read More Read More