I have a process that (by design) fails to start if its shared memory created with shm_open already exists. If the process crashes or is kipped with pkill, the process will not start until FreeBSD is rebooted. I'm looking to create a "clean" sh script to detect if the shared memory exists and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.