How to Kill Inactive SSH Sessions

So, you’ve been disconnected from your server a couple of times which resulted in inactive ssh sessions. You know this because when you use the “w” command, you see something like the following… 22:47:28 up 315 days, 21:09, 2 users, load average: 9.04, 8.17, 7.30 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 ipxxx-xxx-xxx-xxx 23:54 […]

MySQL Performance: Stop hoarding. Drop unused MySQL databases

Last year, I was assisting a new client in addressing MySQL performance issues. There were several areas where MySQL performance issues were addressed. One issue overlooked for several years prior to our communications, was that of keeping around unused databases. Over 15GB of unused MySQL data – a mix of MyISAM and Innodb tables – […]

Linux server performance: Is disk I/O slowing your application?

This post is sponsored by Instrumental – hosted application and server monitoring with free development accounts. If your Linux server is bogged down, your first step is often to use the TOP command in terminal to check load averages and wisely so. However, there are times when TOP shows very high load averages even with low cpu ‘us’ (user) and high […]

How to fix: At least xMB more space needed on the /boot filesystem

Updated: Aug 13th 2018 List all installed kernel packages with: yum list kernel The kernel in-use will be underlined and cannot be removed: Now to remove unused kernels, install the yum-utils package and use the package-cleanup util: yum install yum-utils package-cleanup –oldkernels –count=2 To make this permanent, edit /etc/yum.conf and add the following line: installonly_limit=2 – – – – – […]

Linux: ncdu and mc to manage large directories

Creating, modifying and deleting files are common tasks performed in any operating system. Even more so by Sysadmins, Developers and Programmers. For the most part, these tasks are fast enough when managing a handful of files. However, on Linux and especially with servers, you may at sometime have to manage millions or even billions of […]

Choosing the Best Linux Server Distro

Are you trying to decide on a Linux server distro (distribution)? This article will help guide you based on the strengths of the Linux server distributions available. If you are looking for desktop advice, have a look at Choosing the Best Linux Distro for Desktop.   Best Linux Server distro The first rule to remember when […]

Linux – How to Securely Copy Files Using SCP examples

This post includes SCP examples. SCP or secure copy allows secure transferring of files between a local host and a remote host or between two remote hosts. It uses the same authentication and security as the Secure Shell (SSH) protocol from which it is based. SCP is loved for it’s simplicity, security and pre-installed availability.   SCP […]

81% of all Smartphones are powered by Linux

Update July 19th 2018: Now 85% as per latest report. No, I didn’t use a misleading blog title. Smartphones powered by Linux are in fact dominating the smartphone market. A few of you may be scratching your heads at this point (stop that, you’ll go bald) while others are filled with that Sound of Music […]

Linux top: Here’s how to customize it

The top command – referred to below as Linux top – provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown by Linux top command and the order […]

Free Linux Server Monitoring and APM solutions for SysAdmins

Today’s software applications require developers, testers, and SysAdmins to work together (DevOps) more seamlessly than ever before. A single line of code or poorly configured service can negatively impact your application’s performance, causing crippling slowdowns for end-users. This is where application performance monitoring (APM), comes in. APM is also referred to as application performance measurement or application performance management. […]