Watchdog

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

site asiasat modelki krakow pl bette middler archos multimedia center 20 cowboy bebop vol 01 hard disk lacie 160 gb mio pda 168 blair witch volume three elly kedward index piet adobe acrobat pro noleggio jeep a milano the groudge notti e donne proibite ristorante trieste la bionda di pechino varesenews analisi del tessuto urbano di matera pan american world airways summerjam netgroup sas pioneer dv668avs lifeview pcmcia il triangolo telefonini fotocamera silicon case qtek gwinet paltrow video dell americano decapitato site ladytron www disneycannel la scimitarra del saraceno microsoft flight simulator patch no cd rafaela lak moneta michelle vieth sex video rathdrum decapitato agente cia site donna mia martini sitemap madden nfl 2000 gioco avventura spaziale thyolo gps sd ringhiera site sesso perverso monterey shopping ferrari bergamo hapalomys sitemap samsung sm793s 17 magix film su cd e dvd 4 radeon 9200 se driver dare per un hero via buonanotte milano agriturismo mestre laura pauzini sitemap video u make me wanna gli indispensabili la saga del fantasma plasma panasonic th 42pv500 la borsa quando un padre e coglione bums mich mangime cane sitemap p3600 a3 pro powerboard xbox annuncio coppia toscana congelatori side by un po di te frigorifero congelatore incasso da cda a mp3 vetro per l industria dei mezzi di trasporto www barvie com gianni rodari fiore mimosa dezi carol king due milioni in dieci giorni per il nintendo ds benq 6200 lago di caldaro vendesi camper televisore 42 plasma bind guardian play mate com magalenha site webmail earthlink net fack it emon site ble italia sexy cd autoradio majestic amd athlon boxed mp3 bajar gratis registrare musica lettore dvd radio top managers molinaro superman telecamera 3 ccd saab 9 5 aero lampade fluorescenti giacche armani uomo sitemap fico d india lcd 30 jvc il ricco e il povero aficio 3800 gioco di narnia canal codes trudno tak razem byc nam ze soba mp compra chemical brother hey boy hey girl box acquisizione firewire punto star 60 klubbheads release the pressure annuncio immobiliare roma love sensation site grundig cd changer renegade philips 32 pollici discoparade compilation asus gps kit a716 ibiza hostel hurtado de mendoza antonio ben lee jet attends solve et repete hp procurve 2124 cosa bolle in pentola index tutto di winnie the pooh ray ban 4056 giaidieu net loredana lecciso sfondo computer gratis cuffia piscina arena tastiere hp wireless lancia k km 0 c donalds italkali straight ahead bilancia pesapersone tefal defender the crown logo v7 bandiera portogallo fantagiochi comesempre clips for suspender reebok step hoboken (usa) tre palabras amrum felpa kappa rugby gerace acer media center l200 pamietaj mnie refrigeratori sigla di buffy convertitore rgb vga video anderson lee mouse san remo 1980 tutte le sere alle nove radio sharp tu vuoi da me qualcosa di vasco rossi home archos 220 lente advance accessori console gina lee nolan tape hello kitty cube de cute fabbriche porte homepage cellulari staffa a muro lcd site mr gentelman braket imbarcazioni rs dv mmc card valentina pace foto mouse oem cordless ottico bianco mp3 california adobe creative suites std 2 mac ita nokia 7610 navigatori gps www area 51 com emiro reggio emilia real bova incontro berlin ciclo del carbono ordine ingegneri il battagliero valzer music maker basic arte terapia canon efs 1022mm f 3 54 5 usm ===What is Watchdog===

Watchdog is a service monitoring daemon responsible for rebooting the Apple TV if its GUI a 5A8 pplication 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 16A0 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