What's difference bet service in win2k & daemons in linux?
In comp.os.linux.misc karthikeyan <thegreatkarthik@yahoo.co.in> wrote:
What's difference bet service in win2k & daemons in linux?
A daemon is a program that can be run directly or in the background and
is supposed to listen for certain 'signals' to allow it to be 'remote controlled'. A Windows Service is a program specifically designed to
be executed and respond to command from the Service Control Panel in
Windows. It won't work as non-service.
In other word. Most of the time you can turn a normal Unix/Linux apps
into a daemon simply running it in the background and pointing his stdin/stdout to files but you CANNOT turn a normal Windows program
into a service (well, sometimes you can use some 'wrapper').
I've certainly run a Sybase database as both a servie and
I think that's overstating the case. I think any execuitible
can be setup to run as a service-
In comp.os.linux.misc jmh <j_m_h@cox.net> wrote:
I've certainly run a Sybase database as both a servie and
Well, I've never used SyBase (only MS SQL Server), and it's possible
that they have one version that runs as a service implementing the
correct APIs and the same binary also contains a Window Procedure so
it can run as a program. But I think that those kind of programs are
veeeeery uncommon. I've always saw Windows programs and Windows
services. And the two usually don't mix.
I think that's overstating the case. I think any execuitible
can be setup to run as a service-
Huu.... yes _IF_ you are prepared to spend money in some
third-party software that run as a wrapper around the executable.
Of course I'm 100% behind you about the fact that is a PITA.
I don't pretend being a long time windows programmer, but it is easy and only takes a bit time to proof that you are wrong.
If you don't mind downloading the 12mb w2k3 server reskit (containing srvany.exe) :
In comp.os.linux.misc Matthias Tacke <Matthias@tacke.de> wrote:
I don't pretend being a long time windows programmer, but it is easy and
only takes a bit time to proof that you are wrong.
We are going from OT to way-OT, but if you have same code to share
I'll be delighted to see it. Remove the 'yeahsure' form my address.
If you don't mind downloading the 12mb w2k3 server reskit (containing
srvany.exe) :
I know Srvany, I've used many time. Problem is, sometimes it doesn't
work. Afaik when the 'application-wannabe-service' want to display
something on the screen srvany can't run the application.
Davide
In comp.os.linux.misc Matthias Tacke <Matthias@tacke.de> wrote:
I don't pretend being a long time windows programmer, but it is easy
and only takes a bit time to proof that you are wrong.
We are going from OT to way-OT, but if you have same code to share
I'll be delighted to see it. Remove the 'yeahsure' form my address.
What's difference bet service in win2k & daemons in linux?
As far as i heard that services can be started/stopped manually or
made automatic and once if the service is started then the memory
for that will be for ever. but whereas daemons are background
process whenever needed are called and after done their process it
would be in sleep mode and won't occupy any memory. Please help me
is this correct
or give me the difference bet service in win2k & daemons in linux?
thks in adv.
In comp.os.linux.misc jmh <j_m_h@cox.net> wrote:
I've certainly run a Sybase database as both a servie and
Well, I've never used SyBase (only MS SQL Server), and it's possible
that they have one version that runs as a service implementing the
correct APIs and the same binary also contains a Window Procedure so
it can run as a program. But I think that those kind of programs are
veeeeery uncommon. I've always saw Windows programs and Windows
services. And the two usually don't mix.
I think that's overstating the case. I think any execuitible
can be setup to run as a service-
Huu.... yes _IF_ you are prepared to spend money in some
third-party software that run as a wrapper around the executable.
Of course I'm 100% behind you about the fact that is a PITA.
Davide Bianchi wrote:
In comp.os.linux.misc jmh <j_m_h@cox.net> wrote:
I've certainly run a Sybase database as both a servie and
Well, I've never used SyBase (only MS SQL Server), and it's possible
that they have one version that runs as a service implementing the
correct APIs and the same binary also contains a Window Procedure so
it can run as a program. But I think that those kind of programs are
veeeeery uncommon. I've always saw Windows programs and Windows
services. And the two usually don't mix.
I think that's overstating the case. I think any execuitible
can be setup to run as a service-
Huu.... yes _IF_ you are prepared to spend money in some
third-party software that run as a wrapper around the executable.
Of course I'm 100% behind you about the fact that is a PITA.
Why? sc.exe is suppose to allow you to setup any execuitable
to run as a service--basically means starts up without any
need of an interactive logon to launch it and not have stop
when a user logs off. What am I missing here about this?--
though I don't want to push this far as it's not a ng for
discussing Windows but one for discussing linux--programms
running as services, especially one's running in their own
memory space, just need the correct registry entries. At
least that's my understanding of them. I think the one's
running under the Win32srvc process (Is that it? something
along the idea of inetd I think) needs to have some
additional registration made--but sc will do that.
I'll let you enlighten me and leave it at that.
On 06-03-2004, in comp.os.linux.misc,. . .[discussion about the actual difference between
jmh <j_m_h@cox.net> wrote:
I'll let you enlighten me and leave it at that.
Got your boots on folks!. No chance any of this this is troll shit. Right?
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 705 |
Nodes: | 20 (0 / 20) |
Uptime: | 22:06:07 |
Calls: | 8,817 |
Calls today: | 7 |
Files: | 5,288 |
D/L today: |
48 files (41,402K bytes) |
Messages: | 457,998 |