| 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]>, 2014, 2016-2017. |
| 5 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 6 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 7 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 8 |
msgid "" |
| 9 |
msgstr "" |
| 10 |
"Project-Id-Version: manpages-l10n\n" |
| 11 |
"POT-Creation-Date: 2026-06-05 06:49+0200\n" |
| 12 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 13 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 14 |
"Language-Team: Russian <[email protected]>\n" |
| 15 |
"Language: ru\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 20 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 21 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 22 |
"X-Generator: Lokalize 2.0\n" |
| 23 |
|
| 24 |
#. type: TH |
| 25 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 26 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 27 |
#, no-wrap |
| 28 |
msgid "time_namespaces" |
| 29 |
msgstr "time_namespaces" |
| 30 |
|
| 31 |
#. type: TH |
| 32 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 33 |
#: opensuse-tumbleweed |
| 34 |
#, no-wrap |
| 35 |
msgid "2026-02-08" |
| 36 |
msgstr "8 февраля 2026 г." |
| 37 |
|
| 38 |
#. type: TH |
| 39 |
#: archlinux debian-unstable |
| 40 |
#, fuzzy, no-wrap |
| 41 |
#| msgid "Linux man-pages 6.17" |
| 42 |
msgid "Linux man-pages 6.18" |
| 43 |
msgstr "Справочные страницы Linux 6.17" |
| 44 |
|
| 45 |
#. type: SH |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
#, no-wrap |
| 49 |
msgid "NAME" |
| 50 |
msgstr "НАИМЕНОВАНИЕ" |
| 51 |
|
| 52 |
#. type: Plain text |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
msgid "time_namespaces - overview of Linux time namespaces" |
| 56 |
msgstr "time_namespaces - обзор пространств имен времени Linux" |
| 57 |
|
| 58 |
#. type: SH |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
#, no-wrap |
| 62 |
msgid "DESCRIPTION" |
| 63 |
msgstr "ОПИСАНИЕ" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
msgid "Time namespaces virtualize the values of two system clocks:" |
| 69 |
msgstr "" |
| 70 |
|
| 71 |
#. type: IP |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "\\[bu]" |
| 76 |
msgstr "\\[bu]" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 80 |
#: opensuse-tumbleweed |
| 81 |
msgid "" |
| 82 |
"B<CLOCK_MONOTONIC> (and likewise B<CLOCK_MONOTONIC_COARSE> and " |
| 83 |
"B<CLOCK_MONOTONIC_RAW>), a nonsettable clock that represents monotonic time " |
| 84 |
"since \\[em]as described by POSIX\\[em] \"some unspecified point in the " |
| 85 |
"past\"." |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
msgid "" |
| 92 |
"B<CLOCK_BOOTTIME> (and likewise B<CLOCK_BOOTTIME_ALARM>), a nonsettable " |
| 93 |
"clock that is identical to B<CLOCK_MONOTONIC>, except that it also includes " |
| 94 |
"any time that the system is suspended." |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"Thus, the processes in a time namespace share per-namespace values for these " |
| 102 |
"clocks. This affects various APIs that measure against these clocks, " |
| 103 |
"including: B<clock_gettime>(2), B<clock_nanosleep>(2), B<nanosleep>(2), " |
| 104 |
"B<timer_settime>(2), B<timerfd_settime>(2), and I</proc/uptime>." |
| 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 |
"Currently, the only way to create a time namespace is by calling " |
| 112 |
"B<unshare>(2) with the B<CLONE_NEWTIME> flag. This call creates a new time " |
| 113 |
"namespace but does I<not> place the calling process in the new namespace. " |
| 114 |
"Instead, the calling process's subsequently created children are placed in " |
| 115 |
"the new namespace. This allows clock offsets (see below) for the new " |
| 116 |
"namespace to be set before the first process is placed in the namespace. " |
| 117 |
"The I</proc/>pidI</ns/time_for_children> symbolic link shows the time " |
| 118 |
"namespace in which the children of a process will be created. (A process " |
| 119 |
"can use a file descriptor opened on this symbolic link in a call to " |
| 120 |
"B<setns>(2) in order to move into the namespace.)" |
| 121 |
msgstr "" |
| 122 |
|
| 123 |
#. type: SS |
| 124 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 125 |
#: opensuse-tumbleweed |
| 126 |
#, fuzzy, no-wrap |
| 127 |
#| msgid "I</proc/>pidI</timens_offsets>" |
| 128 |
msgid "\\f[I]/proc/\\fBpid\\f[I]/timens_offsets\\fB" |
| 129 |
msgstr "I</proc/>pidI</timens_offsets>" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"Associated with each time namespace are offsets, expressed with respect to " |
| 136 |
"the initial time namespace, that define the values of the monotonic and boot-" |
| 137 |
"time clocks in that namespace. These offsets are exposed via the file I</" |
| 138 |
"proc/>pidI</timens_offsets>. Within this file, the offsets are expressed as " |
| 139 |
"lines consisting of three space-delimited fields:" |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, no-wrap |
| 146 |
msgid "E<lt>clock-idE<gt> E<lt>offset-secsE<gt> E<lt>offset-nanosecsE<gt>\n" |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "" |
| 153 |
"The I<clock-id> is a string that identifies the clock whose offsets are " |
| 154 |
"being shown. This field is either I<monotonic>, for B<CLOCK_MONOTONIC>, or " |
| 155 |
"I<boottime>, for B<CLOCK_BOOTTIME>. The remaining fields express the offset " |
| 156 |
"(seconds plus nanoseconds) for the clock in this time namespace. These " |
| 157 |
"offsets are expressed relative to the clock values in the initial time " |
| 158 |
"namespace. The I<offset-secs> value can be negative, subject to " |
| 159 |
"restrictions noted below; I<offset-nanosecs> is an unsigned value." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
msgid "" |
| 166 |
"In the initial time namespace, the contents of the I<timens_offsets> file " |
| 167 |
"are as follows:" |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 172 |
#: opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "" |
| 175 |
"$B< cat /proc/self/timens_offsets>\n" |
| 176 |
"monotonic 0 0\n" |
| 177 |
"boottime 0 0\n" |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"In a new time namespace that has had no member processes, the clock offsets " |
| 185 |
"can be modified by writing newline-terminated records of the same form to " |
| 186 |
"the I<timens_offsets> file. The file can be written to multiple times, but " |
| 187 |
"after the first process has been created in or has entered the namespace, " |
| 188 |
"B<write>(2)s on this file fail with the error B<EACCES>. In order to write " |
| 189 |
"to the I<timens_offsets> file, a process must have the B<CAP_SYS_TIME> " |
| 190 |
"capability in the user namespace that owns the time namespace." |
| 191 |
msgstr "" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"Writes to the I<timens_offsets> file can fail with the following errors:" |
| 198 |
msgstr "" |
| 199 |
"Запись в файл I<timens_offsets> может завершиться неудачей со следующими " |
| 200 |
"ошибками:" |
| 201 |
|
| 202 |
#. type: TP |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
#, no-wrap |
| 206 |
msgid "B<EINVAL>" |
| 207 |
msgstr "B<EINVAL>" |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "An I<offset-nanosecs> value is greater than 999,999,999." |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "A I<clock-id> value is not valid." |
| 219 |
msgstr "Значение I<clock-id> недопустимо." |
| 220 |
|
| 221 |
#. type: TP |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid "B<EPERM>" |
| 226 |
msgstr "B<EPERM>" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "The caller does not have the B<CAP_SYS_TIME> capability." |
| 232 |
msgstr "У вызывающей стороны нет возможности B<CAP_SYS_TIME>." |
| 233 |
|
| 234 |
#. type: TP |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "B<ERANGE>" |
| 239 |
msgstr "B<ERANGE>" |
| 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 |
msgid "An I<offset-secs> value is out of range. In particular;" |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "" |
| 251 |
"I<offset-secs> can't be set to a value which would make the current time on " |
| 252 |
"the corresponding clock inside the namespace a negative value; and" |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "" |
| 259 |
"I<offset-secs> can't be set to a value such that the time on the " |
| 260 |
"corresponding clock inside the namespace would exceed half of the value of " |
| 261 |
"the kernel constant B<KTIME_SEC_MAX> (this limits the clock value to a " |
| 262 |
"maximum of approximately 146 years)." |
| 263 |
msgstr "" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "" |
| 269 |
"In a new time namespace created by B<unshare>(2), the contents of the " |
| 270 |
"I<timens_offsets> file are inherited from the time namespace of the creating " |
| 271 |
"process." |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: SH |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "NOTES" |
| 279 |
msgstr "ПРИМЕЧАНИЯ" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, fuzzy |
| 285 |
#| msgid "" |
| 286 |
#| "Use of IPC namespaces requires a kernel that is configured with the " |
| 287 |
#| "B<CONFIG_IPC_NS> option." |
| 288 |
msgid "" |
| 289 |
"Use of time namespaces requires a kernel that is configured with the " |
| 290 |
"B<CONFIG_TIME_NS> option." |
| 291 |
msgstr "" |
| 292 |
"Для использования пространств имён IPC требуется, чтобы ядро было собрано с " |
| 293 |
"параметром B<CONFIG_IPC_NS>." |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"Note that time namespaces do not virtualize the B<CLOCK_REALTIME> clock. " |
| 300 |
"Virtualization of this clock was avoided for reasons of complexity and " |
| 301 |
"overhead within the kernel." |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
msgid "" |
| 308 |
"For compatibility with the initial implementation, when writing a I<clock-" |
| 309 |
"id> to the I</proc/>pidI</timens_offsets> file, the numerical values of the " |
| 310 |
"IDs can be written instead of the symbolic names show above; i.e., 1 instead " |
| 311 |
"of I<monotonic>, and 7 instead of I<boottime>. For readability, the use of " |
| 312 |
"the symbolic names over the numbers is preferred." |
| 313 |
msgstr "" |
| 314 |
|
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"The motivation for adding time namespaces was to allow the monotonic and " |
| 320 |
"boot-time clocks to maintain consistent values during container migration " |
| 321 |
"and checkpoint/restore." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: SH |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "EXAMPLES" |
| 329 |
msgstr "ПРИМЕРЫ" |
| 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 |
"The following shell session demonstrates the operation of time namespaces. " |
| 336 |
"We begin by displaying the inode number of the time namespace of a shell in " |
| 337 |
"the initial time namespace:" |
| 338 |
msgstr "" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 342 |
#: opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "" |
| 345 |
"$B< readlink /proc/$$/ns/time>\n" |
| 346 |
"time:[4026531834]\n" |
| 347 |
msgstr "" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "" |
| 353 |
"Continuing in the initial time namespace, we display the system uptime using " |
| 354 |
"B<uptime>(1) and use the I<clock_times> example program shown in " |
| 355 |
"B<clock_getres>(2) to display the values of various clocks:" |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 360 |
#: opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "" |
| 363 |
"$B< uptime --pretty>\n" |
| 364 |
"up 21 hours, 17 minutes\n" |
| 365 |
"$B< ./clock_times>\n" |
| 366 |
"CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n" |
| 367 |
"CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n" |
| 368 |
"CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n" |
| 369 |
"CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n" |
| 370 |
msgstr "" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
msgid "" |
| 376 |
"We then use B<unshare>(1) to create a time namespace and execute a " |
| 377 |
"B<bash>(1) shell. From the new shell, we use the built-in B<echo> command " |
| 378 |
"to write records to the I<timens_offsets> file adjusting the offset for the " |
| 379 |
"B<CLOCK_MONOTONIC> clock forward 2 days and the offset for the " |
| 380 |
"B<CLOCK_BOOTTIME> clock forward 7 days:" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 385 |
#: opensuse-tumbleweed |
| 386 |
#, no-wrap |
| 387 |
msgid "" |
| 388 |
"$B< PS1=>ns2#B< sudo unshare -T -- bash --norc>\n" |
| 389 |
"ns2#B< echo >monotonicB<$((2*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n" |
| 390 |
"ns2#B< echo >boottimeB<$((7*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n" |
| 391 |
msgstr "" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
msgid "" |
| 397 |
"Above, we started the B<bash>(1) shell with the B<--norc> option so that no " |
| 398 |
"start-up scripts were executed. This ensures that no child processes are " |
| 399 |
"created from the shell before we have a chance to update the " |
| 400 |
"I<timens_offsets> file." |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
msgid "" |
| 407 |
"We then use B<cat>(1) to display the contents of the I<timens_offsets> " |
| 408 |
"file. The execution of B<cat>(1) creates the first process in the new time " |
| 409 |
"namespace, after which further attempts to update the I<timens_offsets> file " |
| 410 |
"produce an error." |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 415 |
#: opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "" |
| 418 |
"ns2#B< cat /proc/$$/timens_offsets>\n" |
| 419 |
"monotonic 172800 0\n" |
| 420 |
"boottime 604800 0\n" |
| 421 |
"ns2#B< echo \\[dq]boottime $((9*24*60*60)) 0\\[dq] E<gt> /proc/$$/timens_offsets>\n" |
| 422 |
"bash: echo: write error: Permission denied\n" |
| 423 |
msgstr "" |
| 424 |
|
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
msgid "" |
| 429 |
"Continuing in the new namespace, we execute B<uptime>(1) and the " |
| 430 |
"I<clock_times> example program:" |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 435 |
#: opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "" |
| 438 |
"ns2#B< uptime --pretty>\n" |
| 439 |
"up 1 week, 21 hours, 18 minutes\n" |
| 440 |
"ns2#B< ./clock_times>\n" |
| 441 |
"CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n" |
| 442 |
"CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n" |
| 443 |
"CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n" |
| 444 |
"CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n" |
| 445 |
msgstr "" |
| 446 |
|
| 447 |
#. type: Plain text |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
msgid "" |
| 451 |
"From the above output, we can see that the monotonic and boot-time clocks " |
| 452 |
"have different values in the new time namespace." |
| 453 |
msgstr "" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"Examining the I</proc/>pidI</ns/time> and I</proc/>pidI</ns/" |
| 460 |
"time_for_children> symbolic links, we see that the shell is a member of the " |
| 461 |
"initial time namespace, but its children are created in the new namespace." |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 466 |
#: opensuse-tumbleweed |
| 467 |
#, no-wrap |
| 468 |
msgid "" |
| 469 |
"ns2#B< readlink /proc/$$/ns/time>\n" |
| 470 |
"time:[4026531834]\n" |
| 471 |
"ns2#B< readlink /proc/$$/ns/time_for_children>\n" |
| 472 |
"time:[4026532900]\n" |
| 473 |
"ns2#B< readlink /proc/self/ns/time> # Creates a child process\n" |
| 474 |
"time:[4026532900]\n" |
| 475 |
msgstr "" |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 480 |
msgid "" |
| 481 |
"Returning to the shell in the initial time namespace, we see that the " |
| 482 |
"monotonic and boot-time clocks are unaffected by the I<timens_offsets> " |
| 483 |
"changes that were made in the other time namespace:" |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 488 |
#: opensuse-tumbleweed |
| 489 |
#, no-wrap |
| 490 |
msgid "" |
| 491 |
"$B< uptime --pretty>\n" |
| 492 |
"up 21 hours, 19 minutes\n" |
| 493 |
"$B< ./clock_times>\n" |
| 494 |
"CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n" |
| 495 |
"CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n" |
| 496 |
"CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n" |
| 497 |
"CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n" |
| 498 |
msgstr "" |
| 499 |
|
| 500 |
#. type: SH |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
#, no-wrap |
| 504 |
msgid "SEE ALSO" |
| 505 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 506 |
|
| 507 |
#. clone3() support for time namespaces is a work in progress |
| 508 |
#. .BR clone3 (2), |
| 509 |
#. type: Plain text |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
msgid "" |
| 513 |
"B<nsenter>(1), B<unshare>(1), B<clock_settime>(2), B<setns>(2), " |
| 514 |
"B<unshare>(2), B<namespaces>(7), B<time>(7)" |
| 515 |
msgstr "" |
| 516 |
"B<nsenter>(1), B<unshare>(1), B<clock_settime>(2), B<setns>(2), " |
| 517 |
"B<unshare>(2), B<namespaces>(7), B<time>(7)" |
| 518 |
|
| 519 |
#. type: TH |
| 520 |
#: debian-trixie fedora-44 fedora-rawhide |
| 521 |
#, no-wrap |
| 522 |
msgid "2024-05-02" |
| 523 |
msgstr "2 мая 2024 г." |
| 524 |
|
| 525 |
#. type: TH |
| 526 |
#: debian-trixie |
| 527 |
#, no-wrap |
| 528 |
msgid "Linux man-pages 6.9.1" |
| 529 |
msgstr "Страницы руководства Linux 6.9.1" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: debian-trixie fedora-44 fedora-rawhide |
| 533 |
msgid "" |
| 534 |
"B<CLOCK_MONOTONIC> (and likewise B<CLOCK_MONOTONIC_COARSE> and " |
| 535 |
"B<CLOCK_MONOTONIC_RAW>), a nonsettable clock that represents monotonic time " |
| 536 |
"since\\[em]as described by POSIX\\[em]\"some unspecified point in the past\"." |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: SS |
| 540 |
#: debian-trixie fedora-44 fedora-rawhide |
| 541 |
#, no-wrap |
| 542 |
msgid "I</proc/>pidI</timens_offsets>" |
| 543 |
msgstr "I</proc/>pidI</timens_offsets>" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
#: debian-trixie fedora-44 fedora-rawhide |
| 547 |
#, no-wrap |
| 548 |
msgid "" |
| 549 |
"$ B<cat /proc/self/timens_offsets>\n" |
| 550 |
"monotonic 0 0\n" |
| 551 |
"boottime 0 0\n" |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: debian-trixie fedora-44 fedora-rawhide |
| 556 |
#, no-wrap |
| 557 |
msgid "" |
| 558 |
"$ B<readlink /proc/$$/ns/time>\n" |
| 559 |
"time:[4026531834]\n" |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: debian-trixie fedora-44 fedora-rawhide |
| 564 |
#, no-wrap |
| 565 |
msgid "" |
| 566 |
"$ B<uptime --pretty>\n" |
| 567 |
"up 21 hours, 17 minutes\n" |
| 568 |
"$ B<./clock_times>\n" |
| 569 |
"CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n" |
| 570 |
"CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n" |
| 571 |
"CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n" |
| 572 |
"CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n" |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: debian-trixie fedora-44 fedora-rawhide |
| 577 |
#, no-wrap |
| 578 |
msgid "" |
| 579 |
"$ B<PS1=\"ns2# \" sudo unshare -T -- bash --norc>\n" |
| 580 |
"ns2# B<echo \"monotonic $((2*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n" |
| 581 |
"ns2# B<echo \"boottime $((7*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n" |
| 582 |
msgstr "" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: debian-trixie fedora-44 fedora-rawhide |
| 586 |
#, no-wrap |
| 587 |
msgid "" |
| 588 |
"ns2# B<cat /proc/$$/timens_offsets>\n" |
| 589 |
"monotonic 172800 0\n" |
| 590 |
"boottime 604800 0\n" |
| 591 |
"ns2# B<echo \"boottime $((9*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n" |
| 592 |
"bash: echo: write error: Permission denied\n" |
| 593 |
msgstr "" |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: debian-trixie fedora-44 fedora-rawhide |
| 597 |
#, no-wrap |
| 598 |
msgid "" |
| 599 |
"ns2# B<uptime --pretty>\n" |
| 600 |
"up 1 week, 21 hours, 18 minutes\n" |
| 601 |
"ns2# B<./clock_times>\n" |
| 602 |
"CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n" |
| 603 |
"CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n" |
| 604 |
"CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n" |
| 605 |
"CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n" |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: debian-trixie fedora-44 fedora-rawhide |
| 610 |
#, no-wrap |
| 611 |
msgid "" |
| 612 |
"ns2# B<readlink /proc/$$/ns/time>\n" |
| 613 |
"time:[4026531834]\n" |
| 614 |
"ns2# B<readlink /proc/$$/ns/time_for_children>\n" |
| 615 |
"time:[4026532900]\n" |
| 616 |
"ns2# B<readlink /proc/self/ns/time> # Creates a child process\n" |
| 617 |
"time:[4026532900]\n" |
| 618 |
msgstr "" |
| 619 |
|
| 620 |
#. type: Plain text |
| 621 |
#: debian-trixie fedora-44 fedora-rawhide |
| 622 |
#, no-wrap |
| 623 |
msgid "" |
| 624 |
"$ B<uptime --pretty>\n" |
| 625 |
"up 21 hours, 19 minutes\n" |
| 626 |
"$ B<./clock_times>\n" |
| 627 |
"CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n" |
| 628 |
"CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n" |
| 629 |
"CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n" |
| 630 |
"CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: TH |
| 634 |
#: fedora-44 fedora-rawhide |
| 635 |
#, no-wrap |
| 636 |
msgid "Linux man-pages 6.13" |
| 637 |
msgstr "Страницы руководства Linux 6.13" |
| 638 |
|
| 639 |
#. type: TH |
| 640 |
#: mageia-cauldron |
| 641 |
#, no-wrap |
| 642 |
msgid "Linux man-pages 6.17" |
| 643 |
msgstr "Страницы руководства Linux 6.17" |
| 644 |
|
| 645 |
#. type: TH |
| 646 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 647 |
#, no-wrap |
| 648 |
msgid "Linux man-pages (unreleased)" |
| 649 |
msgstr "Страницы руководства Linux (не выпущены)" |