10-01-2002
Writing a service in Linux
Hi All:
I want to write a program that runs like a service(in the background) and should start up when the system boots. It should always be running, no matter who has logged in, no matter if anybody has logged in et all.
Is there any online help i could get on this topic, appreciate the help
Thanks,
Preetham.
9 More Discussions You Might Find Interesting
1. Programming
Has anyone here written an MS compatible .NET service that is hosted and served from a UNIX server instead of a W2K server? I love programming and writing .NET services with Visual Studio.NET and C#, but there is a fundamental problem --the Win2k server itself. It is not near as reliable as Sun... (0 Replies)
Discussion started by: yeslekmc
0 Replies
2. What is on Your Mind?
Yep, that's right.
I'm writing a Linux binary that requires an X11 Server. It will also be released in a Shell, Win32, and Cocoa (Mac OS X).
It's a program that's a text editor and more. It not just creates TXT and RTF files, it also can save in XML, RSS, and a whole lot of other formats.
... (11 Replies)
Discussion started by: Danny_10
11 Replies
3. SuSE
Is it possible to save a file from linux environment to a windows ntfs partition?
I use SUSE 8.3 and I can access win ntfs files only as read only.
I want to know whether writing is possible on win ntfs partition. (2 Replies)
Discussion started by: suyashkunte
2 Replies
4. Programming
Hi there.
I've got 12 years experience writing C++ on Windows, and 3 years C# on Windows. Now my boss wants me to write a C++ app to run on Unix as a multithreaded 'service' (i.e. a program that runs with no user intervention).
Some quick questions for The Experts:
* Whats the best C++... (3 Replies)
Discussion started by: Rutland Gizz
3 Replies
5. Programming
Hi
I am very new to Linux programming,otherwise I have exposure to Linux. Was thinking about something like writing my own commands for Linux. Any ideas where to start, any useful links and what I need to know before I start with this.
Thanks :)
Sidhu (3 Replies)
Discussion started by: Amardeep
3 Replies
6. Programming
Hi,
I want to write a service like windows service for my rhel4u5 server.And this service every day at 4:00 am connect a ftp server and download file then parse information at txt file then insert or update info at my database server(oracle).and this service can be stopped or paused by user.And... (1 Reply)
Discussion started by: ariyurek
1 Replies
7. Linux
Hi there;
I need to know all the things about services which help my Linux OS running.
So what're important services of LINUX OS ?
Anyone can help me...
Tks all ? (1 Reply)
Discussion started by: quan0509
1 Replies
8. HP-UX
I have an HP Unix server with Oracle DB and want to write Datapumo export files across the network to IMB/Linux NFS. Will that work? (3 Replies)
Discussion started by: Duane McDonough
3 Replies
9. Programming
Hello Everyone,
Here I am offereing my Services
Word Posting Content Posting
PDF to excel or word
Image to Ms Word typeing
Document Creation
Video Creation
Any type Copy-Paste
Ads Posting
Article Posting
Manual Directory Submission
PR Submission
Social Bookmarking
Web 2.0 Blogs... (1 Reply)
Discussion started by: abseova
1 Replies
LEARN ABOUT MOJAVE
comsat
COMSAT(8) BSD System Manager's Manual COMSAT(8)
NAME
comsat -- biff server
SYNOPSIS
comsat [-l]
DESCRIPTION
comsat is the server process which receives reports of incoming mail and notifies users if they have requested this service. comsat receives
messages on a datagram port associated with the ``biff'' service specification (see services(5) and inetd(8)). The one line messages are of
the form:
user@mailbox-offset
If the user specified is logged in to the system and the associated terminal has the owner execute bit turned on (by a ``biff y''), the
offset is used as a seek offset into the appropriate mailbox file and the first 7 lines or 560 characters of the message are printed on the
user's terminal. Lines which appear to be part of the message header other than the ``From'', ``To'', ``Date'', or ``Subject'' lines are not
included in the displayed message.
OPTIONS
The comsat program supports this option:
-l The -l option turns on syslogd(8) log messages.
FILES
/var/run/utmpx to find out who's logged on and on what terminals
SEE ALSO
biff(1), inetd(8), syslogd(8).
BUGS
The message header filtering is prone to error. The density of the information presented is near the theoretical minimum.
Users should be notified of mail which arrives on other machines than the one to which they are currently logged in.
The notification should appear in a separate window so it does not mess up the screen.
comsat runs as root so that it can open the users maildrop.
HISTORY
The comsat command appeared in 4.2BSD.
4.2 Berkeley Distribution June 4, 1993 4.2 Berkeley Distribution