Category: Tips and Tricks

Determine which processes are using swap in Linux

Some servers may have several applications, each running in their own allocated piece of RAM and SWAP.  It seems easy enough to use `top` to determine memory usage, but it wasn't so obvious (to me) as to how to determine swap usage.  A nifty little command called smem to the rescue. So what is smem?  It is a "Report memory...Read More »

Capture Lock Screen in Windows

If you ever wanted to capture a screenshot of the logon screen on a physical machine, you may have used whatever means necessary to do so. Which for me, was through the use of a digital camera. The digital camera may have captured the spirit of the screenshot, but always seems to lack in quality. Wouldn't it be great to...Read More »

How to add desktop icons on CentOS 7

For the most part, I prefer to work using the terminal on a minimal install of Linux; however, there are those occasional times where the GUI is necessary.  Recently faced with having to add a few desktop shortcuts to the Desktop posed a bit of a problem for me. Basically, wanted to achieve two things, a Desktop icon to launch...Read More »

Icinga2 Monitoring for Windows Disks Not Working [Resolved]

Among the many possible services to monitor a Windows based operating system using Icinga2, the service that utilizes the check_command of disk-windows has not quite worked as expected.  It may have been a combination of things that was done incorrectly over the years, or maybe plugin versioning. In any case, a snippet below demonstrates a thought to be working service...Read More »

VIM: Join Lines

I had a document where I wanted to join every other line.  I tried several approaches on a Windows box using Cygwin but only one worked with a couple variations.  Using the vim editor.  This is a new trick to me, and wanted to jot it down before I forget about. The file looked something like this. One approach was...Read More »

Linux: How to logout a user

A user was logged in via XRDP and the screen locked.  Each attempt to logon also resulted in a locked screen.  Rebooting is not an option.  There needed to be a way to identify the user and forcibly log them off, and there is. Logged on as root and typing the who command lists users and logons.  A great working...Read More »

Memory Utilization High in Linux VM

Utilities such as htop, top, and the command free -mh all report a high usage of memory.  The thing is nothing was running.  It turns out to be explainable. Using the following commands, it was determined that VMware virtual server has enabled the vmw_balloon. VMware Tools Balloon Defined The VMware Tools balloon driver is among the utilities installed in the...Read More »

Google Chrome Font Rendering Looks Terrible and How To Fix It

I was beginning to think it was my computer. I had Cleartype enabled and went through the process again to ensure that the settings were correct or not corrupt. I then thought it was the monitors or one of them. Then I realized that the fonts look fine in everything but Google Chrome. Here is a snippet from one page,...Read More »