b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

Archive for May 2006

May 15th, 2006

HOWTO: Change Process Priority Using the Nice Command

Amongst other things, the Linux kernel is responsible for making all running processes interact well with each other. One of the ways in which it does this is by determining which applications should get more CPU time than others. By default, the kernel handles this without interaction from the user, but there may be cases […]

By Jon -- 0 comments

May 11th, 2006

HOWTO: Use Job Control - Putting Processes in the Background

Putting a process or application in the background means that the process essentially detaches itself from the consol, but keeps executing. This frees up the console to do other things.
You can either put a process into the background immediately upon launch, or you can stop a process already running in the foreground and resume it […]

By Jon -- 3 comments

May 10th, 2006

HOWTO: Use Job Control - Stopping and Resuming Processes

One of the most useful of all Linux’s features is the ability to suspend and resume processes. If you’re running a shell process such as the NANO editor and need to quickly get back to the command line without terminating your work, control-z is your friend.
CRTL-Z will stop the active job and push it to […]

By Jon -- 1 comment

May 9th, 2006

HOWTO: Kill Processes Without Using “kill”

KInd of confusing, but essentially, you can use the kill command to tell processes to terminate themselves in nicer ways than killing them. For example:
kill -15 pid
Will terminate the process assocated with pid, but the process will be asked to terminate gracefully instead of the hari-kari job that a straight kill -9 pid would cause.
I’m […]

By Jon -- 0 comments

May 8th, 2006

HOWTO: Manage Processes - the KILL Signal

There are a number of signals that can be sent to running processes to manage their execution. One of my favourite (based entirely on the name) and arguably more useful commands is the kill command.

kill -9 pid

Quite simply sends signal 9, the kill signal, to the specified pid (process identidication). You can find the pid […]

By Jon -- 0 comments

May 5th, 2006

Drop in Posting Frequency

I’m sure you’ve all noticed by now that my posting frequency on New Linux User here has dropped a bit in the last two weeks. I want you to know that I know and that I know you know. You know?
I’ve had one of those weeks where a bunch of things that I started before […]

By Jon -- 4 comments

May 4th, 2006

Explanation: Signalling Processes

Now that we know how to monitor processes with ps, pstree, and top; it may become necessary to stop a rogue process from running. To do so, we send signals to the process.
This post is an overview of the available signals, and subsequent posts will contain more detail about each one. There’s a numeric […]

By Jon -- 0 comments

May 3rd, 2006

HOWTO: Monitor System Processes with the top Command

The top command shows much the same information as the ps command, but in a contiuously updated screen. Rather than just spewing its data onto the screen, top runs until it is terminated by the user….

By Jon -- 0 comments

May 3rd, 2006

HOWTO: Monitor Processes Using the pstree Command

This is one of the neatest commands in GNU/Linux. The simple command pstree will show you all of the processes running on your machine in a hierarchical format starting with the uber parent process, init.
There are command-line options you can feed pstree, but I’ve never used them because the default output is so useful and […]

By Jon -- 0 comments

May 2nd, 2006

HOWTO : Monitor Processes Using the PS Command

The ps command will display the running processes on a GNU/Linux system. As with many command-line applications, there are many options and switches. I’m just going to touch on the few more common but you can use the man ps command to find out other things you can do with ps.
ps by itself will display […]

By Jon -- 1 comment