Debian Codegraph @

po/ru/man2/syslog.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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "syslog"
33 msgstr "syslog"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid ""
60 "syslog, klogctl - read and/or clear kernel message ring buffer; set "
61 "console_loglevel"
62 msgstr ""
63 "syslog, klogctl - читает и/или очищает кольцевой буфер сообщений ядра; "
64 "устанавливает console_loglevel"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "БИБЛИОТЕКА"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "СИНТАКСИС"
85
86 #. type: Plain text
87 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
88 #: opensuse-tumbleweed
89 #, fuzzy, no-wrap
90 #| msgid ""
91 #| "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
92 #| "B<#include E<lt>unistd.hE<gt>>\n"
93 msgid ""
94 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
95 "B<#include E<lt>unistd.hE<gt>>\n"
96 msgstr ""
97 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
98 "B<#include E<lt>unistd.hE<gt>>\n"
99
100 #. type: Plain text
101 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
102 #: opensuse-leap-16-1 opensuse-tumbleweed
103 #, fuzzy, no-wrap
104 #| msgid "B<int syscall(SYS_syslog, int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
105 msgid "B<int syscall(SYS_syslog, int >I<type>B<, char *>I<bufp>B<, int >I<size>B<);>\n"
106 msgstr "B<int syscall(SYS_syslog, int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid ""
113 "/* The glibc interface */\n"
114 "B<#include E<lt>sys/klog.hE<gt>>\n"
115 msgstr ""
116 "/* интерфейс glibc */\n"
117 "B<#include E<lt>sys/klog.hE<gt>>\n"
118
119 #. type: Plain text
120 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
121 #: opensuse-leap-16-1 opensuse-tumbleweed
122 #, fuzzy, no-wrap
123 #| msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
124 msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<size>B<);>\n"
125 msgstr "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
126
127 #. type: SH
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 #, no-wrap
131 msgid "DESCRIPTION"
132 msgstr "ОПИСАНИЕ"
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "I<Note>: Probably, you are looking for the C library function B<syslog>(), "
139 "which talks to B<syslogd>(8); see B<syslog>(3) for details."
140 msgstr ""
141 "I<Замечание>: Вероятно, вы ищете библиотечную функцию Си B<syslog>(), "
142 "которая описана в B<syslogd>(8); подробности смотрите в B<syslog>(3)."
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 "This page describes the kernel B<syslog>() system call, which is used to "
149 "control the kernel I<printk>() buffer; the glibc wrapper function for the "
150 "system call is called B<klogctl>()."
151 msgstr ""
152 "В этой странице описана системный вызов ядра B<syslog>(), который "
153 "используется для управления буфером I<printk>() в ядре; обёрточная функция "
154 "glibc для данного системного вызова называется B<klogctl>()."
155
156 #. type: SS
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "The kernel log buffer"
161 msgstr "Буфер журнала ядра"
162
163 #. Under "General setup" ==> "Kernel log buffer size"
164 #. For Linux 2.6, precisely the option seems to have appeared in Linux 2.5.55.
165 #. type: Plain text
166 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
167 #: opensuse-leap-16-1 opensuse-tumbleweed
168 #, fuzzy
169 #| msgid ""
170 #| "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages "
171 #| "given as arguments to the kernel function B<printk>() are stored "
172 #| "(regardless of their log level). In early kernels, B<LOG_BUF_LEN> had "
173 #| "the value 4096; from kernel 1.3.54, it was 8192; from kernel 2.1.113, it "
174 #| "was 16384; since kernel 2.4.23/2.6, the value is a kernel configuration "
175 #| "option (B<CONFIG_LOG_BUF_SHIFT>, default value dependent on the "
176 #| "architecture). Since Linux 2.6.6, the size can be queried with command "
177 #| "type 10 (see below)."
178 msgid ""
179 "The kernel has a cyclic buffer of size B<LOG_BUF_LEN> in which messages "
180 "given as arguments to the kernel function B<printk>() are stored "
181 "(regardless of their log level). In early kernels, B<LOG_BUF_LEN> had the "
182 "value 4096; from Linux 1.3.54, it was 8192; from Linux 2.1.113, it was "
183 "16384; since Linux 2.4.23/2.6, the value is a kernel configuration option "
184 "(B<CONFIG_LOG_BUF_SHIFT>, default value dependent on the architecture). "
185 "Since Linux 2.6.6, the size can be queried with command type 10 (see below)."
186 msgstr ""
187 "В ядре существует кольцевой буфер длиной B<LOG_BUF_LEN>, в котором хранятся "
188 "сообщения, переданные через аргументы функции ядра B<printk>() (независимо "
189 "от их уровня). В ранних версиях ядра значение B<LOG_BUF_LEN> было равно "
190 "4096, начиная с ядра 1.3.54 оно стало 8192, а начиная с 2.1.113 — 16384. "
191 "Начиная с версии 2.4.23/2.6 его значение задаётся в параметрах настройки "
192 "ядра (B<CONFIG_LOG_BUF_SHIFT>, значение по умолчанию зависит от "
193 "архитектуры). Начиная с Linux 2.6.6, размер можно узнать по команде 10 "
194 "(смотрите далее)."
195
196 #. type: SS
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "Commands"
201 msgstr "Команды"
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "The I<type> argument determines the action taken by this function. The list "
208 "below specifies the values for I<type>. The symbolic names are defined in "
209 "the kernel source, but are not exported to user space; you will either need "
210 "to use the numbers, or define the names yourself."
211 msgstr ""
212 "В аргументе I<type> задаётся действие функции. Далее приводится список со "
213 "всеми значениями I<type>. Символические имена определены в исходном коде "
214 "ядра, но не экспортируются в пользовательское пространство; вы должны "
215 "использовать или номера, или определить имена самостоятельно."
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "B<SYSLOG_ACTION_CLOSE> (0)"
222 msgstr "B<SYSLOG_ACTION_CLOSE> (0)"
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 "Close the log. Currently a NOP."
228 msgstr "Закрыть журнал. Ничего не делает."
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<SYSLOG_ACTION_OPEN> (1)"
235 msgstr "B<SYSLOG_ACTION_OPEN> (1)"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "Open the log. Currently a NOP."
241 msgstr "Открыть журнал. Ничего не делает."
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "B<SYSLOG_ACTION_READ> (2)"
248 msgstr "B<SYSLOG_ACTION_READ> (2)"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "Read from the log. The call waits until the kernel log buffer is nonempty, "
255 "and then reads at most I<len> bytes into the buffer pointed to by I<bufp>. "
256 "The call returns the number of bytes read. Bytes read from the log "
257 "disappear from the log buffer: the information can be read only once. This "
258 "is the function executed by the kernel when a user program reads I</proc/"
259 "kmsg>."
260 msgstr ""
261 "Читать из журнала. Вызов ждёт пока в буфере журнала ядра что-нибудь не "
262 "появится и затем записывает максимум I<len> байт в буфер, указанный I<bufp>. "
263 "Вызов возвращает количество прочитанных байт. Байты, прочитанные из журнала, "
264 "исчезают из буфера журнала: информацию можно прочесть только один раз. Эта "
265 "функция используется ядром когда пользовательская программа читает файл I</"
266 "proc/kmsg>."
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<SYSLOG_ACTION_READ_ALL> (3)"
273 msgstr "B<SYSLOG_ACTION_READ_ALL> (3)"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "Read all messages remaining in the ring buffer, placing them in the buffer "
280 "pointed to by I<bufp>. The call reads the last I<len> bytes from the log "
281 "buffer (nondestructively), but will not read more than was written into the "
282 "buffer since the last \"clear ring buffer\" command (see command 5 below)). "
283 "The call returns the number of bytes read."
284 msgstr ""
285 "Читать все сообщения, оставшиеся в кольцевом буфере, помещая их в буфер, "
286 "указанный в I<bufp>. Вызов читает последние I<len> байт из буфера журнала "
287 "(не разрушая его), но не больше, чем было записано в буфер с момента вызова "
288 "команды «очистка кольцевого буфера» (смотрите команду 5 далее). Вызов "
289 "возвращает количество прочитанных байт."
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<SYSLOG_ACTION_READ_CLEAR> (4)"
296 msgstr "B<SYSLOG_ACTION_READ_CLEAR> (4)"
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 "Read and clear all messages remaining in the ring buffer. The call does "
303 "precisely the same as for a I<type> of 3, but also executes the \"clear ring "
304 "buffer\" command."
305 msgstr ""
306 "Прочитать и стереть все сообщения, оставшиеся в кольцевом буфере. Вызов "
307 "выполняет то же самое, что и при I<type> равном 3, но ещё вызывает команду "
308 "«очистка кольцевого буфера»."
309
310 #. type: TP
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "B<SYSLOG_ACTION_CLEAR> (5)"
315 msgstr "B<SYSLOG_ACTION_CLEAR> (5)"
316
317 #. type: Plain text
318 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
319 #: opensuse-leap-16-1 opensuse-tumbleweed
320 #, fuzzy
321 #| msgid ""
322 #| "The call executes just the \"clear ring buffer\" command. The I<bufp> "
323 #| "and I<len> arguments are ignored."
324 msgid ""
325 "The call executes just the \"clear ring buffer\" command. The I<bufp> and "
326 "I<size> arguments are ignored."
327 msgstr ""
328 "Вызов просто исполняет команду «очистка кольцевого буфера». Аргументы "
329 "I<bufp> и I<len> игнорируются."
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "This command does not really clear the ring buffer. Rather, it sets a "
336 "kernel bookkeeping variable that determines the results returned by commands "
337 "3 (B<SYSLOG_ACTION_READ_ALL>) and 4 (B<SYSLOG_ACTION_READ_CLEAR>). This "
338 "command has no effect on commands 2 (B<SYSLOG_ACTION_READ>) and 9 "
339 "(B<SYSLOG_ACTION_SIZE_UNREAD>)."
340 msgstr ""
341 "Эта команда на самом деле не очищает кольцевой буфер. Вместо этого она "
342 "изменяет переменную учёта в ядре, которая определяет результат, возвращаемый "
343 "командами 3 (B<SYSLOG_ACTION_READ_ALL>) и 4 (B<SYSLOG_ACTION_READ_CLEAR>). "
344 "Эта команда не влияет на команды 2 (B<SYSLOG_ACTION_READ>) и 9 "
345 "(B<SYSLOG_ACTION_SIZE_UNREAD>)."
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
352 msgstr "B<SYSLOG_ACTION_CONSOLE_OFF> (6)"
353
354 #. commit 1aaad49e856ce41adc07d8ae0c8ef35fc4483245
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "The command saves the current value of I<console_loglevel> and then sets "
360 "I<console_loglevel> to I<minimum_console_loglevel>, so that no messages are "
361 "printed to the console. Before Linux 2.6.32, the command simply sets "
362 "I<console_loglevel> to I<minimum_console_loglevel>. See the discussion of "
363 "I</proc/sys/kernel/printk>, below."
364 msgstr ""
365 "Данная команда сохраняет текущее значение I<console_loglevel> и затем "
366 "устанавливает I<console_loglevel> равным I<minimum_console_loglevel>, что "
367 "приводит к отключению вывода сообщений на консоль. До Linux 2.6.32, эта "
368 "команда просто изменяла I<console_loglevel> на I<minimum_console_loglevel>. "
369 "Смотрите описание I</proc/sys/kernel/printk> далее."
370
371 #. type: Plain text
372 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
373 #: opensuse-leap-16-1 opensuse-tumbleweed
374 #, fuzzy
375 #| msgid "The I<bufp> and I<len> arguments are ignored."
376 msgid "The I<bufp> and I<size> arguments are ignored."
377 msgstr "Аргументы I<bufp> и I<len> игнорируются."
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
384 msgstr "B<SYSLOG_ACTION_CONSOLE_ON> (7)"
385
386 #. commit 1aaad49e856ce41adc07d8ae0c8ef35fc4483245
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "If a previous B<SYSLOG_ACTION_CONSOLE_OFF> command has been performed, this "
392 "command restores I<console_loglevel> to the value that was saved by that "
393 "command. Before Linux 2.6.32, this command simply sets I<console_loglevel> "
394 "to I<default_console_loglevel>. See the discussion of I</proc/sys/kernel/"
395 "printk>, below."
396 msgstr ""
397 "Если ранее выполнялась команда B<SYSLOG_ACTION_CONSOLE_OFF>, то эта команда "
398 "восстанавливает значение I<console_loglevel>, которое было сохранено. До "
399 "Linux 2.6.32 эта команда просто изменяла I<console_loglevel> на "
400 "I<default_console_loglevel>. Смотрите описание I</proc/sys/kernel/printk> "
401 "ниже."
402
403 #. type: TP
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
408 msgstr "B<SYSLOG_ACTION_CONSOLE_LEVEL> (8)"
409
410 #. type: Plain text
411 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
412 #: opensuse-leap-16-1 opensuse-tumbleweed
413 #, fuzzy
414 #| msgid ""
415 #| "The call sets I<console_loglevel> to the value given in I<len>, which "
416 #| "must be an integer between 1 and 8 (inclusive). The kernel silently "
417 #| "enforces a minimum value of I<minimum_console_loglevel> for I<len>. See "
418 #| "the I<log level> section for details. The I<bufp> argument is ignored."
419 msgid ""
420 "The call sets I<console_loglevel> to the value given in I<size>, which must "
421 "be an integer between 1 and 8 (inclusive). The kernel silently enforces a "
422 "minimum value of I<minimum_console_loglevel> for I<size>. See the I<log "
423 "level> section for details. The I<bufp> argument is ignored."
424 msgstr ""
425 "Вызов присваивает I<console_loglevel> значение, указанное в I<len>, которое "
426 "должно быть целым числом от 1 до 8 (включительно). Ядро неявно изменяет "
427 "минимальное значение I<minimum_console_loglevel> на I<len>. Подробности "
428 "смотрите в разделе B<Уровень протоколирования>. Аргумент I<bufp> "
429 "игнорируется."
430
431 #. type: TP
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (since Linux 2.4.10)"
436 msgstr "B<SYSLOG_ACTION_SIZE_UNREAD> (9) (начиная с Linux 2.4.10)"
437
438 #. type: Plain text
439 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
440 #: opensuse-leap-16-1 opensuse-tumbleweed
441 #, fuzzy
442 #| msgid ""
443 #| "The call returns the number of bytes currently available to be read from "
444 #| "the kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>). The I<bufp> "
445 #| "and I<len> arguments are ignored."
446 msgid ""
447 "The call returns the number of bytes currently available to be read from the "
448 "kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>). The I<bufp> and "
449 "I<size> arguments are ignored."
450 msgstr ""
451 "Вызов возвращает количество байт, доступных для чтения из буфера журнала "
452 "ядра командой 2 (B<SYSLOG_ACTION_READ>). Аргументы I<bufp> и I<len> "
453 "игнорируются."
454
455 #. type: TP
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (since Linux 2.6.6)"
460 msgstr "B<SYSLOG_ACTION_SIZE_BUFFER> (10) (начиная с Linux 2.6.6)"
461
462 #. type: Plain text
463 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
464 #: opensuse-leap-16-1 opensuse-tumbleweed
465 #, fuzzy
466 #| msgid ""
467 #| "This command returns the total size of the kernel log buffer. The "
468 #| "I<bufp> and I<len> arguments are ignored."
469 msgid ""
470 "This command returns the total size of the kernel log buffer. The I<bufp> "
471 "and I<size> arguments are ignored."
472 msgstr ""
473 "Эта команда возвращает полный размер буфера журнала ядра. Аргументы I<bufp> "
474 "и I<len> игнорируются."
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, fuzzy
480 #| msgid ""
481 #| "All commands except 3 and 10 require privilege. In Linux kernels before "
482 #| "2.6.37, command types 3 and 10 are allowed to unprivileged processes; "
483 #| "since Linux 2.6.37, these commands are allowed to unprivileged processes "
484 #| "only if I</proc/sys/kernel/dmesg_restrict> has the value 0. Before Linux "
485 #| "2.6.37, \"privileged\" means that the caller has the B<CAP_SYS_ADMIN> "
486 #| "capability. Since Linux 2.6.37, \"privileged\" means that the caller has "
487 #| "either the B<CAP_SYS_ADMIN> capability (now deprecated for this purpose) "
488 #| "or the (new) B<CAP_SYSLOG> capability."
489 msgid ""
490 "All commands except 3 and 10 require privilege. In Linux kernels before "
491 "Linux 2.6.37, command types 3 and 10 are allowed to unprivileged processes; "
492 "since Linux 2.6.37, these commands are allowed to unprivileged processes "
493 "only if I</proc/sys/kernel/dmesg_restrict> has the value 0. Before Linux "
494 "2.6.37, \"privileged\" means that the caller has the B<CAP_SYS_ADMIN> "
495 "capability. Since Linux 2.6.37, \"privileged\" means that the caller has "
496 "either the B<CAP_SYS_ADMIN> capability (now deprecated for this purpose) or "
497 "the (new) B<CAP_SYSLOG> capability."
498 msgstr ""
499 "Все команды кроме 3 и 10 требуют привилегий. В ядрах Linux до версии 2.6.37, "
500 "команды 3 и 10 были доступны непривилегированным процессам; начиная с Linux "
501 "2.6.37, эти команды разрешены из непривилегированных процессов только, если "
502 "значение I</proc/sys/kernel/dmesg_restrict> равно 0. До Linux 2.6.37 под "
503 "«привилегиями» понималось, что вызывающий имеет мандат B<CAP_SYS_ADMIN>. "
504 "Начиная с Linux 2.6.37 «привилегией» считается, что вызывающий имеет либо "
505 "мандат B<CAP_SYS_ADMIN> (теперь устарел для такого использования), либо "
506 "(новый) мандат B<CAP_SYSLOG>."
507
508 #. type: SS
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "/proc/sys/kernel/printk"
513 msgstr "I</proc/sys/kernel/printk>"
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid ""
519 "I</proc/sys/kernel/printk> is a writable file containing four integer values "
520 "that influence kernel I<printk()> behavior when printing or logging error "
521 "messages. The four values are:"
522 msgstr ""
523 "Файл I</proc/sys/kernel/printk> доступен на запись и содержит 4 "
524 "целочисленных значения, которыми управляется поведение ядерного I<printk()> "
525 "при печати или протоколировании сообщений об ошибках. Четыре значения:"
526
527 #. type: TP
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, no-wrap
531 msgid "I<console_loglevel>"
532 msgstr "I<console_loglevel>"
533
534 #. since Linux 2.4
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, fuzzy
539 #| msgid ""
540 #| "Only messages with a log level lower than this value will be printed to "
541 #| "the console. The default value for this field is "
542 #| "B<DEFAULT_CONSOLE_LOGLEVEL> (7), but it is set to 4 if the kernel command "
543 #| "line contains the word \"quiet\", 10 if the kernel command line contains "
544 #| "the word \"debug\", and to 15 in case of a kernel fault (the 10 and 15 "
545 #| "are just silly, and equivalent to 8). The value of I<console_loglevel> "
546 #| "can be set (to a value in the range 1\\(en8) by a B<syslog>() call with "
547 #| "a I<type> of 8."
548 msgid ""
549 "Only messages with a log level lower than this value will be printed to the "
550 "console. The default value for this field is B<DEFAULT_CONSOLE_LOGLEVEL> "
551 "(7), but it is set to 4 if the kernel command line contains the word "
552 "\"quiet\", 10 if the kernel command line contains the word \"debug\", and to "
553 "15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent "
554 "to 8). The value of I<console_loglevel> can be set (to a value in the range "
555 "1\\[en]8) by a B<syslog>() call with a I<type> of 8."
556 msgstr ""
557 "На консоль выводятся только сообщения, у которых уровень протоколирования "
558 "меньше этого значения. По умолчанию значение этой переменной равно "
559 "B<DEFAULT_CONSOLE_LOGLEVEL> (7), но это значение будет равно 4, если "
560 "командная строка ядра содержит слово «quiet»; 10 — если командная строка "
561 "ядра содержит слово «debug», и 15 — в случае ошибки ядра (10 и 15 не имеют "
562 "большого смысла и аналогичны ). Значение (из диапазона от 1 до 8) "
563 "I<console_loglevel> устанавливается вызовом B<syslog>() с I<type> равным 8."
564
565 #. type: TP
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "I<default_message_loglevel>"
570 msgstr "I<default_message_loglevel>"
571
572 #. commit 5af5bcb8d37f99ba415a1adc6da71051b84f93a5
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "This value will be used as the log level for I<printk()> messages that do "
578 "not have an explicit level. Up to and including Linux 2.6.38, the hard-"
579 "coded default value for this field was 4 (B<KERN_WARNING>); since Linux "
580 "2.6.39, the default value is defined by the kernel configuration option "
581 "B<CONFIG_DEFAULT_MESSAGE_LOGLEVEL>, which defaults to 4."
582 msgstr ""
583 "Это значение будет использовано как уровень протоколирования сообщений "
584 "I<printk()>, у которых уровень не указан. До версии Linux 2.6.38 "
585 "включительно это поле содержало неизменяемое значение 4 (B<KERN_WARNING>); "
586 "начиная с Linux 2.6.39, значение по умолчанию задаётся в параметре настройки "
587 "ядра B<CONFIG_DEFAULT_MESSAGE_LOGLEVEL> и по умолчанию равно 4."
588
589 #. type: TP
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "I<minimum_console_loglevel>"
594 msgstr "I<minimum_console_loglevel>"
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "The value in this field is the minimum value to which I<console_loglevel> "
601 "can be set."
602 msgstr ""
603 "Значение этого поля — минимальное значение, которое может быть указано в "
604 "I<console_loglevel>."
605
606 #. type: TP
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "I<default_console_loglevel>"
611 msgstr "I<default_console_loglevel>"
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "This is the default value for I<console_loglevel>."
617 msgstr "Это значение по умолчанию для I<console_loglevel>."
618
619 #. type: SS
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 #, no-wrap
623 msgid "The log level"
624 msgstr "Уровень протоколирования"
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid ""
630 "Every I<printk>() message has its own log level. If the log level is not "
631 "explicitly specified as part of the message, it defaults to "
632 "I<default_message_loglevel>. The conventional meaning of the log level is "
633 "as follows:"
634 msgstr ""
635 "Каждое сообщение I<printk>() имеет свой уровень протоколирования. Если "
636 "уровень протоколирования явно не задан в сообщении, то по умолчанию оно "
637 "равно I<default_message_loglevel>. Для удобства имеются следующие уровни "
638 "протоколирования:"
639
640 #. type: tbl table
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 #, no-wrap
644 msgid "Kernel constant"
645 msgstr "Ядерные постоянные"
646
647 #. type: tbl table
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 #, no-wrap
651 msgid "Level value"
652 msgstr "Уровень"
653
654 #. type: tbl table
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "Meaning"
659 msgstr "Смысл"
660
661 #. type: tbl table
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "KERN_EMERG"
666 msgstr "B<KERN_EMERG>"
667
668 #. type: tbl table
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "0"
673 msgstr "0"
674
675 #. type: tbl table
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "System is unusable"
680 msgstr "Система не пригодна к использованию "
681
682 #. type: tbl table
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid "KERN_ALERT"
687 msgstr "B<KERN_ALERT>"
688
689 #. type: tbl table
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "1"
694 msgstr "1"
695
696 #. type: tbl table
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "Action must be taken immediately"
701 msgstr "Необходимо немедленно принять меры"
702
703 #. type: tbl table
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 #, no-wrap
707 msgid "KERN_CRIT"
708 msgstr "B<KERN_CRIT>"
709
710 #. type: tbl table
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "2"
715 msgstr "2"
716
717 #. type: tbl table
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "Critical conditions"
722 msgstr "Условная паника"
723
724 #. type: tbl table
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "KERN_ERR"
729 msgstr "B<KERN_ERR>"
730
731 #. type: tbl table
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 #, no-wrap
735 msgid "3"
736 msgstr "3"
737
738 #. type: tbl table
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 #, no-wrap
742 msgid "Error conditions"
743 msgstr "Условные ошибки "
744
745 #. type: tbl table
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 #, no-wrap
749 msgid "KERN_WARNING"
750 msgstr "B<KERN_WARNING>"
751
752 #. type: tbl table
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 #, no-wrap
756 msgid "4"
757 msgstr "4"
758
759 #. type: tbl table
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 #, no-wrap
763 msgid "Warning conditions"
764 msgstr "Условные предупреждения "
765
766 #. type: tbl table
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 #, no-wrap
770 msgid "KERN_NOTICE"
771 msgstr "B<KERN_NOTICE>"
772
773 #. type: tbl table
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 #, no-wrap
777 msgid "5"
778 msgstr "5"
779
780 #. type: tbl table
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "Normal but significant condition"
785 msgstr "Обычное, но важное условие"
786
787 #. type: tbl table
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "KERN_INFO"
792 msgstr "B<KERN_INFO>"
793
794 #. type: tbl table
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 #, no-wrap
798 msgid "6"
799 msgstr "6"
800
801 #. type: tbl table
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 #, no-wrap
805 msgid "Informational"
806 msgstr "Информационное сообщение"
807
808 #. type: tbl table
809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
811 #, no-wrap
812 msgid "KERN_DEBUG"
813 msgstr "B<KERN_DEBUG>"
814
815 #. type: tbl table
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 #, no-wrap
819 msgid "7"
820 msgstr "7"
821
822 #. type: tbl table
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 #, no-wrap
826 msgid "Debug-level messages"
827 msgstr "Cообщения уровня отладки"
828
829 #. type: Plain text
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 msgid ""
833 "The kernel I<printk()> routine will print a message on the console only if "
834 "it has a log level less than the value of I<console_loglevel>."
835 msgstr ""
836 "Ядерная процедура I<printk()> печатает сообщение на консоль только, если его "
837 "уровень протоколирования меньше значения I<console_loglevel>."
838
839 #. type: SH
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 #, no-wrap
843 msgid "RETURN VALUE"
844 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
845
846 #. type: Plain text
847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
849 msgid ""
850 "For I<type> equal to 2, 3, or 4, a successful call to B<syslog>() returns "
851 "the number of bytes read. For I<type> 9, B<syslog>() returns the number of "
852 "bytes currently available to be read on the kernel log buffer. For I<type> "
853 "10, B<syslog>() returns the total size of the kernel log buffer. For other "
854 "values of I<type>, 0 is returned on success."
855 msgstr ""
856 "При успешном выполнении и если I<type> равно 2, 3 или 4, B<syslog>() "
857 "возвращает количество прочитанных байт. При I<type> равном 9, B<syslog>() "
858 "возвращает количество байт, доступных для чтения из кольцевого буфера ядра. "
859 "При I<type> равном 10, B<syslog>() возвращает полный размер кольцевого "
860 "буфера ядра. При других значениях I<type> и успешном выполнении возвращается "
861 "0."
862
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid ""
867 "In case of error, -1 is returned, and I<errno> is set to indicate the error."
868 msgstr ""
869 "При ошибке возвращается -1, а переменной I<errno> присваивается номер ошибки."
870
871 #. type: SH
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 #, no-wrap
875 msgid "ERRORS"
876 msgstr "ОШИБКИ"
877
878 #. type: TP
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "B<EINVAL>"
883 msgstr "B<EINVAL>"
884
885 #. type: Plain text
886 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
887 #: opensuse-leap-16-1 opensuse-tumbleweed
888 #, fuzzy
889 #| msgid ""
890 #| "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is "
891 #| "NULL, or I<len> is less than zero; or for I<type> 8, the I<level> is "
892 #| "outside the range 1 to 8)."
893 msgid ""
894 "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is NULL, "
895 "or I<size> is less than zero; or for I<type> 8, the I<level> is outside the "
896 "range 1 to 8)."
897 msgstr ""
898 "Неправильные значения параметров (например, некорректное значение I<type>; "
899 "при I<type> равном 2, 3, 4, значение I<buf> равно NULL или значение I<len> "
900 "меньше нуля; при I<type> равном 8, значение I<level> лежит вне диапазона от "
901 "1 до 8)."
902
903 #. type: TP
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid "B<ENOSYS>"
908 msgstr "B<ENOSYS>"
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "This B<syslog>() system call is not available, because the kernel was "
915 "compiled with the B<CONFIG_PRINTK> kernel-configuration option disabled."
916 msgstr ""
917 "Системный вызов B<syslog>() недоступен, так как ядро было собрано с "
918 "отключённым параметром B<CONFIG_PRINTK>."
919
920 #. type: TP
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 #, no-wrap
924 msgid "B<EPERM>"
925 msgstr "B<EPERM>"
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 msgid ""
931 "An attempt was made to change I<console_loglevel> or clear the kernel "
932 "message ring buffer by a process without sufficient privilege (more "
933 "precisely: without the B<CAP_SYS_ADMIN> or B<CAP_SYSLOG> capability)."
934 msgstr ""
935 "Процесс, не имеющий необходимых прав (мандата B<CAP_SYS_ADMIN> или "
936 "B<CAP_SYSLOG>), пытался изменить I<console_loglevel> или очистить кольцевой "
937 "буфер сообщений ядра."
938
939 #. type: TP
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 #, no-wrap
943 msgid "B<ERESTARTSYS>"
944 msgstr "B<ERESTARTSYS>"
945
946 #. type: Plain text
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 msgid ""
950 "System call was interrupted by a signal; nothing was read. (This can be "
951 "seen only during a trace.)"
952 msgstr ""
953 "Системный вызов был прерван сигналом; ничего не было прочитано (может быть "
954 "замечено только при трассировке)."
955
956 #. type: SH
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 #, no-wrap
960 msgid "STANDARDS"
961 msgstr "СТАНДАРТЫ"
962
963 #. type: Plain text
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 msgid "Linux."
967 msgstr "Linux."
968
969 #. type: SH
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 #, no-wrap
973 msgid "HISTORY"
974 msgstr "ИСТОРИЯ"
975
976 #. In libc4 and libc5 the number of this call was defined by
977 #. .BR SYS_klog .
978 #. In glibc 2.0 the syscall is baptized
979 #. .BR klogctl ().
980 #. type: Plain text
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 msgid ""
984 "From the very start, people noted that it is unfortunate that a system call "
985 "and a library routine of the same name are entirely different animals."
986 msgstr ""
987 "С самого начала многим не нравится, что вызов ядра и библиотечная функция с "
988 "одинаковыми именами делают совершенно разные вещи."
989
990 #. type: SH
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 #, no-wrap
994 msgid "SEE ALSO"
995 msgstr "СМОТРИТЕ ТАКЖЕ"
996
997 #. type: Plain text
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 msgid "B<dmesg>(1), B<syslog>(3), B<capabilities>(7)"
1001 msgstr "B<dmesg>(1), B<syslog>(3), B<capabilities>(7)"
1002
1003 #. type: TH
1004 #: debian-trixie
1005 #, no-wrap
1006 msgid "2024-05-02"
1007 msgstr "2 мая 2024 г."
1008
1009 #. type: TH
1010 #: debian-trixie
1011 #, no-wrap
1012 msgid "Linux man-pages 6.9.1"
1013 msgstr "Страницы руководства Linux 6.9.1"
1014
1015 #. type: Plain text
1016 #: debian-trixie
1017 msgid "Standard C library (I<libc>, I<-lc>)"
1018 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1019
1020 #. type: Plain text
1021 #: debian-trixie fedora-44 fedora-rawhide
1022 #, no-wrap
1023 msgid ""
1024 "B<#include E<lt>sys/klog.hE<gt>> /* Definition of B<SYSLOG_*> constants */\n"
1025 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
1026 "B<#include E<lt>unistd.hE<gt>>\n"
1027 msgstr ""
1028 "B<#include E<lt>sys/klog.hE<gt>> /* определения констант B<SYSLOG_*> */\n"
1029 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
1030 "B<#include E<lt>unistd.hE<gt>>\n"
1031
1032 #. type: Plain text
1033 #: debian-trixie
1034 #, no-wrap
1035 msgid "B<int syscall(SYS_syslog, int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
1036 msgstr "B<int syscall(SYS_syslog, int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
1037
1038 #. type: Plain text
1039 #: debian-trixie
1040 #, no-wrap
1041 msgid "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
1042 msgstr "B<int klogctl(int >I<type>B<, char *>I<bufp>B<, int >I<len>B<);>\n"
1043
1044 #. Under "General setup" ==> "Kernel log buffer size"
1045 #. For Linux 2.6, precisely the option seems to have appeared in Linux 2.5.55.
1046 #. type: Plain text
1047 #: debian-trixie
1048 #, fuzzy
1049 #| msgid ""
1050 #| "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages "
1051 #| "given as arguments to the kernel function B<printk>() are stored "
1052 #| "(regardless of their log level). In early kernels, B<LOG_BUF_LEN> had "
1053 #| "the value 4096; from kernel 1.3.54, it was 8192; from kernel 2.1.113, it "
1054 #| "was 16384; since kernel 2.4.23/2.6, the value is a kernel configuration "
1055 #| "option (B<CONFIG_LOG_BUF_SHIFT>, default value dependent on the "
1056 #| "architecture). Since Linux 2.6.6, the size can be queried with command "
1057 #| "type 10 (see below)."
1058 msgid ""
1059 "The kernel has a cyclic buffer of length B<LOG_BUF_LEN> in which messages "
1060 "given as arguments to the kernel function B<printk>() are stored "
1061 "(regardless of their log level). In early kernels, B<LOG_BUF_LEN> had the "
1062 "value 4096; from Linux 1.3.54, it was 8192; from Linux 2.1.113, it was "
1063 "16384; since Linux 2.4.23/2.6, the value is a kernel configuration option "
1064 "(B<CONFIG_LOG_BUF_SHIFT>, default value dependent on the architecture). "
1065 "Since Linux 2.6.6, the size can be queried with command type 10 (see below)."
1066 msgstr ""
1067 "В ядре существует кольцевой буфер длиной B<LOG_BUF_LEN>, в котором хранятся "
1068 "сообщения, переданные через аргументы функции ядра B<printk>() (независимо "
1069 "от их уровня). В ранних версиях ядра значение B<LOG_BUF_LEN> было равно "
1070 "4096, начиная с ядра 1.3.54 оно стало 8192, а начиная с 2.1.113 — 16384. "
1071 "Начиная с версии 2.4.23/2.6 его значение задаётся в параметрах настройки "
1072 "ядра (B<CONFIG_LOG_BUF_SHIFT>, значение по умолчанию зависит от "
1073 "архитектуры). Начиная с Linux 2.6.6, размер можно узнать по команде 10 "
1074 "(смотрите далее)."
1075
1076 #. type: Plain text
1077 #: debian-trixie
1078 msgid ""
1079 "The call executes just the \"clear ring buffer\" command. The I<bufp> and "
1080 "I<len> arguments are ignored."
1081 msgstr ""
1082 "Вызов просто исполняет команду «очистка кольцевого буфера». Аргументы "
1083 "I<bufp> и I<len> игнорируются."
1084
1085 #. type: Plain text
1086 #: debian-trixie
1087 msgid "The I<bufp> and I<len> arguments are ignored."
1088 msgstr "Аргументы I<bufp> и I<len> игнорируются."
1089
1090 #. type: Plain text
1091 #: debian-trixie
1092 msgid ""
1093 "The call sets I<console_loglevel> to the value given in I<len>, which must "
1094 "be an integer between 1 and 8 (inclusive). The kernel silently enforces a "
1095 "minimum value of I<minimum_console_loglevel> for I<len>. See the I<log "
1096 "level> section for details. The I<bufp> argument is ignored."
1097 msgstr ""
1098 "Вызов присваивает I<console_loglevel> значение, указанное в I<len>, которое "
1099 "должно быть целым числом от 1 до 8 (включительно). Ядро неявно изменяет "
1100 "минимальное значение I<minimum_console_loglevel> на I<len>. Подробности "
1101 "смотрите в разделе B<Уровень протоколирования>. Аргумент I<bufp> "
1102 "игнорируется."
1103
1104 #. type: Plain text
1105 #: debian-trixie
1106 msgid ""
1107 "The call returns the number of bytes currently available to be read from the "
1108 "kernel log buffer via command 2 (B<SYSLOG_ACTION_READ>). The I<bufp> and "
1109 "I<len> arguments are ignored."
1110 msgstr ""
1111 "Вызов возвращает количество байт, доступных для чтения из буфера журнала "
1112 "ядра командой 2 (B<SYSLOG_ACTION_READ>). Аргументы I<bufp> и I<len> "
1113 "игнорируются."
1114
1115 #. type: Plain text
1116 #: debian-trixie
1117 msgid ""
1118 "This command returns the total size of the kernel log buffer. The I<bufp> "
1119 "and I<len> arguments are ignored."
1120 msgstr ""
1121 "Эта команда возвращает полный размер буфера журнала ядра. Аргументы I<bufp> "
1122 "и I<len> игнорируются."
1123
1124 #. type: Plain text
1125 #: debian-trixie
1126 msgid ""
1127 "Bad arguments (e.g., bad I<type>; or for I<type> 2, 3, or 4, I<buf> is NULL, "
1128 "or I<len> is less than zero; or for I<type> 8, the I<level> is outside the "
1129 "range 1 to 8)."
1130 msgstr ""
1131 "Неправильные значения параметров (например, некорректное значение I<type>; "
1132 "при I<type> равном 2, 3, 4, значение I<buf> равно NULL или значение I<len> "
1133 "меньше нуля; при I<type> равном 8, значение I<level> лежит вне диапазона от "
1134 "1 до 8)."
1135
1136 #. type: TH
1137 #: fedora-44 fedora-rawhide
1138 #, no-wrap
1139 msgid "2024-11-17"
1140 msgstr "17 ноября 2024 г."
1141
1142 #. type: TH
1143 #: fedora-44 fedora-rawhide
1144 #, no-wrap
1145 msgid "Linux man-pages 6.13"
1146 msgstr "Страницы руководства Linux 6.13"
1147
1148 #. type: TH
1149 #: mageia-cauldron
1150 #, no-wrap
1151 msgid "Linux man-pages 6.17"
1152 msgstr "Страницы руководства Linux 6.17"
1153
1154 #. type: TH
1155 #: opensuse-leap-16-1 opensuse-tumbleweed
1156 #, no-wrap
1157 msgid "Linux man-pages (unreleased)"
1158 msgstr "Страницы руководства Linux (не выпущены)"