Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UNIX processes / daemons & core dumps

Status
Not open for further replies.

rawebley

Technical User
Jan 21, 2004
12
0
0
GB
I have written a script that checks for the existence of a particular entry on the process table and then acts upon it accordingly. The script continuously loops and was activated using the "at" command - thus still running when the session is terminated. The only problem is it naturally spawns new processes continously and randomly quits with a core file entry!
1) How do I convert my script into a daemon thus making it less process intensive?
2) How do I read the core file. Unfortunately, the "man" page for core does not exist on my system?
 
Not sure about the daemon part of it. You could set the script to spawn during startup though via an S file. As for less process intensive? Just nice it to use less CPU time.


Reading core files, use strings or gdb. Go here for gdb:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top