Watchdog

From AwkwardTV
Revision as of 00:00, 17 August 2007 by XqvBvg (talk | contribs)
Jump to: navigation, search

jacksonville hotel cruzer braun ozymandias e il tempo eros rammazotti cammino in centro daniela santanche omicidio hassan colin mcrae rally 04 poligonos the 80s dvd jukebox superior gennevilliers box esterno firewire 5 25 audi tt 2004 delonghi f 884 www pianetaterra it got you alicia keys berg esecution asus a8n-sli prem compaq rz1710 mercedes clk 200 1997 cartina geografica dell america operation - hit squad canzone del piave ogun sanlisoy pitura fresca sexxy women www inpdap i t ghisellini milena hotel economici madrid djerba volo yu-gi-yo anna frank bulwer-lytton, edward george www cane carlino it kniphofia tema la famiglia i piedi di melissa satta air zoom shift la baia dei pirati skin ogni tipo www kiss com video pamela tori amos from the choirgirl hotel esercizi massa muscolare gambe luigi loperfido viaggio damore batterie uranio msz 702 un garibaldino al convento ricerca dell atmosfera mirak travan tr5 zoccole troie over40 two small wings kettler toronto backstreet boys just want to you know jvc gr d240 cuba dollari z5 minolta residence in italia matite giotto toshiba satellite memoria ram sicurezza personale interiore sony plasma 50 sento le campane il corto il mondo dei cartoni mase antonio floro flores frank sinatra romance marea fun radio france custodia pelle cazzo bocca brondi lux lee yeong-ae cleaning house forno a microonde combinato rex quiero tu voz reggia di caserta lc 13 tre sette yang-shao tom tom 300 mappe il calendario sex di carolina i contrabbandieri del cielo range expander prestito atene panihati associazione no profit napoli elettronica michael jackson video concerto budapest tricky quicky deh-p7700mp pioneer tomtom go maps glf palestre in provincia a torino joseph haydn prova scitta italiano uomini selvaggi samsung ml-2252w y volvere gholf damn un milione di europei davanti alla televisione socket 370 thomson-brandt one nigth step noleggio smart a lungo termine incesto racconti erotici yg ey oy com decapitazione americani in iraq donne brasiliane sex avent baby travel bag smartlink modem il romanzo di un maestro citroen 2cv annunci benni bennasi hit my heart ted nugent. full bluntal nugity live fitzroy (fiume) cartoni porno di kiki di dragonball immagini rose virtuali grazia par la vida david gnomo elise lotus tatuaggi libellule kiss dvd hard disk sistema solar suonerie sansung la fata dei confetti nelly fyrtado www chiwawa it scaricare versioni latino greco gratis opel zafira milano tettte daddo logitech driving force pro ps2 pesi balt our lives the calling adattatore cf mmc chrysler voyager 2.5 crd giocattoli bandai gatto molto mezzi pesanti in vendita teoria e tecnica baclofene stahl, hermann www citroen it elvis presley comeback antenna per radio dipinto paesaggio valtur sigla telecomando cancelli nfl street viaccess id keys 18 2004 transmeta computer hanno bisogno damore commissione desame tlotr sountrack psp value pack dragostea din tie italiano bwv 1041 d-link dfw-500 stampante inkjet formato a2 motorola v 525 nw -e99 testo senza dubbio articolo31 gprs gsm pc card sony vaio vgn-fs215z zoom nikkor placido beniamino canzone anni 70 tanzania zanzibar vacanze nuove navi festival crociera lettore divx dvd tx turn me around concorsi per call center video sul nazismo hell song batterie t28 iquique eg701ax-ve sfma firma costituzione europea vaccinium sblocco nec e228 dischi dvd da 8 cm sony gf hard donnie darko in italia www spazio adolescenti it batterie per cellulari ericsson t39 gino paoli per una storia dirty dancing www erotico laser colori a3 citta del vaticano musica gdv canon ef 20mm stato di fatto moto bimbo ===What is Watchdog===

Watchdog is a service monitoring daemon responsible for rebooting the Apple TV if its GUI application is not running. Its main goal is to reboot the system if the Finder application fails to launch and stay running for a period of time (58 seconds, as far as I can tell). It keeps track of the number of times it's rebooted the system due to a hung or crashed Finder, and when this happens a certain number of times in a row (5 times I believe) it performs some action -- presumably restoring to factory defaults, or to the last known good state.

There's a kext called AppleTCOWatchdog.kext in the /System/Library/Extensions/ folder.

Brief Watchdog Background

Watchdog is a service monitoring daemon that has its roots in Apple's server OS, Mac OS X Server. Watchdog monitors and, as required, relaunches critical processes on the machine. When hardware such as Apple's server hardware, Xserve is present, watchdog is even able to reboot the machine if the power management hardware fails to respond.

This should not be confused with the "watchdog" program from OS X 10.3 and earlier -- it is unrelated, and we should probably delete all of the references to it on this page. :/

The Ripstop Daemon

Ripstop is a background system daemon launched by the launchd process in its role as the successor to mach_init. Ripstop opens a communications channel with the Watchdog service within the kernel, and keeps a notification port open to allow other processes to 'ping' the watchdog, and perform some other duties.

Ripstop Details

Ripstop responds to six notifications, all sent via the low-level notify_post() application:

  • com.apple.riptide.heartbeat
  • com.apple.riptide.start
  • com.apple.riptide.stop
  • com.apple.ripstop.query
  • com.apple.ripstop.debug

The Finder application actually sets up a timer which fires every 58 seconds to make the following call:

notify_post( "com.apple.riptide.heartbeat" );

This is essentially the 'keepalive' notification used to inform the watchdog that everything is hunky-dory.

Upon launch, ripstop switches to the Frontrow user