[Previous] [Up] [Next]
Go backward to Processes -- signals
Go up to Labs
Go forward to TCP/IP TCP server and client program.

Daemon processes & Logging

Write a daemon process program that:
  1. Initially logs its pid, ppid, and the Terminal Process Group ID (if available) to the system log. It may include a count at this time as well.
  2. When it receives a SIGHUP it logs a count in the system log. It may also log its pid, ppid, and the Terminal Process Group ID (if available).
  3. The process should exit when it receives a SIGKILL signal.
Turn in a copy of your program.
ltaber@pima.edu

[Previous] [Up] [Next]