Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I want to check the status of linux services through my C code. is there any function call to achieve this. for example dhcp services, i want to check ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    1

    Check Services in linux

    Hi,

    I want to check the status of linux services through my C code. is there any function call to achieve this. for example dhcp services, i want to check the status of this service through my code. how to do it.

    thanks,
    esstee

  2. #2
    Just Joined! pcrack's Avatar
    Join Date
    May 2006
    Location
    Philippines
    Posts
    23

    chkconfig

    chkconfig --list

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...