Watchdog

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

calciatori nudi audiostar fm infrazione stradale populorum progressio malattie mentale buffet malnatt chitarra romana di lazzaro silent cristmas locandina film the rock f 55 nikon ovan i delfin king of convience loghi olimpionici guadagna da casa elemental gimmick gear albergo aurora nord elisabetta gardini lusaka driver c385 saint john (isola delle picco... rischio di cambio e tecniche subah ho gayi nike 2004-2005 tieta do brasil tendenze dell architettura contemporanea ariete macchina da caffe scooby-doo e il lupo mannaro lamb gabriel giacche pelle creare collana trucchi gta san andreas quinta estacion bomberman ds videogiochi pamela anderson porno video mp3 vera sal da vinci affinita nomi don chisciotte film dvd sony dcr dvd202 sento le campane she weel be love plafoniere casa puta con sfondata la banda di jesse james amanti nelle tenebre hit mania dance 006 keith m maupin kill pulitore polaris duke nuken wifi access point adsl quattro scatti e una data per il nuovo singles lee yeong-ae sonietta garmin gps quest sorella mia vacanze italia piscine fuori terra in legno camicie coreana frisk dvd recorder daewoo 7100 figurine adidas mei maggio si tu donne incinte porche discoteche del veneto darna frasi per innamorati obie bermudez tempesta su washington nina badric assicurazione generali batterie alcaline fimati erotici asus car kit albergo trapani mutuo prima casa sardegna sony ac-vqp10 immobiliare banche temptation island patente c scale elicoidali winny thepooh monitor 20 apple cinema dizionario della lingua italiana lamore nasce a roma nikon 55-200 dx mensaje de texto de telefonica ambulatori veterinari grosseto thierry cham dragos team kt tunstall eye telescope compositor dale don nokia amd a8n-e guardaroba 2 ante perez prado dimage z5 nera orario di lavoro negli ospedali bart wars gs 500 casio exilim ex- z750 nora j sunrise dosatore latte albergo bolzano tylko czarne oczy obiettivi canon 90 -300 wosvagen biglietto di pasqua lacie 200gb usb2 winni the pooh fornitore creta prove d esame nokia cnt olimpiadi programma 15 08 hotel costa del sol lettore dvd con tv foto di linda batista jinotega coldplay video bowlinggames ian brown toner scx-4720 tema guerra in iraq i belong to myself magnetic readers pantaloni sci il terribile ispettore the sims - fuori tutti hifi united piacenza magari rnato zero manic street teachers federica recorder dvd-vhs t2xp l hard disk 40 gb soluzzioni giochi pioneer ns f10 e-630 cellulari samsung tv upskirt in the sahdow gioiellerie vercelli phillips, stephen fiera ottica mido contatori pagina web il gatto e la volpe midi tv con ddt turn me on de kevin little la terribile armata dvd cinema francesca duranti midi file lo strano percorso grand theft auto diventa una serie anche su psp braun combimax xbox ps2 midland alan 37 video gratis nolin olimpia splendid 20 hp crea il tuo personaggio e quello del tuo nemico e poi lotta microsoft guarda avanti (dieci anni) in giappone palmari gps acer n30 castle cat tastiera retro illuminata www bustybabydolls com googol le coniche canzoni della fiction noi polti 800 la fine vatican anthem joypad ps2 usb il diavolo con le ali sigma per nikon insonnia d amore film dvd barcellona p g da rpg copertina album keane pensione a catania royal oak condono edilizio oblazione nikon es e28 sito telefonia zoom nikkor audi km zero agenzia pubblicitaria tutti gli hotel di rimini foto pink floyd coppia 19enne gps pda mio case a fosdinovo cartina politica spagna gli appuntamenti nintendo per il nuovo anno michelle buswell perizoma in vista zena gang bang mujer enamorada immagini di gente e lavoro usb 2 0 digital photo bank una rockstar in cerca damore tatouage sexy carmen villani warren, earl ===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 5A8 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
  • co

B50 m.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