Debian Codegraph @

po/ar/man2/getcpu.2.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:15+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "getcpu"
25 msgstr "getcpu"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid ""
51 "getcpu - determine CPU and NUMA node on which the calling thread is running"
52 msgstr ""
53 "getcpu - تحديد وحدة المعالجة المركزية وعقدة NUMA التي يعمل عليها الخيط "
54 "المستدعي"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "المكتبة"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "موجز"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid ""
81 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
82 "B<#include E<lt>sched.hE<gt>>\n"
83 msgstr ""
84 "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n"
85 "B<#include E<lt>sched.hE<gt>>\n"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "B<int getcpu(unsigned int *_Nullable >I<cpu>B<, unsigned int *_Nullable >I<node>B<);>\n"
92 msgstr "B<int getcpu(unsigned int *_Nullable >I<cpu>B<, unsigned int *_Nullable >I<node>B<);>\n"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "الوصف"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "The B<getcpu>() system call identifies the processor and node on which the "
106 "calling thread or process is currently running and writes them into the "
107 "integers pointed to by the I<cpu> and I<node> arguments. The processor is a "
108 "unique small integer identifying a CPU. The node is a unique small "
109 "identifier identifying a NUMA node. When either I<cpu> or I<node> is NULL "
110 "nothing is written to the respective pointer."
111 msgstr ""
112 "استدعاء النظام B<getcpu>() يحدد المعالج والعقدة التي يعمل عليها الخيط أو "
113 "العملية المستدعية حاليًا ويكتبهما في الأعداد الصحيحة المشار إليها بواسطة "
114 "الوسيطتين I<cpu> و I<node>. المعالج هو عدد صحيح صغير فريد يعرّف وحدة المعالجة "
115 "المركزية. العقدة هي معرّف صغير فريد يعرّف عقدة NUMA. عندما تكون أي من I<cpu> "
116 "أو I<node> NULL، لا يُكتب شيء إلى المؤشر المعني."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The information placed in I<cpu> is guaranteed to be current only at the "
123 "time of the call: unless the CPU affinity has been fixed using "
124 "B<sched_setaffinity>(2), the kernel might change the CPU at any time. "
125 "(Normally this does not happen because the scheduler tries to minimize "
126 "movements between CPUs to keep caches hot, but it is possible.) The caller "
127 "must allow for the possibility that the information returned in I<cpu> and "
128 "I<node> is no longer current by the time the call returns."
129 msgstr ""
130 "المعلومات الموضوعة في I<cpu> مضمونة لتكون حديثة فقط في وقت الاستدعاء: ما لم "
131 "يتم تثبيت تقارب وحدة المعالجة المركزية باستخدام B<sched_setaffinity>(2)، قد "
132 "يغير النواة وحدة المعالجة المركزية في أي وقت. (عادةً لا يحدث هذا لأن المجدول "
133 "يحاول تقليل الحركات بين وحدات المعالجة المركزية للحفاظ على الخبيئات ساخنة، "
134 "لكنه ممكن.) يجب على المستدعي السماح بإمكانية أن المعلومات المعادة في I<cpu> "
135 "و I<node> لم تعد حديثة بحلول وقت عودة الاستدعاء."
136
137 #. type: SH
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "RETURN VALUE"
142 msgstr "قيمة الإرجاع"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "On success, 0 is returned. On error, -1 is returned, and I<errno> is set to "
149 "indicate the error."
150 msgstr ""
151 "عند النجاح، يُعاد الرقم 0. وعند حدوث خطأ، يُعاد الرقم -1، ويُضبط I<errno> "
152 "للإشارة إلى الخطأ."
153
154 #. type: SH
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "ERRORS"
159 msgstr "الأخطاء"
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<EFAULT>"
166 msgstr "B<EFAULT>"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid "Arguments point outside the calling process's address space."
172 msgstr "الوسائط تشير إلى خارج مساحة عنوان العملية المستدعية."
173
174 #. type: SH
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "STANDARDS"
179 msgstr "المعايير"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid "Linux."
185 msgstr "لينكس."
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "HISTORY"
192 msgstr "التاريخ"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid "Linux 2.6.19 (x86-64 and i386), glibc 2.29."
198 msgstr "لينكس 2.6.19 (x86-64 و i386)، glibc 2.29."
199
200 #. type: SS
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "C library/kernel differences"
205 msgstr "الاختلافات بين مكتبة C والنواة"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid "The kernel system call has a third argument:"
211 msgstr "استدعاء النظام للنواة يحتوي على وسيطة ثالثة:"
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid ""
218 "B<int getcpu(unsigned int *>I<cpu>B<, unsigned int *>I<node>B<,>\n"
219 "B< struct getcpu_cache *>I<tcache>B<);>\n"
220 msgstr ""
221 "B<int getcpu(unsigned int *>I<cpu>B<, unsigned int *>I<node>B<,>\n"
222 "B< struct getcpu_cache *>I<tcache>B<);>\n"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "The I<tcache> argument is unused since Linux 2.6.24, and (when invoking the "
229 "system call directly) should be specified as NULL, unless portability to "
230 "Linux 2.6.23 or earlier is required."
231 msgstr ""
232 "الوسيطة I<tcache> غير مستخدمة منذ لينكس 2.6.24، ويجب (عند استدعاء استدعاء "
233 "النظام مباشرة) تحديدها كـ NULL، ما لم تكن قابلية النقل إلى لينكس 2.6.23 أو "
234 "إصدار أقدم مطلوبة."
235
236 #
237 #
238 #. commit 4307d1e5ada595c87f9a4d16db16ba5edb70dcb1
239 #. Author: Ingo Molnar <[email protected]>
240 #. Date: Wed Nov 7 18:37:48 2007 +0100
241 #. x86: ignore the sys_getcpu() tcache parameter
242 #. ===== Before Linux 2.6.24: =====
243 #. .I tcache
244 #. is a pointer to a
245 #. .IR "struct getcpu_cache"
246 #. that is used as a cache by
247 #. .BR getcpu ().
248 #. The caller should put the cache into a thread-local variable
249 #. if the process is multithreaded,
250 #. because the cache cannot be shared between different threads.
251 #. .I tcache
252 #. can be NULL.
253 #. If it is not NULL
254 #. .BR getcpu ()
255 #. will use it to speed up operation.
256 #. The information inside the cache is private to the system call
257 #. and should not be accessed by the user program.
258 #. The information placed in the cache can change between Linux releases.
259 #. When no cache is specified
260 #. .BR getcpu ()
261 #. will be slower,
262 #. but always retrieve the current CPU and node information.
263 #. With a cache
264 #. .BR getcpu ()
265 #. is faster.
266 #. However, the cached information is updated only once per jiffy (see
267 #. .BR time (7)).
268 #. This means that the information could theoretically be out of date,
269 #. although in practice the scheduler's attempt to maintain
270 #. soft CPU affinity means that the information is unlikely to change
271 #. over the course of the caching interval.
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "In Linux 2.6.23 and earlier, if the I<tcache> argument was non-NULL, then it "
277 "specified a pointer to a caller-allocated buffer in thread-local storage "
278 "that was used to provide a caching mechanism for B<getcpu>(). Use of the "
279 "cache could speed B<getcpu>() calls, at the cost that there was a very "
280 "small chance that the returned information would be out of date. The "
281 "caching mechanism was considered to cause problems when migrating threads "
282 "between CPUs, and so the argument is now ignored."
283 msgstr ""
284 "في لينكس 2.6.23 والإصدارات الأقدم، إذا كانت الوسيطة I<tcache> غير NULL، "
285 "فإنها تحدد مؤشرًا إلى مخزن مخصص من قبل المستدعي في تخزين محلي للخيط يُستخدم "
286 "لتوفير آلية تخزين مؤقت لـ B<getcpu>(). استخدام الخبيئة قد يسرع استدعاءات "
287 "B<getcpu>()، على حساب وجود فرصة صغيرة جدًا بأن المعلومات المعادة قد تكون "
288 "قديمة. اعتُبرت آلية التخزين المؤقت أنها تسبب مشاكل عند ترحيل الخيوط بين وحدات "
289 "المعالجة المركزية، ولذا يتم تجاهل الوسيطة الآن."
290
291 #. type: SH
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "NOTES"
296 msgstr "ملاحظات"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "Linux makes a best effort to make this call as fast as possible. (On some "
303 "architectures, this is done via an implementation in the B<vdso>(7).) The "
304 "intention of B<getcpu>() is to allow programs to make optimizations with "
305 "per-CPU data or for NUMA optimization."
306 msgstr ""
307 "يبذل لينكس أقصى جهد لجعل هذا الاستدعاء بأسرع ما يمكن. (على بعض البنيات، يتم "
308 "ذلك عبر تنفيذ في B<vdso>(7).) القصد من B<getcpu>() هو السماح للبرامج بإجراء "
309 "تحسينات باستخدام بيانات لكل وحدة معالجة مركزية أو لتحسين NUMA."
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "SEE ALSO"
316 msgstr "انظر أيضًا"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), "
323 "B<sched_getcpu>(3), B<cpuset>(7), B<vdso>(7)"
324 msgstr ""
325 "B<mbind>(2), B<sched_setaffinity>(2), B<set_mempolicy>(2), "
326 "B<sched_getcpu>(3), B<cpuset>(7), B<vdso>(7)"
327
328 #. type: TH
329 #: debian-trixie
330 #, no-wrap
331 msgid "2024-05-02"
332 msgstr "2 مايو 2024"
333
334 #. type: TH
335 #: debian-trixie
336 #, no-wrap
337 msgid "Linux man-pages 6.9.1"
338 msgstr "صفحات دليل لينكس 6.9.1"
339
340 #. type: Plain text
341 #: debian-trixie
342 msgid "Standard C library (I<libc>, I<-lc>)"
343 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
344
345 #. type: TH
346 #: fedora-44 fedora-rawhide
347 #, no-wrap
348 msgid "2024-07-23"
349 msgstr "23 يوليو 2024"
350
351 #. type: TH
352 #: fedora-44 fedora-rawhide
353 #, no-wrap
354 msgid "Linux man-pages 6.13"
355 msgstr "صفحات دليل لينكس 6.13"
356
357 #. type: TH
358 #: mageia-cauldron
359 #, no-wrap
360 msgid "Linux man-pages 6.17"
361 msgstr "صفحات دليل لينكس 6.17"
362
363 #. type: TH
364 #: opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "Linux man-pages (unreleased)"
367 msgstr "صفحات دليل لينكس (لم تصدر بعد)"