Unix is a multitasking, multi-user computer operating system originally developed in 1969.

learn more… | top users | synonyms

0
votes
1answer
31 views

What criteria should I use for determining whether or not to terminate a daemon (to restart it later)?

Should a daemon, forked from a CGI script (whenever the CGI script is called and the daemon is not yet running), hang running (most of the time just waiting for a connection) all time, or should it be ...
1
vote
0answers
57 views

Storing last polled database timestamp unix

I have a Unix script which is called by a scheduler (CTRL M) every 3 seconds. The script queries an external database(not belonging to my application and therefore I can only query it) to check for ...
0
votes
0answers
73 views

A callback for when data is received?

So, my understanding is that the Kernel could receive TCP at any time, and that generally a C program asks the Kernel synchronously/asynchronously if it has data available. Would it be possible for a ...