Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
]
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.
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.
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.
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.
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.
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.