LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2003, 04:19 AM   #1
npr_eee
LQ Newbie
 
Registered: Dec 2003
Location: chennai
Posts: 2

Rep: Reputation: 0
"Doubt"


HI
Iam new to Linux word.

Does Linux has any facility like windows services??

[
WINDOWS SERVICE OVERVIEW:
Services overviewA service is an application type that runs in the background and is similar to UNIX daemon applications. Service applications typically provide features such as client/server applications, Web servers, database servers, and other server-based applications to users, both locally and across the network.

You can use Services to:

Start, stop, pause, resume, or disable a services on remote and local computers. You must have the appropriate permissions to start, stop, pause, restart, and disable services.
Manage services on local and remote computers (on remote computers running Windows XP, Windows 2000, or Windows NT 4.0 only).
Set up recovery actions to take place if a service fails, for example, restarting the service automatically or restarting the computer (on computers running Windows XP or Windows 2000 only).
Enable or disable services for a particular hardware profile.
View the status and description of each service.
]

Thanks in advance
Npr
 
Old 12-18-2003, 05:01 AM   #2
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Seems like you've answered your own question, Windows services are analogous to Linux daemons. The only thing I can add is Windows' hardware profiles are similar to runlevels in Linux. The book "Linux for Windows Administrators", by Mark Minasi and Dan York, was an invaluable asset to me when translating the jargon. Functionally, the OSes are more alike than dissimilar. Linux just doesn't assume all users are vidiots.

Last edited by Crito; 12-18-2003 at 05:13 AM.
 
Old 12-18-2003, 09:56 AM   #3
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
The answer is yes. And Linux is better at running servers than windows
 
Old 12-18-2003, 10:55 AM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
i think youve both misread npr_eee's question, i think what their asking is, in windows there is a program that lets you start/stop/pause/disable services, is their an equivelent program on linux.

services are processes that run in the background, and there are standard programs that let you look at running processes and kill them - kill, ps, top, etc... a process can be started by running its executable but most provide a startup/stop/restart script that lives in /etc/ somewhere depending on your distribution. most distributions probably provide a program(specific to the distribution) to do all these tasks but i dont use one so i dont know what it would be called.
 
Old 12-18-2003, 01:54 PM   #5
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
I believe RedHat comes with a Services manager. In fact, it may be an aspect of Gnome, and not of RedHat specifically, but I do remember a nice little GUI utillity that allowed you to start/stop/restart services.

slight
 
Old 12-18-2003, 02:22 PM   #6
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Mandrake comes with a GUI service manager too.

IMHO, one of the most abused words in the linux vocabulary is "daemon." In the Windows world, only system background processes are called services (and it seems many have adopted Windows' terminology for clarity.) User background processes are NOT called services. Unlike daemon, which could be either a system or user background process.
 
Old 12-18-2003, 05:49 PM   #7
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Quote:
Originally posted by kev82
i think youve both misread npr_eee's question, i think what their asking is, in windows there is a program that lets you start/stop/pause/disable services, is their an equivelent program on linux.
Ummm... no I dont think I have... "Does Linux has any facility like windows services?" My answer is yes. It seems pretty straight forward to me. I think you are reading between the lines in his question Perhaps that what he meant... but it's not what he asked.
 
Old 12-18-2003, 05:56 PM   #8
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
The Redhat GUI services configurator --> redhat-config-services (as root)
 
Old 12-18-2003, 06:24 PM   #9
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Basically, there are many options for managing the services running on a linux box, forget your fears and doubts and just try it out. I'd recommend SuSE to you but that's just me. It's got loads of cool gui tools for you to play around with, and nice manuals too, which might come in handy...
 
Old 12-18-2003, 10:58 PM   #10
npr_eee
LQ Newbie
 
Registered: Dec 2003
Location: chennai
Posts: 2

Original Poster
Rep: Reputation: 0
Doubt

Thanks for all of your answers

How to write our own services(i would prefer JAVA) and how would you deploy as services (like windows services)in Linux

Thanks in advance
 
Old 12-19-2003, 05:07 AM   #11
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Entire chapters in books are devoted to the topic, so it might be beyond the scope of a message board thread. What you need to research are init scripts and runlevels, though. To get you started, there are two different methods that are commonly used, System V and BSD-style. Most Linux distros use the System V method.
 
  


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
Created "htdoc enabled dir" in apache doubt??? tuxfood Linux - Software 0 09-19-2005 12:40 AM
doubt in editing "grub.conf" in multi distro machine b0nd Linux - Newbie 6 08-06-2005 09:46 AM
"Doubt in Java Script" manikantha Programming 1 09-29-2004 10:28 PM
"Doubt in Selecting Options in HTML" manikantha Programming 1 09-25-2004 12:11 AM
"Doubt in Implementing top command " manikantha Programming 1 09-24-2004 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:20 AM.

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