start page | rating of books | rating of authors | reviews | copyrights

UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: VI. Managing Processes Chapter 38Next: 38.2 fork and exec
 

38. Starting, Stopping, and Killing Processes

Contents:
What's in This Chapter
fork and exec
Managing Processes: Overall Concepts
Subshells
The ps Command
The Controlling Terminal
Why ps Prints Some Commands in Parentheses
What Are Signals?
Killing Foreground Jobs
Destroying Processes with kill
Printer Queue Watcher: A Restartable Daemon Shell Script
Killing All Your Processes
Interactively Kill Processes Matching a Pattern
Processes Out of Control? Just STOP Them
Cleaning Up an Unkillable Process
Why You Can't Kill a Zombie
Automatically Kill Background Processes on Logout in csh
nohup

38.1 What's in This Chapter

We've already talked about so many of the topics in this chapter, here or there, that it may seem like a real hodgepodge. It's a grab-bag of important things to know about processes - which you can think of as programs that are actually running, rather than sitting on the disk somewhere.

The chapter starts out with a couple of conceptual articles. They define some important terms that you're likely to encounter in this chapter.

Then we talk about the ps command, which tells you what processes you have running and just what they are up to (articles 38.5, 38.6, 38.7).

The next few articles cover signals, which are one way processes communicate with one another. We cover topics like:

We go from there to a more general discussion of ways to kill processes:

- TOR


Previous: VI. Managing Processes UNIX Power ToolsNext: 38.2 fork and exec
VI. Managing Processes Book Index38.2 fork and exec

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System