Debian Codegraph @

po/ru/man2/getcpu.2.po

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