Category Archives: Linux

Bash one-liner: kill all processes with the same name

By | February 11, 2021

A simple one liner to kill all the processes having the same name or token in the name (myprocess): kill -9 $(ps aux | grep myprocess | awk ‘{print $2}’) This is a very effective way of cleaning up stuck processes that were spawned by some gone wrong software.

Disable core dumps in #Linux

By | December 11, 2019

Systemd doesn’t completely control whether core dumps are made or not. It mainly determine where such dumps go, and whether they should take up space or not. It may prevent some user space core dumps, but not all. With “Storage=none”, they can still occur and are registered by journald, but they don’t take up disk… Read More »

Disable core dump generation on #Linux

By | April 22, 2018

Generation of core dumps that result in freezing the Linux system is another common issue in the new Linux kernels discussed on many forum threads. Same as the bug of kswapd0 discussed here Kswapd0 going haywire this can become very annoying. It seems that lately someone tries to add developer features turned on by default… Read More »

TCP keepalive: what is it, why do you need it, how to configure it on #Linux

By | November 7, 2017

As you are aware, no service runs alone on some server. You always have to take into account the communication layer between your server and client services. One of the most tricky thing a lot of people overlook is the “housekeeping” of the communication layer. In a properly setup enterprise environment your communication layer (firewalls,… Read More »