Results 1 to 7 of 7
Hi All,
I am new in linux OS.
In my setup we have CentOS 5.3 installed...and there are 2 watchdog process running on ...and I dont know what is that?
...
- 06-15-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 4
WatchDog on CentOS...
Hi All,
I am new in linux OS.
In my setup we have CentOS 5.3 installed...and there are 2 watchdog process running on ...and I dont know what is that?
I do not find any help what is watch dog? and their purpose..
Can any one suggest me or provide some good link so that I can identify yes, it is firewall or its at hw level or sw level.
Thanks...
- 06-15-2009 #2
whatch dog are logs
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-15-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
They monitor the CPU cores. My guess is that you have a 2 core CPU, correct? I have 2 quad-core xeons so I have 8 watchdogs running. When one fails, it can be "disabled" so the OS will not try to schedule jobs on it. It will let you know if that happens so you can do a clean shutdown of the system and repair it.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-16-2009 #4Just Joined!
- Join Date
- Jun 2009
- Posts
- 4
vickey_20: If this is log then please let me know how to view this log?
Rubberman: yes I have 2 core cpu...but there are 2 watchdog process runnig on.
ps -ef | grep watchdog
root 4 1 0 Jun12 ? 00:00:00 [watchdog/0]
root 7 1 0 Jun12 ? 00:00:00 [watchdog/1]
but did not understood rest of your content that is for job scheduling, so can you please give me more idea on this?
Thanks...
- 06-16-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
On a single-core, single-cpu system, the operating system (Linux/Unix) will determine what the next job is that should run, and when the currently running processes timeslice is finished, it saves the running process registers, program counter (pc), etc. and loads the saved ones for the next process, continuing execution at the pc for the newly active process. In a multi-core and/or multi-cpu (smp) system it does the same thing, but apportions the processes to available cores. This makes for a quite a bit more complicated kernel. One of the things that the kernel needs to do in an smp system is to monitor the health of the cores and/or cpu's. If one goes wonky (that's a technical term for "not working right"), then it can be taken out of the pool of available processors on which it can run system or user processes. It adds quite a bit of reliability (in theory at least) to the system since it can continue to run even if one or possibly more CPU's die. Each core will have a watchdog process that periodically monitors the health of its charge, and informs the operating system to take it out of service if aformentioned wonkyness is detected. That's about as clear as I know how to make this subject here. So, you have 2 cores, hence you have 2 watchdogs. I have 8 cores, hence I have 8 watchdogs - one for each core.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-17-2009 #6Just Joined!
- Join Date
- Jun 2009
- Posts
- 4
thanks for given understanding.
Can you tell me one thing why it display "0" on 4th column of ps -ef command?
And also from where I can change their value?
Thanks...
- 06-17-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
I think the C column is the CPU utilization when you ran PS. You cannot change the values of any column in PS. It only provides process information that it gets from the kernel. What do you want to do?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote