Here is a simple script that utilizes xentop to monitor your Xen server. You can schedule this via cron to run every X minutes to track the load average and if gets too high, it will email you (be sure you change your-emailid to your actual email address) #!/bin/bash loadavg=`uptime | awk '{print $10}'` process=`nproc`… Read more
Linux/Unix
How to Find Files Owned by Group(s) in Linux
Here is powerful and simple use for the Linux find command – finding files or folders by one or more groups. Let’s get right onto the examples: Find files by group students find -type f . -group students Find folders/directories by group students find -type d . -group students Find files by groups student and teachers find -type… Read more
How to Find Files Owned by Users(s) in Linux
The find command in Linux/Unix is extremely powerful and can take some time to learn all of its uses. In previous articles, we have explained how to it to find files greater than or less than a certain size, find number of files in a folder, and finding the largest files on your computer. This article… Read more
Introduction to the Android Kernel
Android Firmware, ROM and Kernel In 2014, the increasingly booming smartphone users, ranging from children to adults almost all of them have such smart devices. Generally, the prices of cheap smartphones increasingly become a factor of proliferation for smartphone users. Because Android is an open source smartphone OS that is freely modified according to… Read more
Doudou – Linux distribution for kids
Linux for kids? I took my kids to a fast food place and in this location, the play area had two table top CRT touch screen system. One was working, and one was stuck in a boot loop, so I saw that it was booting Linux. The other one was fully booted, and came up… Read more
A Brief History of Android OS
Facts about Android Android is an interesting subject to discuss because of rapid advancements in technology by software developers, are forcing the corporations evolve and innovate at a fast pace. One proof of the sophistication of technology today is the birth of Android. Android itself is an operating system that is designed primarily intended… Read more
Apply Heartbleed patch to your Hostgator dedicated server
Since you stumbled on this article, you must already be aware of the Heartbleed security vulnerability that affects a large number of internet websites. The target audience for this article is to administrators of Dedicated servers on Hostgator or any other provider. Identify if your server is affected by Heartbleed Visit the detection tool website… Read more
Insert/Add String to Beginning of a File
In a previous article, I showed you how to append a string to the end of file. Now I will show you how to insert a string to the beginning of a file in Linux. The solution is not as obvious as the former, but I will show you a quick and easy way using… Read more
Scripting the Linux ‘passwd’ command easily without interactive prompt
If you are looking for a quick and easily solution to changing your Linux passwd from a script, you have come to the right place. As you already know, the passwd command prompts the user to enter the desired password as well as a confirmation, but I have a solution that will change the password… Read more
Linux ‘find’ to list files less than or greater than a certain size
This article will go through some basic examples on how to list files above or below a certain size in Linux using the find command. There are many use cases for running queries like this, for instance finding small files on your hard drive or finding very large files. So, lets get started with some examples. Using find… Read more