I need to kill such user processes that are taking longer time than a said expected interval on UNIX (Solaris) operating system. This needs to be done inside the process that ...
After reading a series of man pages and searching through google, I decided to post this question to the bright folks of stack overflow.
I'm working on a basic Unix Shell and ...
I am designing a monitor process. The job of the monitor process is to monitor a few set of configured processes. When the monitor process detects that a process has gone ...
I want to delete an executable after I start the process.
I tried by putting unlink and it work fine, but I want my executable to continue running.
Is using the unlink approach ...
P: n/a asimorio Hi folks, Recently, I am investigatin a memory leak issue. I have written a simple C++ program and a Perl script to test on UNIX environment machine. I do a for loop to new up 20 char of size 32768 bytes, then delete them. Please see below: //// part of the code start //// for (i=0; i<20; i++) ...
I don't get it. My program forks a child, execs a user command from the kb, then dies while the Parent also dies in an endless loop. I am developing my knowledge of Unix processes but I have yet to grasp how to write a program where the program runs as a shell cmd line forever, taking input, forking a child ...