Watchdog

From AwkwardTV
Revision as of 19:36, 19 September 2007 by XqvBvg (talk | contribs)
Jump to: navigation, search

tastiera atlantis coti m p infissi video porno moana pozzi time modern severin barbecue schede madre p4 grissini italia killah telefonini sony ericcson folklore siciliano commutatrice tv basilicata mya videos hentaai un medico in famiglia 4 programmazione to zucchabar emporio armani abiti donna stampante parallela dead to rights 2 rinviato al 2005 tappeto doccia omicidio a las vegas rt x100 xtreme pro sangue sul sole il sudoku frasi sposi cosche mafiose eu quero sempre mais nicon 8800 acer videoproiettori ica (dipartimento) mercedes ml 270 lazio memory card 8 mb enigmas pdf create dragostea din tei dj ross radio mix immagini belle donne designer com www slow food torino it zombi terror quando soffia il vento canon ef 28105 mm pda qtek 2020 matrox millennium g450 passito pellegrino nikon mh56 endeca polistirolo a trapani enologia cartier declaration 100 ml damned final damnation una morte di troppo solo in america warriorkingsbattles plastica in bobine yery opus pistorum annarita n guido renzi amica mia fotocamere nikon webcam network milano washington biglietti aerei immagini pesci tutti i calendari di pamela anderson colpo grosso a manila indiano traduttore sapphire x800 xt te anau lago arturo toscanini the maestro sabato tragico porno fil asus a730 salud bucal durante el embarazo nec laura non c e la spia che ci provava quicktime 6 tiozzo sergio honda hornet 600 moto smao pentium p4 pc tempi greggio melanie moore teoman dus gram la ragazza di mille mesi tognazzi e la minorenne memoria ram evo chilly cah cha audi a6 28 v6 pigro ivan graziani boombots i santo california tornero turismo responsabile in senegal dentro www verona it dimm 512 polacco traduzioni urania vgn a417m berchet big builder cokka grasso cazzo asus a7n8x deluxe x2 4600 riassunto il ritratto di dorian grey bmw z3 2002 1 9 rifondazione partito comunista scrittura araba s 1 nikon tattooo euro 24 liviu guta de ca ma minti km0 opel benzina auto km 0 tavola sinottica lcd televisore memoria mobile pixel wrap stampante hp laserjet 1010 apple airport fox uomo calendario 2005 ricevitore bluetooth porno amatoriale gratis collegi femminili foto settimo cielo viaggi teorema pilot penna canon borsa videocamera hanes abbigliamento altri giochi illuminazione teatro zeus srl sony cybershot s90 motorola iden usb driver scuba diving last summer dance battiato eugenia rito hentai com opera mini diffusori toxic babe rumba rei acer 380 kvasir disegno bambino prestito aquila anastacia myskina cena fun club pepe aguilar midi www bet music com palermo bosco ficuzza vidas ricetta pasta browning robert cuarto de tula hp photosmart 935 il leone di s marco ug 3350 sud carolina cose fare ipa sud acer 20 stampanti per palmari bamb julia stegner codec sat ragazza orbassano athlon64 3000 download winzip gratis telefoni celluleri assicurazione sassuolo fuoco magico reggina calcio maglie everibody change leica minox lettore mp3 linein french festival a naxos music journey france giochi 3d vivitar reflex ricevitore satellitare telesystem diritto donna lacie dvd dl traduzione canzoni straniere testi nokia 6230 batteria telefoni mito l origine del sole quanto costa morire pasquale bruni spa codici xp rubati disegni per comunioni ird400 vaio vgnb3vp fiction vivere fror m410r kyocera conchiglie da collezione ferro da stiro caldaia vapore lotta mista hobby it robin jarvis libri mamma tettona hitachi deskstar 250 www abutres com br giochi calcio holli e bengi foot bastinado ===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