Debian Codegraph @

templates/man7/time_namespaces.7.pot

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