-
Enable time sync on Manjaro
So I wanted for a while to use and to learn Manjaro and I grabbed Cinnamon 21.1.0 Installation process is pretty straight forward, I setup the correct time zone and installed all of the default packages. Guess what, after rebooting the laptop the timezone was set correctly but the actual time was way off. I…
-
Recover swap file in vim
Hi, This is a problem that I had since my virtual machine was not stopped properly and my ssh connection was ended prematurely. https://superuser.com/questions/204209/how-can-i-recover-the-original-file-from-a-swp-file/205131 If you have a file.swp and you want to recover it, do as they say. Open the file in VIM and then type recover. Cheers
-
Renice until cgroup implementation for process of Yahoo CMAK
Hi, We saw that ex Kafka Manager, now called Yahoo CMAK was using more than enough CPU in some cases, in general related to bad SSL client config. It’s not really clear if the CPU usage was real or there was only wait time for resource like memory or I/O (I don’t have an example…
-
Reset Cinnamon desktop interface
Hi, I recently had an issue with Cinnamon interface, more exactly, my menu panel dissapeared. After some quick searches on the net, I found this command: gsettings reset-recursively org.cinnamon It seems to do the trick. Cheers
-
Logs check without ELK 🙂
Hi, We didn’t have the time to implement ELK stack for Kafka logs so if a issue appears it should be done the old fashion way. To that purpose, here are two commands that should help you surfing the logs in an easy manner. First of all, there is the grep command that should show…
-
Order Linux processes by memory usage
This one is more for me actually. We have some issues with one puppet instance on which the processes fail, and i wanted to see if there is any way to order them by memory usage. So i searched the net and found this link https://unix.stackexchange.com/questions/92493/sorting-down-processes-by-memory-usage The command is like And it provides you with…
-
Golang logging using USER profile on Mint 19
Hi, I committed on learning Golang and as a part of this task i came to play with logging examples. It seems that if you user syslog.LOG_USER the info is stored in the /var/log/syslog. Here is the code and also the output package main import ( “io” “log” “log/syslog” “os” “path/filepath” ) func main() {…
-
Cgroups management on Linux – first steps
Hi, I didn’t know that much about control groups but i see that there are a big thing in performance and process optimization. For the moment i would like to share two important info that i found. First, there are three options that you need to activate in you want to play with control group…
-
Kernel not compatible with zookeeper version
Morning, It’s important to share this situation with you. This morning i came to the office to see that a cluster that was upgraded/restarted had an issue with Zookeeper instances. Symptoms were clear: instances won’t start completely. But why? After a little bit of investigation, i went to the /var/log/syslog (/var/log/zookeeper did not contain any…
-
Convert mdx image (daemon tools) to iso
Hi, Some time ago i created some images that were saved in mdx format using (Daemon Tools). Those were Windows times, but i migrated to Debian since then. I created a Windows virtual-box machine in order to use them but unfortunately it does not allow to mount them in this format. In order to convert…