Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Follow us on twitter - we shoot all of our new original content out as well as random messages. https://twitter.com/linuxdotorg
    Dismiss Notice

linux services

Discussion in 'Getting Started' started by gagan407, Oct 11, 2018.

  1. gagan407

    gagan407 New Member

    Oct 11, 2018
    Likes Received:
    i am using centos and and i wrote a c program to restart the process whenever the process is killed with SIGSEGV & SIGALRM but i am able to that for only once when ever i am trying to kill for the second time it is not killing the process

    crashlog("caught the sigsegv signal");
    system("service process restart");
    kill(getpid(), sig);

    in release resources i am removing the ips form network

    (Log in to hide this advertisement)


Share This Page