Category Archives: Linux

Install #Signal on #Fedora #Linux

By | January 29, 2021

As you maybe discovered there is no rpm build support from the Signal team. Yes you can compile your own version and then do that for every new release but if you are lazy like me and nor an international wanted person (like Assange) there is a simpler version to do it. Here comes the… Read More »

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.

#Bash one liner: Search and kill a #Java process based on a path token

By | January 15, 2020

The bash one liner of the day is to find and kill a Java process using one liner. In my case I have a Jboss application server domain that is stuck. By using jps command that displays only the running Java processes is a no brainer to kill the process by using a token that… Read More »

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 »

Convert text label files to UTF-8 encoding

By | March 28, 2019

In a lot of multi-language enterprise applications where you have to support labels in different languages the text files with the different labels for each language are scattered across your source code. In my case I all the labels are kept in Java property files with “.properties” file extension. Then for each language I have… Read More »

Recover an #Oracle installation from a full disk backup in #Linux

By | August 26, 2018

Reinstalling things like Oracle is always a hassle and takes about one day to make it work. Lucky for me I made a full back-up of my old disk when I upgraded to a new laptop. On the new laptop I did a fresh install of Fedora 28. The idea is to migrate my old… 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 »

#Apache #Kafka solutions going mainstream

By | February 28, 2018

I like when solutions you are excited about and are first seen as “experimental” start to go mainstream. This happened with containers (Docker, CoreOS, Kubernetes etc.) which are now the hottest topic in DevOps right now. The same is happening now for Apache Kafka which was adopted by no other than “Goldman Sachs” for their… Read More »

A solution for kswapd0 going haywire on #Linux

By | February 28, 2018

This is a common issue in the new Linux kernels discussed on many forum threads. There is a long thread here about this problem. In short the issue is that when you run out of memory “kswapd0” a kernel process than manages virtual memory will start moving “old memory entries” to swap. The “run out… Read More »