Linux.com

linuxchris

linuxchris

  • Linux.com Member
  • Posts: 2
  • Member Since: 05 Mar 10
  • Last Logged In: 11 May 10

Latest Posts

Posted by
Topic
Post Preview
Posted
  • linuxchris
    RE: Ubuntu Vs. Ubuntu for Netbooks
    I am not sure what type of netbook you have but Ubuntu has a good list of netbook compatibility on their site: https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks Hopefully that list will let you know what does/does not work with your model. Good luck and welcome to Linux.
    Link to this post 24 Mar 10

    I am not sure what type of netbook you have but Ubuntu has a good list of netbook compatibility on their site:

    https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks

    Hopefully that list will let you know what does/does not work with your model. Good luck and welcome to Linux.

  • linuxchris
    RE: Script to auto restart a service in linux
    You could easily just monitor a PID file for the service if that service creates one. If the PID file is not as expected, send a message to the admin and try to restart the service. Executing ps with a search using grep to find a running process would also work. As was mentioned earlier, monitoring the messages log would probably be the least effective way of doing this. Just about any modern monitoring software (like Nagios mentioned earlier) will do this for you with little effort needed.
    Link to this post 06 Mar 10

    You could easily just monitor a PID file for the service if that service creates one. If the PID file is not as expected, send a message to the admin and try to restart the service. Executing ps with a search using grep to find a running process would also work. As was mentioned earlier, monitoring the messages log would probably be the least effective way of doing this. Just about any modern monitoring software (like Nagios mentioned earlier) will do this for you with little effort needed.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board