Share to: share facebook share twitter share wa share telegram print page

Daemontools

daemontools
開発元 ダニエル・バーンスタイン
最新版
0.76 / 2001年7月12日
対応OS Unix系
種別 ユーティリティ
ライセンス パブリックドメイン
公式サイト daemontools
テンプレートを表示

daemontoolsでーもんつーるずは、ダニエル・バーンスタインによって開発された、Unix系OSにおけるサービス管理のためのツールのパッケージである。Unix系OSにおける、rc.drc.localinittab などのinitの代替としてデーモンを起動させることができる。2007年11月よりパブリックドメインとなった。

概要

daemontools は、Unix系OSにおけるサービスの管理作業(プロセス監視、ロギングなど)をシンプルな手法で行うための支援ツールである。たとえば、supervise というプログラムは、フォアグラウンド起動させたデーモンプロセスの監視を行い、multilog というプログラムは、パイプ経由で取りこぼしなくログの記録ができる。daemontools においては スーパーユーザー権限の絞り込みが行われるため、よりセキュアな運用が可能である。

daemontools では、設定により変更可能であるが、/services というルート直下のディレクトリに各種デーモン用のサービスディレクトリを個別に配置し、各サービスディレクトリに起動スクリプト等を配置する。また監視対象のプロセスは、フォアグラウンドで起動させる必要がある。たいていのデーモンはフォアグラウンドでの起動が可能だが、バックグラウンドでしか起動できないデーモンの場合は、daemontools に含まれる fghack ユーティリティを使用してフォアグラウンドで起動させる。

djbの開発したinetd代替ソフトウェアであるucspi-tcpを併用することでさらにきめ細かい管理を行うことができる。

djbの開発したdjbdnsや、qmailのみならず、ApachePostfixMySQLIRCのボットなども daemontools の管理下におくことができる。工夫を凝らしたさまざまな起動スクリプトがインターネット上で公開されている。

主なツール

daemontools はパッケージの総称であり daemontool というプログラム自体は存在しない。この節では、daemontoolsに含まれるいくつかのユーティリティを用途別に紹介する。

svscan - サービスディレクトリ群の監視

svscan/services ディレクトリ直下を監視し、ディレクトリを発見すると、そのディレクトリ内でサービス管理デーモン supervise を起動する。

supervise - プロセスの制御と監視

supervise は、カレントディレクトリ (/service/サービスディレクトリ) 直下の run という名称のプロセス起動用のコマンドを実行する。 多くの場合、run コマンドはシェルスクリプトで記述されており、その中でデーモンの実行に必要な環境変数等を設定し、起動したいデーモンのコマンドをexecするという構造になっている。 run プロセス (exec したデーモンプロセス) が何らかの理由で終了すると、supervise はその度に run を実行する。

デーモンの起動や停止 (プロセスへのシグナルを送信) をする場合は svc コマンドを使用して supervise に指示する。。 svc コマンドの使用により各種デーモンの停止、起動を統一的な方法で管理することができる。 また、プロセス番号を意識することなく TERMKILLHUP などのシグナルを送ることができる。

supervise で起動されたプロセスは、svstatで、死活や起動時間を確認することができる。

multilog - ロギング

multilogは、標準入力からのパイプを処理し、指定したログファイルに出力する。ログの取得にUDPパケットではなく、Unixパイプを使用するため高負荷時でもsyslogdのような取りこぼしがおきない。ログのタイムスタンプtai64n ユーティリティにより、TAI64N (Temps Atomique International)フォーマットで記録される。このフォーマットは正確だが可読性が低いため、ログ閲覧時は、tai64nlocal フィルタを用いてひとの読める形式に変換する。

関連項目

外部リンク

This information is adapted from Wikipedia which is publicly available.

Read other articles:

School in Rancagua, Cachapoal Province, Chile Escuela Niño Jesús de PragaLocationRancagua, ChileInformationTypePrimary and secondary school Colegio Niño Jesús de Praga (English: School of the Baby Jesus of Prague), officially known as the Escuela Particular N° 11 Niño Jesús de Praga is a Chilean primary and secondary school located in Rancagua, Cachapoal Province, Chile.[1] The school is one of two owned by the Chilean Roman Catholic Congregation of the Precious Blood of Our Lord …

SantoAgustinus dari HippoThe Triumph of Saint Augustine oleh Claudio Coello, ca. 1664Uskup, Pujangga GerejaLahirAurelius Augustinus13 November 354Thagaste, Numidia Cirtensis, Kekaisaran Romawi(sekarang Souk Ahras, Algeria)Meninggal28 Agustus 430 (umur 75)Hippo Regius, Numidia Cirtensis, Kekaisaran Romawi Barat(modern-day Annaba, Algeria)MakamPavia, ItaliaDihormati diSemua denominasi Kristen yang memiliki penghormatan orang kudusTempat zairahSan Pietro in Ciel d'Oro, Pavia, ItaliaPesta 28 A…

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) طالع أيضًا: أمير البرازيل راية أمير البرازيل. هذه القائمة تحتوى على أميرات البرازيل منذ 1645 حتى 1815 سواءً أكا…

مصر قرآن كريم معلومات عامة النوع قناة قرآن كريم المالك المتحدة للخدمات الإعلامية تاريخ التأسيس 2020 تاريخ أول بث فبراير 2020 البلد  مصر اللغة العربية المقر الرسمي القاهرة،  مصر معلومات البث مناطق البث مصر، والعالم العربي والعالم الإسلامي ساعات البث 24 ساعة نايل سات التردد: …

Kudeta Guatemala 1954Tanggal18–27 Juni 1954LokasiGuatemalaHasil Jacobo Árbenz lengser; Revolusi Guatemala berakhir; Junta Militer berkuasa.Pihak terlibat Pemerintah Guatemala Militer Guatemala Pemberontak Guatemala di pengasingan Didukung oleh:  Amerika Serikat Central Intelligence AgencyTokoh dan pemimpin Jacobo ÁrbenzCarlos Enrique Díaz Carlos Castillo ArmasDwight D. EisenhowerAllen Dulles Presiden AS Dwight D. Eisenhower dan Menteri Luar Negeri John Foster Dulles, pendukung kudeta G…

Paloma Domingo García Información personalNacimiento Enero de 1959 Residencia Madrid, EspañaNacionalidad EspañolaEducaciónEducación Ciencias Físicas especialidad de Astrofísica por la Universidad Complutense de MadridEducada en Universidad Politécnica de MadridInformación profesionalOcupación Científica Empleador Directora adjunta de la Fundación General CSIC[editar datos en Wikidata]Paloma Domingo García (Madrid, 3 de enero de 1959) es una científica española especiali…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يونيو 2021) فلورين ساندو معلومات شخصية الميلاد 3 سبتمبر 1987 (العمر 36 سنة) الطول 1.73 م (5 قدم 8 بوصة) مركز اللعب ظهير  [لغات أخرى]‏  الجنسية رومانيا  مسيرة ال

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018)   لمعانٍ أخرى، طالع القبلة (توضيح). القبلة The Kiss معلومات الكتاب المؤلف دانيال ستيل البلد الولايات المت

Tobias Eisenhuth Personalia Geburtstag 21. September 2001 Geburtsort Berlin, Deutschland Größe 183 cm Position Mittelfeld Junioren Jahre Station 2004–2012 SV Union Bestensee 2013–2014 SC Eintracht Miersdorf/Zeuthen 2014–2015 1. FC Frankfurt 2015–2019 Energie Cottbus Herren Jahre Station Spiele (Tore)1 2019–2023 Energie Cottbus 101 (7) 2023– SSV Jahn Regensburg 13 (1) Nationalmannschaft Jahre Auswahl Spiele (Tore)2 2019 Deutschland U19 2 (0) 1 Angegeben sind nur Ligas…

1980 American pornographic film TabooFilm PosterDirected byKirdy StevensWritten byHelene TerrieProduced byHelene TerrieStarring Kay Parker Dorothy LeMay Mike Ranger Miko Yani Juliet Anderson CinematographyGuy NicholasEdited byKirdy StevensMusic byDon GreatProductioncompanyDart EnterprisesDistributed byGloff FilmsVCXStandard VideoAddictive EntertainmentMarc Dorcel ProductionsVinegar SyndromeAlpha Blue ArchivesRelease date March 7, 1980 (1980-03-07) (US)Running time86 min.CountryUni…

Naturally occurring organic poison This article is about naturally occurring organic poisons. For toxic substances that can be artificial or natural, see Toxicant. The Amanita muscaria mushroom, an iconic toxic mushroom. A toxin is a naturally occurring organic[dubious – discuss] poison[1] produced by metabolic activities of living cells or organisms.[2] They occur especially as proteins, often conjugated.[3] The term was first used by organic chemist L…

1995 song by Das EFX Microphone MasterCover art for the official remixSingle by Das EFXfrom the album Hold It Down ReleasedJanuary 30, 1996[1]GenreHip hopLength4:31LabelEast West RecordsSongwriter(s)Andre Weston, William Hines, Osten Harvey Jr.Producer(s)Easy Mo BeeDas EFX singles chronology Real Hip-Hop (1995) Microphone Master (1996) Rap Scholar (1998) Microphone Master is a song by American hip hop group Das EFX. It is the second single from their third studio album Hold It Down (1995…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يوليو 2019) توضح هذه المقارنة بين خدمات استضافة الويكي wiki البارزة عبر الإنترنت التي تستضيف صفحات ويب قابلة للتحرير على شكل صفحات ويكي . تتم مقارنة الخصائص العامة للتكلفة،…

The Georgian military ranks are the ranks and insignia currently in use by the Defense Forces of Georgia. In early 1990s, the Defence Forces of Georgia used a transitional system of ranks and insignia, which was based on the Soviet system, but with Georgian 7-petal stars instead of the Soviet 5-petal. Current ranks Commissioned officer ranks The rank insignia of commissioned officers. Rank group General / flag officers Senior officers Junior officers Officer cadet  Georgian Land Forces[…

Model or diagram describing interrelated things This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Entity–relationship model – news · newspapers · books · scholar · JSTOR (November 2016) (Learn how and when to remove this template message) An entity–attribute-relationship diagram for an MMORPG using Chen's not…

1999 film directed by K. S. Ravikumar Sneham KosamTheatrical posterDirected byK. S. RavikumarScreenplay byK. S. Ravikumar Dialogues byParuchuri Brothers Story byJyothi KrishnaBased onNatpukkagaProduced byA. M. RathnamStarringChiranjeeviMeenaCinematographyK. DatthuEdited byKola BhaskarMusic byS. A. RajkumarProductioncompanySri Surya MoviesRelease date1 January 1999CountryIndiaLanguageTelugu Sneham Kosam (transl. For friendship) is a 1999 Indian Telugu-language drama film produced by A. M. R…

German luxury car brand For other uses, see Maybach (disambiguation). MaybachTypeSubsidiary (GmbH)IndustryAutomotiveFounded1909FounderWilhelm MaybachDefunct1960 (bought by Daimler-Benz)2013 (as a standalone brand)Fate1960: bought by Daimler-Benz 2002: standalone brand 2015: Mercedes sub-brandSuccessorMercedes-MaybachHeadquartersStuttgart, GermanyProductsLuxury vehiclesParentMercedes-BenzWebsitemaybach.com Maybach (German: [ˈmaɪbax], MY-bokh)[1] is a German luxury car brand owne…

Dodge Ramcharger Общие данные Производитель Dodge Годы производства 1974—2001 Сборка Уоррен Сальтильо Класс SUV Иные обозначения Dodge Rhino Plymouth Trail Duster Дизайн и конструкция Тип кузова 2‑дв. SUV Компоновка переднемоторная, заднеприводная; переднемоторная, полноприводная Колёсная формула 4…

Colonia y Protectorado de KeniaColony and Protectorate of Kenya Colonia y protectorado 1920-1963BanderaEscudo Himno: God Save the Queen/Kingnoicon¿Problemas al reproducir este archivo? Localización de Kenia (en rojo) Kenia en 1952Capital NairobiEntidad Colonia y protectorado • País Reino UnidoIdioma oficial Inglés • Otros idiomas suajili, kikuyu, kamba, luo, gusii, meru, nandi-markwetaPoblación (1956)   • Total 6 200 000 hab.Superficie hist. …

Japanese actor Kanji Furutachi古舘寛治Born(1968-03-23)23 March 1968Sakai, Osaka, JapanOccupationActor Kanji Furutachi (Japanese: 古舘 寛治, Hepburn: Furutachi Kanji, born 23 March 1968 in Osaka) is a Japanese actor. Career Born in Sakai, Osaka, Furutachi traveled to New York in his twenties to study acting at the HB Studio under Uta Hagen.[1][2] Returning to Japan, he joined the Seinendan theatre troupe run by Oriza Hirata and the Sample theatre troupe run by Shū Matsui.…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 18.119.115.15