LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 06-03-2009, 03:51 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,333

Rep: Reputation: 118Reputation: 118
LXer: Using ps to Monitor Processes


Published at LXer:

In a previous tech tip, we saw how to use kill to monitor processes. Another option is to use ps. With both methods, you can check $? for success/failure. However, note that kill -0 may return failure even if the process actually exists. This happens when the current user has no permission to the process in question, for example: kill -0 1.

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
monitor processes to be notified when a new process is started? cfh Programming 2 10-03-2005 07:07 PM
Lots of Processes in system monitor gauntalus Linux - General 2 03-03-2005 12:03 PM
Want to monitor processes of several hosts through web page, how? huangyanfeng Linux - General 1 05-26-2004 02:36 PM
Monitor & respawn a BG Processes? amaze Linux - General 2 08-12-2003 09:02 PM
Monitor and Restart - Bkg Processes? KendersPlace Linux - General 1 02-15-2003 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration