SIGSTOP and SIGKILL

March 7, 2010

Sometimes you can find interesting things to post about just by looking at what people are searching for. Here’s an interesting search query that I thought I’d address, because I certainly understand wanting to understand the “why” of things just as much as the “how”. Today’s query is:
“why sigkill and sigstop signals cannot [...]

0

htop

March 6, 2010

Well, I’m back to it. I haven’t blogged here for a year or so for multiple reasons, such as changing jobs, moving, etc. I am now working as a Systems Engineer for another Internet company in Irvine, CA.
Anyway, right to it. Here’s a right useful tool. htop.
htop is useful because it [...]

0

Process States

January 17, 2009

If you look in ps for a process, you will usually see the characters S or R… and sometimes others. But what do they mean?
The kernel contains something called a run queue. When a process is ready to run, it tells the kernel that it needs some cycles from the CPU. Once [...]

0

Signals

January 16, 2009

Signals are one of the most visible aspects of the Linux operating system. They are also one of the least understood. Every sysadmin, even the PFYs who aren’t PFed yet, know how to kill a process. But do you know how this works underneath? Do you know how flexible the linux [...]

0

strace

January 15, 2009
Tags: ,

I’m getting lot of posts in tonight so that I won’t feel so bad when I wait till the weekend to write more. :-) Besides, this topic is important enough that I just want to get it out there.
Strace is one of the single most important troubleshooting tools you will ever use. [...]

1

Different kinds of files

January 15, 2009

Linux has many different kinds of files. First let’s start with a little more basic discussion: what is a file?
Basically, a file is anything that can have a file descriptor associated with it.
What is a file descriptor?
Ahh. Glad you asked. Sit down, this could take a bit.
Linux is POSIX compliant, which [...]

0

Simple tip: Inodes

January 15, 2009

Sometimes when on a Linux system, you will encounter a problem with running out of disk space when it appears that you haven’t. This is because there are actually two different resources on a Linux filesystem.

Disk space – this is the total amount of space allotted to all of your files.

Inodes – this is [...]

0

Backups

January 11, 2009
Tags: ,

This is one of those topics that separates the men from the boys, so to speak. Backups. Always, always, always have them.
Do not treat RAID arrays as if they are inviolable. It’s always a possibility that more than one disk could fail. And it’s also a possibility that the hardware itself [...]

0

Reset your root password

January 10, 2009

OK, this first trick involves getting your root password back when you’ve lost it. Ever had that happen? It can be rather nerve-wracking. And if you try to reboot the box and bring it up into single-user, it may actually ask for your password before allowing you to get a shell. [...]

0