Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 







Current Newswire:

System Monitoring With Atop

Leaked 2002 Document: Microsoft Compares Windows XP and Office to GNU/Linux and

Btrfs v0.19 Brings Some Gains, Some Losses

5 Ways to Use Your Old PC

The Patent Troll

Microsoft Mono move means exactly nothing

Google Chrome OS and the Open Source Desktop

Reviewed: AVG Anti-virus 8.5 for Linux

Free software heroes: from Stallman to Google, a list of inspiring individuals

Firefox 3.5 vs. Internet Explorer 8: Which is Safer?




Senior Linux Systems Engineer or Linux Systems Administrator
WSI Nationwide, Inc.
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Things to Do With 'kill'
Things to Do With 'kill'
Jan 6, 2009, 23 :34 UTC (1 Talkback[s]) (3187 reads)

(Other stories by Juliet Kemp)

"kill -0 pid: This doesn't actually kill the process, just returns 0 (success) if the process exists and 1 (failure) if not. The command itself will not give you any output -- you have to look at the exit code, using echo $? to get the information. So as a one-liner:

"kill -0 1685; echo $?"

Complete Story

Related Stories:
Parallel Processing Shell Script Released(Jan 06, 2009)
pv (Pipe Viewer) - Shell pipeline element to meter data passing through(Dec 30, 2008)
Using Varnish to Capitalize on Image Hotlinkers and Retain Referred Visitors(Dec 11, 2008)
Magic Tricks With the Sysreq Key(Dec 10, 2008)
What is trackerd and Why Is It Running?(Dec 04, 2008)
Tip: Using find Command in Linux(Nov 19, 2008)
Getting CPU Information From Various Flavours Of Linux And Unix(Nov 14, 2008)
Tip of the Trade: Proc and Processes(Nov 12, 2008)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
Sending termination requests to processe ...   Thing kill is intended for.   
Rainer Weikusat
Jan 7, 2009, 13:56:16
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP