Linux/Unix Terms You Should Know: Part 2

In part one, we looked at some of the important terms a new system administrator should know when starting work on a Linux server. These next terms are equally important and will help you along the way as you begin to learn more about your server.
man – This command, short for manual, gives you […]

3 Things Ways to Troubleshoot BEFORE Rebooting Your Server

If you have grown up using Microsoft Windows on your desktop or laptop, you are probably accustomed to the universal solution to most problems: reboot. When your screen freezes, reboot. If your system gets slow, reboot. That is the standard solution that even tech experts often dish out to common users. As a server administrator, […]

Gently Restart a Frozen Linux System with the Magic SysRq Key

In the previous post, we covered a brief introduction to the magic SysRq key and dropped some hints about what it can do. In this post, we will actually learn how to perform one of the many functions it can be used to execute.
When your server becomes unresponsive, the first […]

How to Track Running Processes

A process is any type of program currently running in a computer system’s memory. All types of dedicated servers have processes, and on Linux and Unix systems, they are easy to track, troubleshoot, and manage.
One of the most important commands you can use to track a process is “ps”. When executed it will display […]

How to Kill a Zombie Process

Zombies present a particularly unique problem to system administrators. No, I do not mean the type of zombies that eat brains. I mean zombie processes. A zombie process is a process that is no longer active on a system but that refuses to die. In most cases, a zombie is not something that should alarm […]

Useful Keyboard Shortcuts for Bash

When you manage a dedicated server, you will almost certainly spend a considerable amount of time working from the command line, probably via SSH. If so, you will encounter Bash or a shell similar to it. While you can accomplish pretty much anything with various commands, you can increase efficiency by learning some of the […]

Monitoring Tips Using the ps Command

The ps command is an extremely powerful tool for monitoring processes on a Linux or Unix server. ¬†Processes are the individual instances of a program running on your server. ¬†With ps, you can find out which programs have running processes, how much memory they are using, how much processor power they are consuming, and which […]

How to Monitor Linux Server Users in Real Time

Under many scenarios, you may never allow other users to login to your Linux server, and you can still function successfully. In rare cases, however, you might need to give certain users SSH accounts to allow them limited access to command line functions within a chroot jail. In those situations, you need a […]

Listening for Programs on Server Ports

On a Linux or Unix dedicated server, applications that access the Internet must do so using ports. Think of a port, as the name implies, as a window to the outside world. Without a port, a program will not have outside access, and outside computers will not have access into your server.
When configuring […]

Find out Process Memory Consumption with pmap

On Linux dedicated servers, each instance of any running software is called a process. There can be tens or even hundreds of processes running at any given time, and some processes, such as Apache web server, will spawn child processes. Each process in Linux is assigned an identification number, also known as a […]

How to Assign a Process to a Specific CPU

Nearly all modern servers come with multiple CPUs or at least a CPU with more than one core. Operating systems see more than one CPU, and the advantage is that you can dedicate a CPU to a particular process, freeing up the other CPUs for less intense work. Done correctly, it will make […]

The ps Command on a Linux Server

One of the important tasks you should regularly perform when managing your dedicated server, is to monitor the running processes. While the “top” command will provide you with a glimpse of the most active processes, the “ps” command can give you all of them or the specific ones you want.
As an introduction to ps, […]