Watchdog

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

dop montemarciano toshiba mk1031gas free live sex shows auto rivista la colita keys canal satellite france grandefratello catrina qosmio f10 toshiba portatili arrampicata www atlas ufo robot it silent 775 tavoletta wacom bluetoot j five feat charlie chaplin modern time graduatora insegnanti religione dilwale dulhaniya le jaayenge osama pen testo di guilty dei blue finger pellet sagittarius www iemss it maccine per legno usate lo strano caso del dott frankenstein immagini di elfi download di un programma non autenticato michelle hunziker ferrovie svizzere camera assago valtrax targus business traveler donna fetish macchina caffe gaggia clab napoli soccer volvo xc 90 km 0 ostaggi malesi mitrovich evolution espresso haiducii dragostea din tei solo canzone the ospital discount home theater seating keith emerson discografia schede video ati radeon 9600 xt ripley george lanci del pinguino 5 zelig off kasaioriental athlon 64 3000 939 venice 2 certificate pittori napoletani dell 800 e 900 tini willy e la tartaruga bianca fetish estremo c380 bci 6bk opel astra cdti 19 impressioni di settembre kenwood major accessori ungheretti vendita cucina crime life gang wars roma residence art 65 dpr 600 73 spoladore il pranzo della domenica cd musicali teen porno bandoconcorso chez mimi enciclopedia medicina galaxie 500 1987 1991 auto km 0 usata asta internet coppia animala nowhere to land kenwood kfc1329c woter polo woman xiaoxiao2 eos 3000v z 2890 rex tt 08 e www tiket to one com nissan micra 1 3 senza dubbio video a chi mi dice dei blue inglese deer hunter 3 white flag dido l amore delle donne libri lettore mp3 apple ipod shuffle wac ct ivete scheda video ati x800 agp usher video scandalo sex t flash card geraldine lancia dodo automobili usate a kilometro 0 maio william i don t wanna know kroazia salto hidraulico nautica vala utensili per legno waffle gold nike hp plotter designjet 500ps a0 sigla acer asp 2023 mivar italia honda fireblade pluma azul annunnci di trans titoli ultimo album di ramazzotti sgabello pianoforte brava la vita panasonic scht870 taikyu negozi pesca sportiva software gratuito monitor lcd per pc manfredi nino babbels coppia nudista fara (enologia) giochi per sonyericsson p800 manele liviu guta all men are mortal lavastoviglie a scomparsa tomtom mio www regee com nenette e boni p7010 fujitsusiemens portatili di baio lou rawls multicomparto si no te conociera aspirapolvere polti mdf files plafoniere neon il maialino io t ho incontrata a napoli midi motocicli ricambi e accessori zimmer m300 733 logitech mouse mx 900 focolare cortille hamlet dvb usb o zone dragostea din tea monitor per bambino cavo usb qtek 2020 calciio paolo gentili and peugeot 206 nissan micra cc immagini chicchi di caffe delonghi ne 90 nina sky move ya body video alfa gtv 1998 auto palermo foto gratis transessuali porno step in the name of love creative vista plus scheda madre 754 file midi solo disco schede madri p4 cuore di tuono natalia bush nikon 70 s kruse le vibrazioni giulia quattro nuovi dvd super aurum hotel it emanuela ferrari la scala musicale spartiti sib lettore memory card 40gb www asl bergamo it lo strano percorso degli 883 arte sonora e visiva torino cast your fate to the wind mercedes ravenna agriturismo matera serenata in sol hp photosmart 3310 umorismo mariott hotel milano testo canzone left out side alone sexx maxx cartuccia philips mf 500 scroto osiris d3 2001 first solar hk230 ciondolo di arwen glen innes racconti mogli vogliose cartoline dei giorni scorsi www coogle fr malavasi guido stampa digitale on line chanel make up boris becker palmari navigatore garmin www video ostaggi com ===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