Linux - Services

How to manage them ?

From the terminal

service xinetd start
service xinetd stop
service xinetd restart

From Oracle Entreprise Linux / Red Hat

System / Administration / Server Settings / Services

Articles Related

How to

Start a script as a background task?

By adding the ampersand (&) to the end of the command line, you start the application in background.

When you use the command prompt to run the appropriate .sh files, by adding ”&” you start them as a background task.

For example, type:

startdemo.sh&

Check if a program is running

Two methods:

  • the file.PID method. Check if the file exist in the directory /home/lsc/
  • with the ps command
  • Bookmark "Linux - Services" at del.icio.us
  • Bookmark "Linux - Services" at Digg
  • Bookmark "Linux - Services" at Ask
  • Bookmark "Linux - Services" at Google
  • Bookmark "Linux - Services" at StumbleUpon
  • Bookmark "Linux - Services" at Technorati
  • Bookmark "Linux - Services" at Live Bookmarks
  • Bookmark "Linux - Services" at Yahoo! Myweb
  • Bookmark "Linux - Services" at Facebook
  • Bookmark "Linux - Services" at Yahoo! Bookmarks
  • Bookmark "Linux - Services" at Twitter
  • Bookmark "Linux - Services" at myAOL
 
linux/service.txt · Last modified: 2011/10/28 23:19 by gerardnico