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
International

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

 






Current Newswire:

5 GIMP Tricks Everyone Should Know!

CLI for fun: du

This is Why I Love Linux

Boxee now open to all Ubuntu users

A New, Easy To Use Disk Formatter For GNOME

Help On The Way: Five Great Linux Support Sites

Artwork for Ubuntu Jaunty Already Impressive

Memo to Dell: Pump Ubuntu Into Your Global Partner Network

Vietnam to widely use open source software

Commercial open source business strategies in 2009 and beyond




Unix/Red Hat Systems Adminsitrator
The Computer Merchant, Ltd
US-PA-Lansdale

Justtechjobs.com Post A Job | Post A Resume
:Creating a Daemon With Python
Creating a Daemon With Python
Nov 21, 2008, 00 :03 UTC (0 Talkback[s]) (2348 reads)

(Other stories by Jeremy M. Jones)

"Daemon Defined

"A daemon is a process on UNIX that runs in the background and will typically keep running until it is explicitly told to stop. Examples of daemon processes include web servers (lighttpd and Apache httpd), schedulers (cron and at), DNS servers (bind), mail servers (courier and dovecot), and database servers (MySQL and PostgreSQL).

"The typical web user will probably interact with at least one UNIX daemon in the form of a web server, DNS server, or database server on an average day. These types of processes run in the background on a server somewhere, unattended by any person, working tirelessly to do the work that they were designed for.

"You can background a process on UNIX by putting an ampersand (&) at the end of the command that you started it with. For example:

"dink:~ jmjones$ $(sleep 10; echo echo "WAKING UP";) & [1] 314

dink:~ jmjones$ WAKING UP

This backgrounded the sleep and echo commands. Ten seconds later, after sleep completed, the command echoed "WAKING UP" and appeared on my terminal. But just running a process in the background doesn't qualify it for daemon status. There are some deeper technical qualifications that an aspiring process has to meet in order to be branded with the daemon label."

Complete Story

Related Stories:
Building Command Line Utilities with Python(Nov 11, 2008)
Comparison of Python virtual machines(Nov 09, 2008)
Python Data Persistence Using MySQL(Oct 31, 2008)
Python 3.0 Makes a Big Break(Oct 17, 2008)
Python's New Release Bridges the Gap(Oct 03, 2008)
Pytube - Best YouTube,Google manager, downloader and video converter for Ubuntu(Sep 15, 2008)
With EasyGUI, I Can Stick with Python(Sep 14, 2008)
Writing Plug-ins in Python(Sep 05, 2008)
The A-Z of Programming Languages: Python(Aug 08, 2008)



No talkbacks posted.
  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

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers