# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:21+0200\n" "PO-Revision-Date: 2026-05-20 18:44+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "core" msgstr "core" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-03-16" msgstr "16 مارس 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "core - core dump file" msgstr "core - ملف تفريغ النواة" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default action of certain signals is to cause a process to terminate and " "produce a I, a file containing an image of the process's " "memory at the time of termination. This image can be used in a debugger (e." "g., B(1)) to inspect the state of the program at the time that it " "terminated. A list of the signals which cause a process to dump core can be " "found in B(7)." msgstr "" "الإجراء المبدئي لبعض الإشارات هو إنهاء عملية وإنتاج I<ملف تفريغ النواة>، وهو " "ملف يحتوي على صورة لذاكرة العملية وقت الإنهاء. يمكن استخدام هذه الصورة في " "مصحح (مثل B(1)) لفحص حالة البرنامج وقت إنهائه. يمكن العثور على قائمة " "الإشارات التي تسبب تفريغ النواة في B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A process can set its soft B resource limit to place an upper " "limit on the size of the core dump file that will be produced if it receives " "a \"core dump\" signal; see B(2) for details." msgstr "" "يمكن لعملية تعيين حد الموارد الناعم B لوضع حد أعلى لحجم ملف " "تفريغ النواة الذي سينتج إذا تلقت إشارة \"تفريغ نواة\"؛ انظر B(2) " "للتفاصيل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There are various circumstances in which a core dump file is not produced:" msgstr "توجد ظروف مختلفة لا ينتج فيها ملف تفريغ النواة:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The process does not have permission to write the core file. (By default, " "the core file is called I or I, where I is the ID of " "the process that dumped core, and is created in the current working " "directory. See below for details on naming.) Writing the core file fails " "if the directory in which it is to be created is not writable, or if a file " "with the same name exists and is not writable or is not a regular file (e." "g., it is a directory or a symbolic link)." msgstr "" "لا تملك العملية صلاحية كتابة ملف النواة. (مبدئيًا، يسمى ملف النواة I أو " "I، حيث I هو معرف العملية التي فرغت النواة، ويُنشأ في دليل " "العمل الحالي. انظر أدناه لتفاصيل التسمية.) تفشل كتابة ملف النواة إذا كان " "الدليل الذي سينشأ فيه غير قابل للكتابة، أو إذا كان ملف بنفس الاسم موجودًا " "وغير قابل للكتابة أو ليس ملفًا عاديًا (مثل دليل أو رابط رمزي)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A (writable, regular) file with the same name as would be used for the core " "dump already exists, but there is more than one hard link to that file." msgstr "" "يوجد بالفعل ملف (قابل للكتابة، عادي) بنفس الاسم الذي سيستخدم لتفريغ النواة، " "ولكن يوجد أكثر من رابط صلب لذلك الملف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The filesystem where the core dump file would be created is full; or has run " "out of inodes; or is mounted read-only; or the user has reached their quota " "for the filesystem." msgstr "" "نظام الملفات حيث سينشأ ملف تفريغ النواة ممتلئ؛ أو نفدت عُقد الفهرس (inodes)؛ " "أو وُصل للقراءة فقط؛ أو بلغ المستخدم حصته لنظام الملفات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The directory in which the core dump file is to be created does not exist." msgstr "الدليل الذي سينشأ فيه ملف تفريغ النواة غير موجود." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B (core file size) or B (file size) resource " "limits for the process are set to zero; see B(2) and the " "documentation of the shell's I command (I in B(1)). " "However, B will be ignored if the system is configured to pipe " "core dumps to a program." msgstr "" "حدود الموارد B (حجم ملف النواة) أو B (حجم الملف) " "للعملية مضبوطة على صفر؛ انظر B(2) ووثائق أمر I للصدفة " "(I في B(1)). ومع ذلك، يُتجاهل B إذا كان النظام مهيأً " "لتوجيه تفريغات النواة عبر أنبوب إلى برنامج." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The binary being executed by the process does not have read permission " "enabled. (This is a security measure to ensure that an executable whose " "contents are not readable does not produce a\\[em]possibly " "readable\\[em]core dump containing an image of the executable.)" msgstr "" "لا يمتلك الثنائي الذي تنفذه العملية صلاحية قراءة مفعلة. (هذا إجراء أمني " "لضمان أن ملفًا تنفيذيًا محتوياته غير قابلة للقراءة لا ينتج تفريغ نواة\\[em]قد " "يكون قابلاً للقراءة\\[em]يحتوي على صورة للتنفيذي.)" #. FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable #. and PR_SET_DUMPABLE to this page? #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The process is executing a set-user-ID (set-group-ID) program that is owned " "by a user (group) other than the real user (group) ID of the process, or " "the process is executing a program that has file capabilities (see " "B(7)). (However, see the description of the B(2) " "B operation, and the description of the I file in B(5).)" msgstr "" "تنفذ العملية برنامج set-user-ID (set-group-ID) مملوك لمستخدم (مجموعة) غير " "معرف المستخدم (المجموعة) الحقيقي للعملية، أو تنفذ العملية برنامجًا لديه قدرات " "ملف (انظر B(7)). (ومع ذلك، انظر وصف عملية B(2) " "B، ووصف ملف I في B(5).)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is empty and I contains the value 0. (These files are described below.) " "Note that if I is empty and I contains the value 1, core dump files will have names " "of the form I<.pid>, and such files are hidden unless one uses the B(1) " "I<-a> option." msgstr "" "I فارغ و I " "يحتوي على القيمة 0. (هذه الملفات موصوفة أدناه.) لاحظ أنه إذا كان I فارغًا و I يحتوي على " "القيمة 1، فستكون أسماء ملفات تفريغ النواة بالصيغة I<.pid>، وهذه الملفات " "مخفية ما لم يستخدم المرء خيار B(1) I<-a>." #. commit 046d662f481830e652ac34cd112249adde16452a #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(Since Linux 3.7) The kernel was configured without the B " "option." msgstr "(منذ لينكس 3.7) هُيئت النواة بدون خيار B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition, a core dump may exclude part of the address space of the " "process if the B(2) B flag was employed." msgstr "" "بالإضافة إلى ذلك، قد يستبعد تفريغ النواة جزءًا من مساحة العناوين للعملية إذا " "استُخدم علم B(2) B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems that employ B(1) as the I framework, core dumps " "may instead be placed in a location determined by B(1). See below " "for further details." msgstr "" "على الأنظمة التي تستخدم B(1) كإطار I، قد تُوضع تفريغات النواة " "بدلاً من ذلك في موقع يحدده B(1). انظر أدناه لمزيد من التفاصيل." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Naming of core dump files" msgstr "تسمية ملفات تفريغ النواة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, a core dump file is named I, but the I file (since Linux 2.6 and 2.4.21) can be set to define a " "template that is used to name core dump files. The template can contain % " "specifiers which are substituted by the following values when a core file is " "created:" msgstr "" "مبدئيًا، يُسمى ملف تفريغ النواة I، ولكن يمكن ضبط ملف I (منذ لينكس 2.6 و 2.4.21) لتعريف قالب يُستخدم لتسمية ملفات تفريغ " "النواة. يمكن أن يحتوي القالب على محددات % تُستبدل بالقيم التالية عند إنشاء " "ملف نواة:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%%" msgstr "%%" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "A single % character." msgstr "حرف % واحد." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%c" msgstr "%c" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Core file size soft resource limit of crashing process (since Linux 2.6.24)." msgstr "حد الموارد الناعم لحجم ملف النواة للعملية المتعطلة (منذ لينكس 2.6.24)." #. type: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%C" msgstr "%C" #. commit 8603b6f58637ce196d68f7749633ea81af196d66 #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "CPU the task ran on (since Linux 6.2)." msgstr "وحدة المعالجة المركزية (CPU) التي شُغلت عليها المهمة (منذ لينكس 6.2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%d" msgstr "%d" #. Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Dump mode\\[em]same as value returned by B(2) B " "(since Linux 3.7)." msgstr "" "وضع التفريغ\\[em]نفس القيمة التي يعيدها B(2) B (منذ " "لينكس 3.7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%e" msgstr "%e" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The process or thread's I value, which typically is the same as the " "executable filename (without path prefix, and truncated to a maximum of 15 " "characters), but may have been modified to be something different; see the " "discussion of IpidI and IpidItidI in " "B(5)." msgstr "" "قيمة I للعملية أو الخيط، والتي تكون عادةً نفس اسم الملف التنفيذي (بدون " "بادئة المسار، ومقتطعة إلى حد أقصى 15 حرفًا)، ولكن قد تم تعديلها لتصبح شيئًا " "مختلفًا؛ انظر مناقشة IpidI و IpidItidI " "في B(5)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%E" msgstr "%E" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Pathname of executable, with slashes (\\[aq]/\\[aq]) replaced by exclamation " "marks (\\[aq]!\\[aq]) (since Linux 3.0)." msgstr "" "اسم مسار الملف التنفيذي، مع استبدال الشرطات المائلة (\\[aq]/\\[aq]) بعلامات " "تعجب (\\[aq]!\\[aq]) (منذ لينكس 3.0)." #. type: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%f" msgstr "%f" #. commit f38c85f1ba6902e4e2e2bf1b84edf065a904cdeb #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Actual filename of executable, which may differ from %e (since Linux 5.9)." msgstr "اسم الملف الفعلي للملف التنفيذي، والذي قد يختلف عن %e (منذ لينكس 5.9)." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "%F" msgstr "%F" #. commit b5325b2a270fcaf7b2a9a0f23d422ca8a5a8bdea #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "PIDFD of dumped process (since Linux 6.16)." msgstr "PIDFD للعملية المفرغة (منذ لينكس 6.16)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%g" msgstr "%g" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Numeric real GID of dumped process." msgstr "GID الحقيقي العددي للعملية المفرغة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%h" msgstr "%h" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Hostname (same as I returned by B(2))." msgstr "اسم المضيف (نفس I الذي يعيده B(2))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%i" msgstr "%i" #. commit b03023ecbdb76c1dec86b41ed80b123c22783220 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "TID of thread that triggered core dump, as seen in the PID namespace in " "which the thread resides (since Linux 3.18)." msgstr "" "TID للخيط الذي تسبب في تفريغ النواة، كما يُرى في مساحة أسماء PID التي يقيم " "فيها الخيط (منذ لينكس 3.18)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%I" msgstr "%I" #. commit b03023ecbdb76c1dec86b41ed80b123c22783220 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "TID of thread that triggered core dump, as seen in the initial PID namespace " "(since Linux 3.18)." msgstr "" "TID للخيط الذي تسبب في تفريغ النواة، كما يُرى في مساحة أسماء PID الأولية (منذ " "لينكس 3.18)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%p" msgstr "%p" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "PID of dumped process, as seen in the PID namespace in which the process " "resides." msgstr "" "PID للعملية المفرغة، كما يُرى في مساحة أسماء PID التي تقيم فيها العملية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%P" msgstr "%P" #. Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "PID of dumped process, as seen in the initial PID namespace (since Linux " "3.12)." msgstr "" "PID للعملية المفرغة، كما يُرى في مساحة أسماء PID الأولية (منذ لينكس 3.12)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%s" msgstr "%s" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Number of signal causing dump." msgstr "رقم الإشارة المسببة للتفريغ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%t" msgstr "%t" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 " "+0000 (UTC)." msgstr "" "وقت التفريغ، معبرًا عنه بالثواني منذ الحقبة، 1970-01-01 00:00:00 +0000 (UTC)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "%u" msgstr "%u" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Numeric real UID of dumped process." msgstr "UID الحقيقي العددي للعملية المفرغة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A single % at the end of the template is dropped from the core filename, as " "is the combination of a % followed by any character other than those listed " "above. All other characters in the template become a literal part of the " "core filename. The template may include \\[aq]/\\[aq] characters, which are " "interpreted as delimiters for directory names. The maximum size of the " "resulting core filename is 128 bytes (64 bytes before Linux 2.6.19). The " "default value in this file is \"core\". For backward compatibility, if I does not include I<%p> and I (see below) is nonzero, then .PID will be appended to the " "core filename." msgstr "" "يتم إسقاط علامة % واحدة في نهاية القالب من اسم ملف النواة، وكذلك تركيبة % " "متبوعة بأي حرف غير تلك المذكورة أعلاه. تصبح جميع الأحرف الأخرى في القالب " "جزءًا حرفيًا من اسم ملف النواة. قد يتضمن القالب أحرف \\[aq]/\\[aq]، والتي تُفسر " "كمحددات لأسماء الدلائل. الحجم الأقصى لاسم ملف النواة الناتج هو 128 بايت (64 " "بايت قبل لينكس 2.6.19). القيمة المبدئية في هذا الملف هي \"core\". للتوافق مع " "الإصدارات السابقة، إذا كان I لا يتضمن I<%p> " "وكان I (انظر أدناه) غير صفري، فسيتم إلحاق ." "PID باسم ملف النواة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Paths are interpreted according to the settings that are active for the " "crashing process. That means the crashing process's mount namespace (see " "B(7)), its current working directory (found via " "B(2)), and its root directory (see B(2))." msgstr "" "تُفسر المسارات وفقًا للإعدادات النشطة للعملية المتعطلة. هذا يعني مساحة أسماء " "الوصل للعملية المتعطلة (انظر B(7))، ودليل العمل الحالي " "الخاص بها (الموجود عبر B(2))، ودليلها الجذر (انظر B(2))." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.4, Linux has also provided a more primitive method of " "controlling the name of the core dump file. If the I file contains the value 0, then a core dump file is simply " "named I. If this file contains a nonzero value, then the core dump " "file includes the process ID in a name of the form I." msgstr "" "منذ لينكس 2.4، وفر لينكس أيضًا طريقة أكثر بدائية للتحكم في اسم ملف تفريغ " "النواة. إذا كان الملف I يحتوي على القيمة 0، " "فسيتم تسمية ملف تفريغ النواة ببساطة I. إذا كان هذا الملف يحتوي على " "قيمة غير صفرية، فسيشمل ملف تفريغ النواة معرف العملية في اسم بالشكل I." #. 9520628e8ceb69fa9a4aee6b57f22675d9e1b709 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 3.6, if I is set to 2 " "(\"suidsafe\"), the pattern must be either an absolute pathname (starting " "with a leading \\[aq]/\\[aq] character) or a pipe, as defined below." msgstr "" "منذ لينكس 3.6، إذا تم تعيين I إلى 2 " "(\"suidsafe\")، فيجب أن يكون النمط إما اسم مسار مطلق (يبدأ بحرف \\[aq]/" "\\[aq] بادئ) أو أنبوب، كما هو معرف أدناه." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Piping core dumps to a program" msgstr "توجيه تفريغات النواة إلى برنامج عبر الأنبوب" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Since Linux 2.6.19, Linux supports an alternate syntax for the I file. If the first character of this file is a pipe " "symbol (I<|>), then the remainder of the line is interpreted as the command-" "line for a user-space program (or script) that is to be executed." msgstr "" "منذ لينكس 2.6.19، يدعم لينكس صيغة بديلة لملف I. إذا كان الحرف الأول من هذا الملف هو رمز أنبوب (I<|>)، فسيتم " "تفسير باقي السطر كسطر أوامر لبرنامج (أو سكريبت) في مساحة المستخدم سيتم " "تنفيذه." #. commit 315c69261dd3fa12dbc830d4fa00d1fad98d3b03 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 5.3.0, the pipe template is split on spaces into an argument " "list I the template parameters are expanded. In earlier kernels, " "the template parameters are expanded first and the resulting string is split " "on spaces into an argument list. This means that in earlier kernels " "executable names added by the I<%e> and I<%E> template parameters could get " "split into multiple arguments. So the core dump handler needs to put the " "executable names as the last argument and ensure it joins all parts of the " "executable name using spaces. Executable names with multiple spaces in them " "are not correctly represented in earlier kernels, meaning that the core dump " "handler needs to use mechanisms to find the executable name." msgstr "" "منذ لينكس 5.3.0، يُقسّم قالب الأنبوب على المسافات إلى قائمة وسائط I<قبل> توسيع " "معاملات القالب. في النوى الأقدم، تُوسّع معاملات القالب أولاً ويُقسّم السلسلة " "الناتجة على المسافات إلى قائمة وسائط. هذا يعني أنه في النوى الأقدم، يمكن " "لأسماء الملفات القابلة للتنفيذ المضافة بواسطة معاملات القالب I<%e> و I<%E> " "أن تُقسّم إلى وسائط متعددة. لذا يحتاج معالج تفريغ النواة إلى وضع أسماء " "الملفات القابلة للتنفيذ كآخر وسيطة وضمان ربط جميع أجزاء اسم الملف القابل " "للتنفيذ باستخدام المسافات. أسماء الملفات القابلة للتنفيذ ذات المسافات " "المتعددة لا تُعرض بشكل صحيح في النوى الأقدم، مما يعني أن معالج تفريغ النواة " "يحتاج إلى استخدام آليات للعثور على اسم الملف القابل للتنفيذ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Instead of being written to a file, the core dump is given as standard input " "to the program. Note the following points:" msgstr "" "بدلاً من كتابته إلى ملف، يُعطى تفريغ النواة كمدخل قياسي للبرنامج. لاحظ النقاط " "التالية:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program must be specified using an absolute pathname (or a pathname " "relative to the root directory, I), and must immediately follow the '|' " "character." msgstr "" "يجب تحديد البرنامج باستخدام مسار مطلق (أو مسار نسبي إلى الدليل الجذر، I)، " "ويجب أن يتبع فوراً الحرف '|'." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The command-line arguments can include any of the % specifiers listed " "above. For example, to pass the PID of the process that is being dumped, " "specify I<%p> in an argument." msgstr "" "يمكن أن تتضمن وسائط سطر الأوامر أيًا من محددات % المذكورة أعلاه. على سبيل " "المثال، لتمرير PID العملية التي يجري تفريغها، حدد I<%p> في وسيطة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The process created to run the program runs as user and group I." msgstr "العملية المنشأة لتشغيل البرنامج تعمل كمستخدم ومجموعة I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Running as I does not confer any exceptional security bypasses. " "Namely, LSMs (e.g., SELinux) are still active and may prevent the handler " "from accessing details about the crashed process via Ipid." msgstr "" "التشغيل كـ I لا يمنح أي تجاوزات أمنية استثنائية. أي أن LSMs (مثل " "SELinux) لا تزال نشطة وقد تمنع المعالج من الوصول إلى تفاصيل حول العملية " "المنهارة عبر Ipid." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program pathname is interpreted with respect to the initial mount " "namespace as it is always executed there. It is not affected by the " "settings (e.g., root directory, mount namespace, current working directory) " "of the crashing process." msgstr "" "يُفسّر مسار البرنامج بالنسبة لمساحة أسماء الوصل الأولية حيث يُنفّذ دائمًا هناك. " "لا يتأثر بإعدادات (مثل الدليل الجذر، مساحة أسماء الوصل، دليل العمل الحالي) " "العملية المنهارة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The process runs in the initial namespaces (PID, mount, user, and so on) " "and not in the namespaces of the crashing process. One can utilize " "specifiers such as I<%P> to find the right Ipid directory and probe/" "enter the crashing process's namespaces if needed." msgstr "" "تعمل العملية في مساحات الأسماء الأولية (PID، الوصل، المستخدم، وهكذا) وليس في " "مساحات أسماء العملية المنهارة. يمكن استخدام محددات مثل I<%P> للعثور على " "دليل Ipid الصحيح واستكشاف/الدخول إلى مساحات أسماء العملية المنهارة " "إذا لزم الأمر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The process starts with its current working directory as the root " "directory. If desired, it is possible change to the working directory of " "the dumping process by employing the value provided by the I<%P> specifier " "to change to the location of the dumping process via IpidI." msgstr "" "تبدأ العملية بدليل عملها الحالي كدليل جذر. إذا رغبت، يمكن تغيير دليل العمل " "لعملية التفريغ باستخدام القيمة المقدمة من المحدد I<%P> للتغيير إلى موقع " "عملية التفريغ عبر IpidI." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Command-line arguments can be supplied to the program (since Linux 2.6.24), " "delimited by white space (up to a total line length of 128 bytes)." msgstr "" "يمكن توفير وسائط سطر الأوامر للبرنامج (منذ لينكس 2.6.24)، محددة بمسافات " "بيضاء (حتى طول سطر إجمالي يبلغ 128 بايت)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B limit is not enforced for core dumps that are piped to a " "program via this mechanism." msgstr "" "لا يُطبّق حد B على تفريغات النواة التي تُنقل عبر أنبوب إلى برنامج " "عبر هذه الآلية." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "/proc/sys/kernel/core_pipe_limit" msgstr "/proc/sys/kernel/core_pipe_limit" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When collecting core dumps via a pipe to a user-space program, it can be " "useful for the collecting program to gather data about the crashing process " "from that process's Ipid directory. In order to do this safely, the " "kernel must wait for the program collecting the core dump to exit, so as not " "to remove the crashing process's Ipid files prematurely. This in " "turn creates the possibility that a misbehaving collecting program can block " "the reaping of a crashed process by simply never exiting." msgstr "" "عند جمع تفريغات النواة عبر أنبوب إلى برنامج مساحة المستخدم، قد يكون من " "المفيد لبرنامج الجمع جمع بيانات حول العملية المنهارة من دليل Ipid " "لتلك العملية. للقيام بذلك بأمان، يجب أن تنتظر النواة حتى يخرج برنامج جمع " "تفريغ النواة، حتى لا تُزال ملفات Ipid للعملية المنهارة قبل الأوان. " "وهذا بدوره يخلق إمكانية أن برنامج جمع سيئ السلوك يمكنه منع استرداد عملية " "منهارة بمجرد عدم الخروج أبدًا." #. commit a293980c2e261bd5b0d2a77340dd04f684caff58 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.32, the I can be used to " "defend against this possibility. The value in this file defines how many " "concurrent crashing processes may be piped to user-space programs in " "parallel. If this value is exceeded, then those crashing processes above " "this value are noted in the kernel log and their core dumps are skipped." msgstr "" "منذ لينكس 2.6.32، يمكن استخدام I للدفاع ضد " "هذا الاحتمال. تحدد القيمة في هذا الملف عدد العمليات المنهارة المتزامنة التي " "يمكن نقلها عبر أنبوب إلى برامج مساحة المستخدم بالتوازي. إذا تجاوزت هذه " "القيمة، فإن تلك العمليات المنهارة فوق هذه القيمة تُسجل في سجل النواة ويُتخطى " "تفريغات نواتها." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A value of 0 in this file is special. It indicates that unlimited processes " "may be captured in parallel, but that no waiting will take place (i.e., the " "collecting program is not guaranteed access to Icrashing-" "PIDE>). The default value for this file is 0." msgstr "" "القيمة 0 في هذا الملف خاصة. تشير إلى أنه يمكن التقاط عمليات غير محدودة " "بالتوازي، ولكن لن يحدث أي انتظار (أي أن برنامج الجمع غير مضمون الوصول إلى Icrashing-PIDE>). القيمة المبدئية لهذا الملف هي 0." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Controlling which mappings are written to the core dump" msgstr "التحكم في أي تعيينات تُكتب إلى تفريغ النواة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 2.6.23, the Linux-specific IpidI file " "can be used to control which memory segments are written to the core dump " "file in the event that a core dump is performed for the process with the " "corresponding process ID." msgstr "" "منذ لينكس 2.6.23، يمكن استخدام الملف الخاص بلينكس IpidI للتحكم في أي قطاعات ذاكرة تُكتب إلى ملف تفريغ النواة في حالة " "تنفيذ تفريغ نواة للعملية بمعرف العملية المقابل." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The value in the file is a bit mask of memory mapping types (see " "B(2)). If a bit is set in the mask, then memory mappings of the " "corresponding type are dumped; otherwise, they are not dumped. The bits in " "this file have the following meanings:" msgstr "" "القيمة في الملف هي قناع بت لأنواع تعيين الذاكرة (انظر B(2)). إذا تم " "تعيين بت في القناع، فإن تعيينات الذاكرة من النوع المقابل تُفرّغ؛ وإلا، لا " "تُفرّغ. للبتات في هذا الملف المعاني التالية:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 0" msgstr "bit 0" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump anonymous private mappings." msgstr "افرغ تعيينات خاصة مجهولة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 1" msgstr "bit 1" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump anonymous shared mappings." msgstr "افرغ تعيينات مشتركة مجهولة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 2" msgstr "bit 2" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump file-backed private mappings." msgstr "افرغ تعيينات خاصة مدعومة بملفات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 3" msgstr "bit 3" #. file-backed shared mappings of course also update the underlying #. mapped file. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump file-backed shared mappings." msgstr "تفريغ التعيينات المشتركة المدعومة بالملفات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 4 (since Linux 2.6.24)" msgstr "bit 4 (منذ لينكس 2.6.24)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump ELF headers." msgstr "تفريغ رؤوس ELF." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 5 (since Linux 2.6.28)" msgstr "bit 5 (منذ لينكس 2.6.28)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump private huge pages." msgstr "تفريغ الصفحات الضخمة الخاصة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 6 (since Linux 2.6.28)" msgstr "bit 6 (منذ لينكس 2.6.28)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump shared huge pages." msgstr "تفريغ الصفحات الضخمة المشتركة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 7 (since Linux 4.4)" msgstr "bit 7 (منذ لينكس 4.4)" #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump private DAX pages." msgstr "تفريغ صفحات DAX الخاصة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "bit 8 (since Linux 4.4)" msgstr "bit 8 (منذ لينكس 4.4)" #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Dump shared DAX pages." msgstr "تفريغ صفحات DAX المشتركة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, the following bits are set: 0, 1, 4 (if the " "B kernel configuration option is " "enabled), and 5. This default can be modified at boot time using the " "I boot option." msgstr "" "مبدئيًا، تُعيّن البتات التالية: 0، 1، 4 (إذا كان خيار تهيئة النواة " "B مفعّلاً)، و5. يمكن تعديل هذا المبدئي " "عند الإقلاع باستخدام خيار الإقلاع I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value of this file is displayed in hexadecimal. (The default value is " "thus displayed as 33.)" msgstr "" "تُعرض قيمة هذا الملف بالنظام الست عشري. (وبالتالي تُعرض القيمة المبدئية كـ 33.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual " "DSO (B(7)) pages are always dumped, regardless of the " "I value." msgstr "" "لا تُفرّغ صفحات الإدخال/الإخراج المعيّنة بالذاكرة مثل مخزن الإطار أبدًا، وتُفرّغ " "صفحات DSO الافتراضية (B(7)) دائمًا، بغض النظر عن قيمة " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A child process created via B(2) inherits its parent's " "I value; the I value is preserved across " "an B(2)." msgstr "" "ترث عملية فرعية منشأة عبر B(2) قيمة I الخاصة بعملية " "الأب؛ تُحفظ قيمة I عبر B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It can be useful to set I in the parent shell before " "running a program, for example:" msgstr "" "قد يكون من المفيد تعيين I في الصدفة الأب قبل تشغيل برنامج، " "على سبيل المثال:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< echo 0x7 E /proc/self/coredump_filter>\n" "$B< ./some_program>\n" msgstr "" "$B< echo 0x7 E /proc/self/coredump_filter>\n" "$B< ./some_program>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This file is provided only if the kernel was built with the " "B configuration option." msgstr "يُوفّر هذا الملف فقط إذا بُنيت النواة مع خيار التهيئة B." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Core dumps and systemd" msgstr "تفريغات النواة وsystemd" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On systems using the B(1) I framework, core dumps may be " "placed in a location determined by B(1). To do this, " "B(1) employs the I feature that allows piping core " "dumps to a program. One can verify this by checking whether core dumps are " "being piped to the B(8) program:" msgstr "" "على الأنظمة التي تستخدم إطار I الخاص بـ B(1)، قد تُوضع تفريغات " "النواة في موقع تحدده B(1). لفعل ذلك، تستخدم B(1) ميزة " "I التي تسمح بتوجيه تفريغات النواة إلى برنامج. يمكن التحقق من " "ذلك بفحص ما إذا كانت تفريغات النواة تُوجّه إلى برنامج B(8):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< cat /proc/sys/kernel/core_pattern>;\n" "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n" msgstr "" "$B< cat /proc/sys/kernel/core_pattern>;\n" "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In this case, core dumps will be placed in the location configured for " "B(8), typically as B(1) compressed files in the " "directory I. One can list the core dumps that " "have been recorded by B(8) using B(1):" msgstr "" "في هذه الحالة، تُوضع تفريغات النواة في الموقع المكوّن لـ B(8)، عادةً كملفات مضغوطة بـ B(1) في الدليل I. يمكن سرد تفريغات النواة التي سُجّلت بواسطة B(8) " "باستخدام B(1):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< coredumpctl list | tail -5>;\n" "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n" "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n" msgstr "" "$B< coredumpctl list | tail -5>;\n" "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n" "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The information shown for each core dump includes the date and time of the " "dump, the PID, UID, and GID of the dumping process, the signal number that " "caused the core dump, and the pathname of the executable that was being run " "by the dumped process. Various options to B(1) allow a " "specified coredump file to be pulled from the B(1) location into a " "specified file. For example, to extract the core dump for PID 2955 shown " "above to a file named I in the current directory, one could use:" msgstr "" "تتضمن المعلومات المعروضة لكل تفريغ نواة تاريخ ووقت التفريغ، ومعرف العملية " "(PID)، ومعرف المستخدم (UID)، ومعرف المجموعة (GID) لعملية التفريغ، ورقم " "الإشارة التي سببت تفريغ النواة، واسم مسار الملف القابل للتنفيذ الذي كانت " "تشغله العملية المُفرّغة. تسمح الخيارات المختلفة لـ B(1) بسحب ملف " "تفريغ نواة محدد من موقع B(1) إلى ملف محدد. على سبيل المثال، " "لاستخراج تفريغ النواة لمعرف العملية 2955 الموضح أعلاه إلى ملف باسم I " "في الدليل الحالي، يمكن استخدام:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "$B< coredumpctl dump 2955 -o core>;\n" msgstr "$B< coredumpctl dump 2955 -o core>;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "For more extensive details, see the B(1) manual page." msgstr "للحصول على تفاصيل أكثر شمولاً، راجع صفحة الدليل B(1)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To (persistently) disable the B(1) mechanism that archives core " "dumps, restoring to something more like traditional Linux behavior, one can " "set an override for the B(1) mechanism, using something like:" msgstr "" "لتعطيل آلية B(1) التي تؤرشف تفريغات النواة (بشكل دائم)، واستعادة " "سلوك أقرب إلى سلوك Linux التقليدي، يمكن تعيين تجاوز لآلية B(1) " "باستخدام شيء مثل:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#B< echo \\[dq]kernel.core_pattern=core.%p\\[dq] E \\[rs]>;\n" " \\f[B]/etc/sysctl.d/50-coredump.conf\\fR\n" "#B< /lib/systemd/systemd-sysctl>;\n" msgstr "" "#B< echo \\[dq]kernel.core_pattern=core.%p\\[dq] E \\[rs]>;\n" " \\f[B]/etc/sysctl.d/50-coredump.conf\\fR\n" "#B< /lib/systemd/systemd-sysctl>;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It is also possible to temporarily (i.e., until the next reboot) change the " "I setting using a command such as the following (which causes " "the names of core dump files to include the executable name as well as the " "number of the signal which triggered the core dump):" msgstr "" "من الممكن أيضًا تغيير إعداد I مؤقتًا (أي حتى إعادة الإقلاع " "التالية) باستخدام أمر مثل التالي (مما يجعل أسماء ملفات تفريغ النواة تتضمن " "اسم الملف القابل للتنفيذ بالإضافة إلى رقم الإشارة التي سببت تفريغ النواة):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "#B< sysctl -w kernel.core_pattern=\\[dq]%e-%s.core\\[dq]>;\n" msgstr "#B< sysctl -w kernel.core_pattern=\\[dq]%e-%s.core\\[dq]>;\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B(1) I command can be used to obtain a core dump of a " "running process." msgstr "" "يمكن استخدام أمر B(1) I للحصول على تفريغ نواة لعملية قيد التشغيل." #. #-#-#-#-# archlinux: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# debian-trixie: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# debian-unstable: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# fedora-44: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# fedora-rawhide: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# mageia-cauldron: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: core.5.pot (PACKAGE VERSION) #-#-#-#-# #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922 #. Always including the PID in the name of the core file made #. sense for LinuxThreads, where each thread had a unique PID, #. but doesn't seem to serve any purpose with NPTL, where all the #. threads in a process share the same PID (as POSIX.1 requires). #. Probably the behavior is maintained so that applications using #. LinuxThreads continue appending the PID (the kernel has no easy #. way of telling which threading implementation the user-space #. application is using). -- mtk, April 2006 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In Linux versions up to and including 2.6.27, if a multithreaded process " "(or, more precisely, a process that shares its memory with another process " "by being created with the B flag of B(2)) dumps core, then " "the process ID is always appended to the core filename, unless the process " "ID was already included elsewhere in the filename via a I<%p> specification " "in I. (This is primarily useful when " "employing the obsolete LinuxThreads implementation, where each thread of a " "process has a different PID.)" msgstr "" "في إصدارات لينكس حتى الإصدار 2.6.27، إذا قامت عملية متعددة الخيوط (أو بشكل " "أدق، عملية تشارك ذاكرتها مع عملية أخرى عن طريق إنشائها باستخدام علامة " "B من B(2)) بتفريغ النواة، فإن معرف العملية يُلحق دائمًا باسم " "ملف النواة، ما لم يكن معرف العملية مضمنًا بالفعل في مكان آخر من اسم الملف عبر " "مواصفة I<%p> في I. (هذا مفيد بشكل أساسي عند " "استخدام تطبيق LinuxThreads القديم، حيث يكون لكل خيط من العملية معرف عملية " "مختلف.)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The program below can be used to demonstrate the use of the pipe syntax in " "the I file. The following shell session " "demonstrates the use of this program (compiled to create an executable named " "I):" msgstr "" "يمكن استخدام البرنامج أدناه لتوضيح استخدام صيغة الأنبوب في ملف I. توضح جلسة الصدفة التالية استخدام هذا البرنامج (المُجمّع " "لإنشاء ملف تنفيذي باسم I):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n" "$B< su>\n" "Password:\n" "#B< echo \\[dq]|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\\[dq] E \\[rs]>\n" "B\n" "#B< exit>\n" "$B< sleep 100>\n" "B<\\[ha]\\[rs]> # type control-backslash\n" "Quit (core dumped)\n" "$B< cat core.info>\n" "argc=5\n" "argc[0]=E/home/mtk/core_pattern_pipe_testE\n" "argc[1]=E20575E\n" "argc[2]=EUID=1000E\n" "argc[3]=EGID=100E\n" "argc[4]=Esig=3E\n" "Total bytes in core dump: 282624\n" msgstr "" "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n" "$B< su>\n" "Password:\n" "#B< echo \\[dq]|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\\[dq] E \\[rs]>\n" "B\n" "#B< exit>\n" "$B< sleep 100>\n" "B<\\[ha]\\[rs]> # type control-backslash\n" "Quit (core dumped)\n" "$B< cat core.info>\n" "argc=5\n" "argc[0]=E/home/mtk/core_pattern_pipe_testE\n" "argc[1]=E20575E\n" "argc[2]=EUID=1000E\n" "argc[3]=EGID=100E\n" "argc[4]=Esig=3E\n" "Total bytes in core dump: 282624\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "/* core_pattern_pipe_test.c */\n" "\\&\n" "#define _GNU_SOURCE\n" "#include Esys/stat.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BUF_SIZE 1024\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " ssize_t nread, tot;\n" " char buf[BUF_SIZE];\n" " FILE *fp;\n" " char cwd[PATH_MAX];\n" "\\&\n" " /* Change our current working directory to that of the\n" " crashing process. */\n" "\\&\n" " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n" " chdir(cwd);\n" "\\&\n" " /* Write output to file \"core.info\" in that directory. */\n" "\\&\n" " fp = fopen(\"core.info\", \"w+\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " /* Display command-line arguments given to core_pattern\n" " pipe program. */\n" "\\&\n" " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n" " for (size_t j = 0; j E argc; j++)\n" " fprintf(fp, \"argc[%zu]=E%sE\\[rs]n\", j, argv[j]);\n" "\\&\n" " /* Count bytes in standard input (the core dump). */\n" "\\&\n" " tot = 0;\n" " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E 0)\n" " tot += nread;\n" " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n" "\\&\n" " fclose(fp);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* core_pattern_pipe_test.c */\n" "\\&\n" "#define _GNU_SOURCE\n" "#include Esys/stat.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BUF_SIZE 1024\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " ssize_t nread, tot;\n" " char buf[BUF_SIZE];\n" " FILE *fp;\n" " char cwd[PATH_MAX];\n" "\\&\n" " /* Change our current working directory to that of the\n" " crashing process. */\n" "\\&\n" " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n" " chdir(cwd);\n" "\\&\n" " /* Write output to file \"core.info\" in that directory. */\n" "\\&\n" " fp = fopen(\"core.info\", \"w+\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " /* Display command-line arguments given to core_pattern\n" " pipe program. */\n" "\\&\n" " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n" " for (size_t j = 0; j E argc; j++)\n" " fprintf(fp, \"argc[%zu]=E%sE\\[rs]n\", j, argv[j]);\n" "\\&\n" " /* Count bytes in standard input (the core dump). */\n" "\\&\n" " tot = 0;\n" " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E 0)\n" " tot += nread;\n" " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n" "\\&\n" " fclose(fp);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(1), B(1), B(1), B(2), B(2), " "B(2), B(2), B(5), B(5), B(7), " "B(7), B(8)" msgstr "" "B(1), B(1), B(1), B(2), B(2), " "B(2), B(2), B(5), B(5), B(7), " "B(7), B(8)" #. type: TH #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Since Linux 2.6.19, Linux supports an alternate syntax for the I file. If the first character of this file is a pipe " "symbol (B<|>), then the remainder of the line is interpreted as the command-" "line for a user-space program (or script) that is to be executed." msgstr "" "منذ لينكس 2.6.19، يدعم لينكس صيغة بديلة لملف I. إذا كان الحرف الأول من هذا الملف هو رمز أنبوب (B<|>)، فإن " "باقي السطر يُفسر كسطر أوامر لبرنامج (أو سكريبت) في مساحة المستخدم سيتم تنفيذه." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The value in the file is a bit mask of memory mapping types (see " "B(2)). If a bit is set in the mask, then memory mappings of the " "corresponding type are dumped; otherwise they are not dumped. The bits in " "this file have the following meanings:" msgstr "" "القيمة في الملف هي قناع بت لأنواع تعيين الذاكرة (انظر B(2)). إذا تم " "تعيين بت في القناع، فإن تعيينات الذاكرة من النوع المقابل تُفرغ؛ وإلا فإنها لا " "تُفرغ. للبتات في هذا الملف المعاني التالية:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n" msgstr "" "$ B\n" "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n" "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n" msgstr "" "$ B\n" "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n" "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n" "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "$ B\n" msgstr "$ B\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "# B \\[rs]>\n" " B\n" "# B\n" msgstr "" "# B \\[rs]>\n" " B\n" "# B\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "# B\n" msgstr "# B\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "/* core_pattern_pipe_test.c */\n" "\\&\n" "#define _GNU_SOURCE\n" "#include Esys/stat.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BUF_SIZE 1024\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " ssize_t nread, tot;\n" " char buf[BUF_SIZE];\n" " FILE *fp;\n" " char cwd[PATH_MAX];\n" "\\&\n" " /* Change our current working directory to that of the\n" " crashing process. */\n" "\\&\n" " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n" " chdir(cwd);\n" "\\&\n" " /* Write output to file \"core.info\" in that directory. */\n" "\\&\n" " fp = fopen(\"core.info\", \"w+\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " /* Display command-line arguments given to core_pattern\n" " pipe program. */\n" "\\&\n" " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n" " for (size_t j = 0; j E argc; j++)\n" " fprintf(fp, \"argc[%zu]=E%sE\\[rs]n\", j, argv[j]);\n" "\\&\n" " /* Count bytes in standard input (the core dump). */\n" "\\&\n" " tot = 0;\n" " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E 0)\n" " tot += nread;\n" " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n" "\\&\n" " fclose(fp);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* core_pattern_pipe_test.c */\n" "\\&\n" "#define _GNU_SOURCE\n" "#include Esys/stat.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Eunistd.hE\n" "\\&\n" "#define BUF_SIZE 1024\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " ssize_t nread, tot;\n" " char buf[BUF_SIZE];\n" " FILE *fp;\n" " char cwd[PATH_MAX];\n" "\\&\n" " /* Change our current working directory to that of the\n" " crashing process. */\n" "\\&\n" " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n" " chdir(cwd);\n" "\\&\n" " /* Write output to file \"core.info\" in that directory. */\n" "\\&\n" " fp = fopen(\"core.info\", \"w+\");\n" " if (fp == NULL)\n" " exit(EXIT_FAILURE);\n" "\\&\n" " /* Display command-line arguments given to core_pattern\n" " pipe program. */\n" "\\&\n" " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n" " for (size_t j = 0; j E argc; j++)\n" " fprintf(fp, \"argc[%zu]=E%sE\\[rs]n\", j, argv[j]);\n" "\\&\n" " /* Count bytes in standard input (the core dump). */\n" "\\&\n" " tot = 0;\n" " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E 0)\n" " tot += nread;\n" " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n" "\\&\n" " fclose(fp);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"