Execute commands if load average is above in linux
Rate this post Description I needed this to do some testing with a load problem I had. One of our server would spike in load for a minute or two, but at random times. I needed to see what was...
View ArticleCreating and mounting a partition lager than 2 TB in Linux
Creating and mounting a partition lager than 2 TB in Linux 5.00/5 (100.00%) 4 votes This might be basics for some, but it’s a good thing to have bookmarked for the day you might need it. It helped me a...
View ArticleGet all new dhcp leases, but only the new leases since last check in bash
Rate this post I needed to make a bash script for work that got the ip address of all new leases in the dhcp server, but only the new ones. I spend some time looking for something useful, and therefore...
View ArticleMake your own keybindings in linux using xbindkeys
Make your own keybindings in linux using xbindkeys 5.00/5 (100.00%) 1 vote Are you like me, who want to listen to music while you work? But then your boss comes over and you quickly have to pause it?...
View ArticleView network bandwidth for each process in Linux using Nethogs
Rate this post Have you ever been in the saturation that your Linux server is using a lot of network bandwidth, but it’s a guesswork to find the process using it all? I just stumbled upon this tool,...
View ArticleFixing /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Rate this post Today I had to run a script on a 64Bit server, but was met with the following error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Reason for the /lib/ld-linux.so.2:...
View ArticleConfiguring HP iLO through Linux automatically
Rate this post We only use HP servers and we get more and more every week. Someone has to keep track of all those servers and be able to configure them using iLO in case of a disaster Installation...
View ArticleLinux lockfile explained, how to use them the easy or hard way
Linux lockfile explained, how to use them the easy or hard way 4.46 (89.19%) 37 votes What is a lockfile You may have experienced it before, you create a cronjob to change some data every X hour or...
View ArticleHow to install a single package from debian testing through apt
Rate this post Why would you want to install a package from testing when running on stable? The reason is simple. Sometimes you just need a later version of a package than is in the Debian Stable...
View ArticleTimeout for Linux process – Killing or cleanly closing a process in Linux...
Timeout on a script or program in Linux is easy!Did you ever have the need to kill a process if it takes too long to run for any reason? Then this post will show you how you do just that. This could...
View Article