Debian Codegraph @

po/ro/man7/time_namespaces.7.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.22.0\n"
8 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
9 "PO-Revision-Date: 2025-11-06 21:22+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "time_namespaces"
25 msgstr "time_namespaces"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "time_namespaces - overview of Linux time namespaces"
51 msgstr ""
52 "time_namespaces - prezentare generală a spațiilor de nume de timp Linux"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "DESCRIPTION"
59 msgstr "DESCRIERE"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Time namespaces virtualize the values of two system clocks:"
65 msgstr ""
66 "Spațiile de nume de timp virtualizează valorile a două ceasuri de sistem:"
67
68 #. type: IP
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "\\[bu]"
73 msgstr "\\[bu]"
74
75 #. type: Plain text
76 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
77 #: opensuse-tumbleweed
78 msgid ""
79 "B<CLOCK_MONOTONIC> (and likewise B<CLOCK_MONOTONIC_COARSE> and "
80 "B<CLOCK_MONOTONIC_RAW>), a nonsettable clock that represents monotonic time "
81 "since \\[em]as described by POSIX\\[em] \"some unspecified point in the "
82 "past\"."
83 msgstr ""
84 "B<CLOCK_MONOTONIC> (și, de asemenea, B<CLOCK_MONOTONIC_COARSE> și "
85 "B<CLOCK_MONOTONIC_RAW>), un ceas care nu poate fi reglat și care reprezintă "
86 "timpul monoton de la - așa cum este descris de POSIX - „un punct "
87 "nespecificat din trecut”."
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "B<CLOCK_BOOTTIME> (and likewise B<CLOCK_BOOTTIME_ALARM>), a nonsettable "
94 "clock that is identical to B<CLOCK_MONOTONIC>, except that it also includes "
95 "any time that the system is suspended."
96 msgstr ""
97 "B<CLOCK_BOOTTIME> (și, de asemenea, B<CLOCK_BOOTTIME_ALARM>), un ceas "
98 "nereglabil care este identic cu B<CLOCK_MONOTONIC>, cu excepția faptului că "
99 "include, de asemenea, orice timp în care sistemul este suspendat."
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 "Thus, the processes in a time namespace share per-namespace values for these "
106 "clocks. This affects various APIs that measure against these clocks, "
107 "including: B<clock_gettime>(2), B<clock_nanosleep>(2), B<nanosleep>(2), "
108 "B<timer_settime>(2), B<timerfd_settime>(2), and I</proc/uptime>."
109 msgstr ""
110 "Astfel, procesele dintr-un spațiu de nume de timp împart valorile pentru "
111 "fiecare spațiu de nume pentru aceste ceasuri. Acest lucru afectează diverse "
112 "API-uri care măsoară în funcție de aceste ceasuri, inclusiv: "
113 "B<clock_gettime>(2), B<clock_nanosleep>(2), B<nanosleep>(2), "
114 "B<timer_settime>(2), B<timerfd_settime>(2) și I</proc/uptime>."
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "Currently, the only way to create a time namespace is by calling "
121 "B<unshare>(2) with the B<CLONE_NEWTIME> flag. This call creates a new time "
122 "namespace but does I<not> place the calling process in the new namespace. "
123 "Instead, the calling process's subsequently created children are placed in "
124 "the new namespace. This allows clock offsets (see below) for the new "
125 "namespace to be set before the first process is placed in the namespace. "
126 "The I</proc/>pidI</ns/time_for_children> symbolic link shows the time "
127 "namespace in which the children of a process will be created. (A process "
128 "can use a file descriptor opened on this symbolic link in a call to "
129 "B<setns>(2) in order to move into the namespace.)"
130 msgstr ""
131 "În prezent, singura modalitate de a crea un spațiu de nume de timp este prin "
132 "apelarea B<unshare>(2) cu fanionul B<CLONE_NEWTIME>. Acest apel creează un "
133 "nou spațiu de nume de timp, dar nu plasează procesul apelant în noul spațiu "
134 "de nume. În schimb, copiii procesului de apelare creați ulterior sunt "
135 "plasați în noul spațiu de nume. Acest lucru permite ca decalajele de ceas (a "
136 "se vedea mai jos) pentru noul spațiu de nume să fie stabilite înainte ca "
137 "primul proces să fie plasat în spațiul de nume. Legătura simbolică I</proc/"
138 ">pidI</ns/time_for_children> arată spațiul de nume temporal în care vor fi "
139 "creați copiii unui proces; (un proces poate utiliza un descriptor de fișier "
140 "deschis pe această legătură simbolică într-un apel la B<setns>(2) pentru a "
141 "se muta în spațiul de nume)."
142
143 #. type: SS
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 #, no-wrap
147 msgid "\\f[I]/proc/\\fBpid\\f[I]/timens_offsets\\fB"
148 msgstr "\\f[I]/proc/\\fBpid\\f[I]/timens_offsets\\fB"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "Associated with each time namespace are offsets, expressed with respect to "
155 "the initial time namespace, that define the values of the monotonic and boot-"
156 "time clocks in that namespace. These offsets are exposed via the file I</"
157 "proc/>pidI</timens_offsets>. Within this file, the offsets are expressed as "
158 "lines consisting of three space-delimited fields:"
159 msgstr ""
160 "Fiecărui spațiu de nume de timp îi sunt asociate decalaje, exprimate în "
161 "raport cu spațiul de nume de timp inițial, care definesc valorile ceasurilor "
162 "monotonice și de pornire din acel spațiu de nume. Aceste decalaje sunt "
163 "expuse prin intermediul fișierului I</proc/>pidI</timens_offsets>. În cadrul "
164 "acestui fișier, decalajele sunt exprimate ca linii formate din trei câmpuri "
165 "delimitate prin spații:"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "E<lt>clock-idE<gt> E<lt>offset-secsE<gt> E<lt>offset-nanosecsE<gt>\n"
172 msgstr "E<lt>clock-idE<gt> E<lt>offset-secsE<gt> E<lt>offset-nanosecsE<gt>\n"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "The I<clock-id> is a string that identifies the clock whose offsets are "
179 "being shown. This field is either I<monotonic>, for B<CLOCK_MONOTONIC>, or "
180 "I<boottime>, for B<CLOCK_BOOTTIME>. The remaining fields express the offset "
181 "(seconds plus nanoseconds) for the clock in this time namespace. These "
182 "offsets are expressed relative to the clock values in the initial time "
183 "namespace. The I<offset-secs> value can be negative, subject to "
184 "restrictions noted below; I<offset-nanosecs> is an unsigned value."
185 msgstr ""
186 "I<clock-id> este un șir de caractere care identifică ceasul ale cărui "
187 "decalaje sunt afișate. Acest câmp este fie I<monotonic>, pentru "
188 "B<CLOCK_MONOTONIC>, fie I<boottime>, pentru B<CLOCK_BOOTTIME>. Câmpurile "
189 "rămase exprimă decalajul (secunde plus nanosecunde) pentru ceasul din acest "
190 "spațiu de nume de timp. Aceste decalaje sunt exprimate în raport cu valorile "
191 "ceasului din spațiul de nume de timp inițial. Valoarea I<offset-secs> poate "
192 "fi negativă, sub rezerva restricțiilor menționate mai jos; I<offset-"
193 "nanosecs> este o valoare fără semn."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "In the initial time namespace, the contents of the I<timens_offsets> file "
200 "are as follows:"
201 msgstr ""
202 "În spațiul de nume al timpului inițial, conținutul fișierului "
203 "I<timens_offsets> este următorul:"
204
205 #. type: Plain text
206 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
207 #: opensuse-tumbleweed
208 #, no-wrap
209 msgid ""
210 "$B< cat /proc/self/timens_offsets>\n"
211 "monotonic 0 0\n"
212 "boottime 0 0\n"
213 msgstr ""
214 "$B< cat /proc/self/timens_offsets>\n"
215 "monotonic 0 0\n"
216 "boottime 0 0\n"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "In a new time namespace that has had no member processes, the clock offsets "
223 "can be modified by writing newline-terminated records of the same form to "
224 "the I<timens_offsets> file. The file can be written to multiple times, but "
225 "after the first process has been created in or has entered the namespace, "
226 "B<write>(2)s on this file fail with the error B<EACCES>. In order to write "
227 "to the I<timens_offsets> file, a process must have the B<CAP_SYS_TIME> "
228 "capability in the user namespace that owns the time namespace."
229 msgstr ""
230 "Într-un nou spațiu de nume de timp care nu a avut niciun proces membru, "
231 "decalajele ceasului pot fi modificate prin scrierea de înregistrări cu "
232 "terminație de linie nouă de aceeași formă în fișierul I<timens_offsets>. "
233 "Fișierul poate fi scris de mai multe ori, dar după ce primul proces a fost "
234 "creat în spațiul de nume sau a intrat în spațiul de nume, scrierea "
235 "B<write>(2) pe acest fișier eșuează cu eroarea B<EACCES>. Pentru a putea "
236 "scrie în fișierul I<timens_offsets>, un proces trebuie să aibă capacitatea "
237 "B<CAP_SYS_TIME> în spațiul de nume al utilizatorului care deține spațiul de "
238 "nume al timpului."
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "Writes to the I<timens_offsets> file can fail with the following errors:"
245 msgstr "Scrierile în fișierul I<timens_offsets> pot eșua cu următoarele erori:"
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<EINVAL>"
252 msgstr "B<EINVAL>"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "An I<offset-nanosecs> value is greater than 999,999,999."
258 msgstr "O valoare I<offset-nanosecs> este mai mare de 999,999,999."
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "A I<clock-id> value is not valid."
264 msgstr "O valoare I<clock-id> nu este validă."
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<EPERM>"
271 msgstr "B<EPERM>"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid "The caller does not have the B<CAP_SYS_TIME> capability."
277 msgstr "Apelantul nu dispune de capacitatea B<CAP_SYS_TIME>."
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<ERANGE>"
284 msgstr "B<ERANGE>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "An I<offset-secs> value is out of range. In particular;"
290 msgstr "O valoare I<offset-secs> este în afara intervalului. În particular;"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "I<offset-secs> can't be set to a value which would make the current time on "
297 "the corresponding clock inside the namespace a negative value; and"
298 msgstr ""
299 "I<offset-secs> nu poate fi fixat la o valoare care ar face ca ora curentă a "
300 "ceasului corespunzător din interiorul spațiului de nume să fie o valoare "
301 "negativă; și"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "I<offset-secs> can't be set to a value such that the time on the "
308 "corresponding clock inside the namespace would exceed half of the value of "
309 "the kernel constant B<KTIME_SEC_MAX> (this limits the clock value to a "
310 "maximum of approximately 146 years)."
311 msgstr ""
312 "I<offset-secs> nu poate fi fixat la o valoare astfel încât ora ceasului "
313 "corespunzător din interiorul spațiului de nume să depășească jumătate din "
314 "valoarea constantei B<KTIME_SEC_MAX> a nucleului (aceasta limitează valoarea "
315 "ceasului la un maxim de aproximativ 146 de ani)."
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "In a new time namespace created by B<unshare>(2), the contents of the "
322 "I<timens_offsets> file are inherited from the time namespace of the creating "
323 "process."
324 msgstr ""
325 "Într-un nou spațiu de nume de timp creat de B<unshare>(2), conținutul "
326 "fișierului I<timens_offsets> este moștenit de la spațiul de nume de timp al "
327 "procesului de creare."
328
329 #. type: SH
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "NOTES"
334 msgstr "NOTE"
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid ""
340 "Use of time namespaces requires a kernel that is configured with the "
341 "B<CONFIG_TIME_NS> option."
342 msgstr ""
343 "Utilizarea spațiilor de nume de timp necesită un nucleu care este configurat "
344 "cu opțiunea B<CONFIG_TIME_NS>."
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "Note that time namespaces do not virtualize the B<CLOCK_REALTIME> clock. "
351 "Virtualization of this clock was avoided for reasons of complexity and "
352 "overhead within the kernel."
353 msgstr ""
354 "Rețineți că spațiile de nume de timp nu virtualizează ceasul "
355 "B<CLOCK_REALTIME>. Virtualizarea acestui ceas a fost evitată din motive de "
356 "complexitate și de suprasolicitare în cadrul nucleului."
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid ""
362 "For compatibility with the initial implementation, when writing a I<clock-"
363 "id> to the I</proc/>pidI</timens_offsets> file, the numerical values of the "
364 "IDs can be written instead of the symbolic names show above; i.e., 1 instead "
365 "of I<monotonic>, and 7 instead of I<boottime>. For readability, the use of "
366 "the symbolic names over the numbers is preferred."
367 msgstr ""
368 "Pentru compatibilitate cu implementarea inițială, atunci când se scrie un "
369 "I<clock-id> în fișierul I</proc/>pidI</timens_offsets>, valorile numerice "
370 "ale ID-urilor pot fi scrise în locul numelor simbolice prezentate mai sus; "
371 "de exemplu, 1 în loc de I<monotonic> și 7 în loc de I<boottime>. Pentru "
372 "ușurința de citire, se preferă utilizarea numelor simbolice în locul celor "
373 "numerice."
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid ""
379 "The motivation for adding time namespaces was to allow the monotonic and "
380 "boot-time clocks to maintain consistent values during container migration "
381 "and checkpoint/restore."
382 msgstr ""
383 "Motivația pentru adăugarea de spații de nume de timp a fost aceea de a "
384 "permite ceasurilor monotonice și de pornire să mențină valori consecvente în "
385 "timpul migrării containerului și al punctului de verificare/restaurare."
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "EXAMPLES"
392 msgstr "EXEMPLE"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "The following shell session demonstrates the operation of time namespaces. "
399 "We begin by displaying the inode number of the time namespace of a shell in "
400 "the initial time namespace:"
401 msgstr ""
402 "Următoarea sesiune shell demonstrează funcționarea spațiilor de nume de "
403 "timp. Începem prin afișarea numărului nodului-i al spațiului de nume de timp "
404 "al unui shell în spațiul de nume de timp inițial:"
405
406 #. type: Plain text
407 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
408 #: opensuse-tumbleweed
409 #, no-wrap
410 msgid ""
411 "$B< readlink /proc/$$/ns/time>\n"
412 "time:[4026531834]\n"
413 msgstr ""
414 "$B< readlink /proc/$$/ns/time>\n"
415 "time:[4026531834]\n"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "Continuing in the initial time namespace, we display the system uptime using "
422 "B<uptime>(1) and use the I<clock_times> example program shown in "
423 "B<clock_getres>(2) to display the values of various clocks:"
424 msgstr ""
425 "Continuând în spațiul de nume al timpului inițial, vom afișa timpul de "
426 "funcționare a sistemului folosind B<uptime>(1) și vom folosi programul de "
427 "exemplu I<clock_times> prezentat în B<clock_getres>(2) pentru a afișa "
428 "valorile diferitelor ceasuri:"
429
430 #. type: Plain text
431 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
432 #: opensuse-tumbleweed
433 #, no-wrap
434 msgid ""
435 "$B< uptime --pretty>\n"
436 "up 21 hours, 17 minutes\n"
437 "$B< ./clock_times>\n"
438 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n"
439 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n"
440 "CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n"
441 "CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n"
442 msgstr ""
443 "$B< uptime --pretty>\n"
444 "up 21 hours, 17 minutes\n"
445 "$B< ./clock_times>\n"
446 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n"
447 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n"
448 "CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n"
449 "CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n"
450
451 #. type: Plain text
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 msgid ""
455 "We then use B<unshare>(1) to create a time namespace and execute a "
456 "B<bash>(1) shell. From the new shell, we use the built-in B<echo> command "
457 "to write records to the I<timens_offsets> file adjusting the offset for the "
458 "B<CLOCK_MONOTONIC> clock forward 2 days and the offset for the "
459 "B<CLOCK_BOOTTIME> clock forward 7 days:"
460 msgstr ""
461 "Apoi folosim B<unshare>(1) pentru a crea un spațiu de nume de timp și pentru "
462 "a executa un shell B<bash>(1). Din noul shell, folosim comanda încorporată "
463 "B<echo> pentru a scrie înregistrări în fișierul I<timens_offsets>, ajustând "
464 "decalajul pentru ceasul B<CLOCK_MONOTONIC> înainte cu 2 zile și decalajul "
465 "pentru ceasul B<CLOCK_BOOTTIME> înainte cu 7 zile:"
466
467 #. type: Plain text
468 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
469 #: opensuse-tumbleweed
470 #, no-wrap
471 msgid ""
472 "$B< PS1=>ns2#B< sudo unshare -T -- bash --norc>\n"
473 "ns2#B< echo >monotonicB<$((2*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n"
474 "ns2#B< echo >boottimeB<$((7*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n"
475 msgstr ""
476 "$B< PS1=>ns2#B< sudo unshare -T -- bash --norc>\n"
477 "ns2#B< echo >monotonicB<$((2*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n"
478 "ns2#B< echo >boottimeB<$((7*24*60*60))>0\"B<E<gt>>/proc/$$/timens_offsets\"\n"
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid ""
484 "Above, we started the B<bash>(1) shell with the B<--norc> option so that no "
485 "start-up scripts were executed. This ensures that no child processes are "
486 "created from the shell before we have a chance to update the "
487 "I<timens_offsets> file."
488 msgstr ""
489 "Mai sus, am pornit shell-ul B<bash>(1) cu opțiunea B<--norc>, astfel încât "
490 "să nu fie executat niciun script de pornire. Acest lucru asigură faptul că "
491 "niciun proces-copil nu este creat din shell înainte de a avea șansa de a "
492 "actualiza fișierul I<timens_offsets>."
493
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 "We then use B<cat>(1) to display the contents of the I<timens_offsets> "
499 "file. The execution of B<cat>(1) creates the first process in the new time "
500 "namespace, after which further attempts to update the I<timens_offsets> file "
501 "produce an error."
502 msgstr ""
503 "Apoi folosim B<cat>(1) pentru a afișa conținutul fișierului "
504 "I<timens_offsets>. Executarea lui B<cat>(1) creează primul proces în noul "
505 "spațiu de nume de timp, după care alte încercări de actualizare a fișierului "
506 "I<timens_offsets> produc o eroare."
507
508 #. type: Plain text
509 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
510 #: opensuse-tumbleweed
511 #, no-wrap
512 msgid ""
513 "ns2#B< cat /proc/$$/timens_offsets>\n"
514 "monotonic 172800 0\n"
515 "boottime 604800 0\n"
516 "ns2#B< echo \\[dq]boottime $((9*24*60*60)) 0\\[dq] E<gt> /proc/$$/timens_offsets>\n"
517 "bash: echo: write error: Permission denied\n"
518 msgstr ""
519 "ns2#B< cat /proc/$$/timens_offsets>\n"
520 "monotonic 172800 0\n"
521 "boottime 604800 0\n"
522 "ns2#B< echo \\[dq]boottime $((9*24*60*60)) 0\\[dq] E<gt> /proc/$$/timens_offsets>\n"
523 "bash: echo: eroare de scriere: Permisiune refuzată\n"
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "Continuing in the new namespace, we execute B<uptime>(1) and the "
530 "I<clock_times> example program:"
531 msgstr ""
532 "Continuând în noul spațiu de nume, vom executa B<uptime>(1) și programul de "
533 "exemplu I<clock_times>:"
534
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 #, no-wrap
539 msgid ""
540 "ns2#B< uptime --pretty>\n"
541 "up 1 week, 21 hours, 18 minutes\n"
542 "ns2#B< ./clock_times>\n"
543 "CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n"
544 "CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n"
545 "CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n"
546 "CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n"
547 msgstr ""
548 "ns2#B< uptime --pretty>\n"
549 "up 1 week, 21 hours, 18 minutes\n"
550 "ns2#B< ./clock_times>\n"
551 "CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n"
552 "CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n"
553 "CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n"
554 "CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n"
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "From the above output, we can see that the monotonic and boot-time clocks "
561 "have different values in the new time namespace."
562 msgstr ""
563 "Din rezultatul de mai sus, putem vedea că ceasurile monotonic și de pornire "
564 "au valori diferite în noul spațiu de nume al timpului."
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
569 msgid ""
570 "Examining the I</proc/>pidI</ns/time> and I</proc/>pidI</ns/"
571 "time_for_children> symbolic links, we see that the shell is a member of the "
572 "initial time namespace, but its children are created in the new namespace."
573 msgstr ""
574 "Examinând legăturile simbolice I</proc/>pidI</ns/time> și I</proc/>pidI</ns/"
575 "time_for_children>, vedem că shell-ul este membru al spațiului de nume timp "
576 "inițial, dar copiii săi sunt creați în noul spațiu de nume."
577
578 #. type: Plain text
579 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
580 #: opensuse-tumbleweed
581 #, no-wrap
582 msgid ""
583 "ns2#B< readlink /proc/$$/ns/time>\n"
584 "time:[4026531834]\n"
585 "ns2#B< readlink /proc/$$/ns/time_for_children>\n"
586 "time:[4026532900]\n"
587 "ns2#B< readlink /proc/self/ns/time> # Creates a child process\n"
588 "time:[4026532900]\n"
589 msgstr ""
590 "ns2#B< readlink /proc/$$/ns/time>\n"
591 "time:[4026531834]\n"
592 "ns2#B< readlink /proc/$$/ns/time_for_children>\n"
593 "time:[4026532900]\n"
594 "ns2#B< readlink /proc/self/ns/time> # Creează un proces-copil\n"
595 "time:[4026532900]\n"
596
597 #. type: Plain text
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 msgid ""
601 "Returning to the shell in the initial time namespace, we see that the "
602 "monotonic and boot-time clocks are unaffected by the I<timens_offsets> "
603 "changes that were made in the other time namespace:"
604 msgstr ""
605 "Revenind la shell-ul din spațiul de nume de timp inițial, vedem că ceasurile "
606 "monotonic și de pornire nu sunt afectate de modificările I<timens_offsets> "
607 "care au fost făcute în celălalt spațiu de nume de timp:"
608
609 #. type: Plain text
610 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
611 #: opensuse-tumbleweed
612 #, no-wrap
613 msgid ""
614 "$B< uptime --pretty>\n"
615 "up 21 hours, 19 minutes\n"
616 "$B< ./clock_times>\n"
617 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n"
618 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n"
619 "CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n"
620 "CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n"
621 msgstr ""
622 "$B< uptime --pretty>\n"
623 "up 21 hours, 19 minutes\n"
624 "$B< ./clock_times>\n"
625 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n"
626 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n"
627 "CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n"
628 "CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n"
629
630 #. type: SH
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "SEE ALSO"
635 msgstr "CONSULTAȚI ȘI"
636
637 #. clone3() support for time namespaces is a work in progress
638 #. .BR clone3 (2),
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "B<nsenter>(1), B<unshare>(1), B<clock_settime>(2), B<setns>(2), "
644 "B<unshare>(2), B<namespaces>(7), B<time>(7)"
645 msgstr ""
646 "B<nsenter>(1), B<unshare>(1), B<clock_settime>(2), B<setns>(2), "
647 "B<unshare>(2), B<namespaces>(7), B<time>(7)"
648
649 #. type: TH
650 #: debian-trixie fedora-44 fedora-rawhide
651 #, no-wrap
652 msgid "2024-05-02"
653 msgstr "2 mai 2024"
654
655 #. type: TH
656 #: debian-trixie
657 #, no-wrap
658 msgid "Linux man-pages 6.9.1"
659 msgstr "Pagini de manual de Linux 6.9.1"
660
661 #. type: Plain text
662 #: debian-trixie fedora-44 fedora-rawhide
663 msgid ""
664 "B<CLOCK_MONOTONIC> (and likewise B<CLOCK_MONOTONIC_COARSE> and "
665 "B<CLOCK_MONOTONIC_RAW>), a nonsettable clock that represents monotonic time "
666 "since\\[em]as described by POSIX\\[em]\"some unspecified point in the past\"."
667 msgstr ""
668 "B<CLOCK_MONOTONIC> (și, de asemenea, B<CLOCK_MONOTONIC_COARSE> și "
669 "B<CLOCK_MONOTONIC_RAW>), un ceas care nu poate fi reglat și care reprezintă "
670 "timpul monoton de la - așa cum este descris de POSIX - „un punct "
671 "nespecificat din trecut”."
672
673 #. type: SS
674 #: debian-trixie fedora-44 fedora-rawhide
675 #, no-wrap
676 msgid "I</proc/>pidI</timens_offsets>"
677 msgstr "I</proc/>pidI</timens_offsets>"
678
679 #. type: Plain text
680 #: debian-trixie fedora-44 fedora-rawhide
681 #, no-wrap
682 msgid ""
683 "$ B<cat /proc/self/timens_offsets>\n"
684 "monotonic 0 0\n"
685 "boottime 0 0\n"
686 msgstr ""
687 "$ B<cat /proc/self/timens_offsets>\n"
688 "monotonic 0 0\n"
689 "boottime 0 0\n"
690
691 #. type: Plain text
692 #: debian-trixie fedora-44 fedora-rawhide
693 #, no-wrap
694 msgid ""
695 "$ B<readlink /proc/$$/ns/time>\n"
696 "time:[4026531834]\n"
697 msgstr ""
698 "$ B<readlink /proc/$$/ns/time>\n"
699 "time:[4026531834]\n"
700
701 #. type: Plain text
702 #: debian-trixie fedora-44 fedora-rawhide
703 #, no-wrap
704 msgid ""
705 "$ B<uptime --pretty>\n"
706 "up 21 hours, 17 minutes\n"
707 "$ B<./clock_times>\n"
708 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n"
709 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n"
710 "CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n"
711 "CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n"
712 msgstr ""
713 "$ B<uptime --pretty>\n"
714 "up 21 hours, 17 minutes\n"
715 "$ B<./clock_times>\n"
716 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 36m 41s)\n"
717 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 37m 18s)\n"
718 "CLOCK_MONOTONIC: 56338.247 (15h 38m 58s)\n"
719 "CLOCK_BOOTTIME : 76633.544 (21h 17m 13s)\n"
720
721 #. type: Plain text
722 #: debian-trixie fedora-44 fedora-rawhide
723 #, no-wrap
724 msgid ""
725 "$ B<PS1=\"ns2# \" sudo unshare -T -- bash --norc>\n"
726 "ns2# B<echo \"monotonic $((2*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
727 "ns2# B<echo \"boottime $((7*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
728 msgstr ""
729 "$ B<PS1=\"ns2# \" sudo unshare -T -- bash --norc>\n"
730 "ns2# B<echo \"monotonic $((2*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
731 "ns2# B<echo \"boottime $((7*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
732
733 #. type: Plain text
734 #: debian-trixie fedora-44 fedora-rawhide
735 #, no-wrap
736 msgid ""
737 "ns2# B<cat /proc/$$/timens_offsets>\n"
738 "monotonic 172800 0\n"
739 "boottime 604800 0\n"
740 "ns2# B<echo \"boottime $((9*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
741 "bash: echo: write error: Permission denied\n"
742 msgstr ""
743 "ns2# B<cat /proc/$$/timens_offsets>\n"
744 "monotonic 172800 0\n"
745 "boottime 604800 0\n"
746 "ns2# B<echo \"boottime $((9*24*60*60)) 0\" E<gt> /proc/$$/timens_offsets>\n"
747 "bash: echo: eroare de scriere: Permisiune refuzată\n"
748
749 #. type: Plain text
750 #: debian-trixie fedora-44 fedora-rawhide
751 #, no-wrap
752 msgid ""
753 "ns2# B<uptime --pretty>\n"
754 "up 1 week, 21 hours, 18 minutes\n"
755 "ns2# B<./clock_times>\n"
756 "CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n"
757 "CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n"
758 "CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n"
759 "CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n"
760 msgstr ""
761 "ns2# B<uptime --pretty>\n"
762 "up 1 week, 21 hours, 18 minutes\n"
763 "ns2# B<./clock_times>\n"
764 "CLOCK_REALTIME : 1585989457.056 (18356 days + 8h 37m 37s)\n"
765 "CLOCK_TAI : 1585989494.057 (18356 days + 8h 38m 14s)\n"
766 "CLOCK_MONOTONIC: 229193.332 (2 days + 15h 39m 53s)\n"
767 "CLOCK_BOOTTIME : 681488.629 (7 days + 21h 18m 8s)\n"
768
769 #. type: Plain text
770 #: debian-trixie fedora-44 fedora-rawhide
771 #, no-wrap
772 msgid ""
773 "ns2# B<readlink /proc/$$/ns/time>\n"
774 "time:[4026531834]\n"
775 "ns2# B<readlink /proc/$$/ns/time_for_children>\n"
776 "time:[4026532900]\n"
777 "ns2# B<readlink /proc/self/ns/time> # Creates a child process\n"
778 "time:[4026532900]\n"
779 msgstr ""
780 "ns2# B<readlink /proc/$$/ns/time>\n"
781 "time:[4026531834]\n"
782 "ns2# B<readlink /proc/$$/ns/time_for_children>\n"
783 "time:[4026532900]\n"
784 "ns2# B<readlink /proc/self/ns/time> # Creează un proces-copil\n"
785 "time:[4026532900]\n"
786
787 #. type: Plain text
788 #: debian-trixie fedora-44 fedora-rawhide
789 #, no-wrap
790 msgid ""
791 "$ B<uptime --pretty>\n"
792 "up 21 hours, 19 minutes\n"
793 "$ B<./clock_times>\n"
794 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n"
795 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n"
796 "CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n"
797 "CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n"
798 msgstr ""
799 "$ B<uptime --pretty>\n"
800 "up 21 hours, 19 minutes\n"
801 "$ B<./clock_times>\n"
802 "CLOCK_REALTIME : 1585989401.971 (18356 days + 8h 38m 51s)\n"
803 "CLOCK_TAI : 1585989438.972 (18356 days + 8h 39m 28s)\n"
804 "CLOCK_MONOTONIC: 56338.247 (15h 41m 8s)\n"
805 "CLOCK_BOOTTIME : 76633.544 (21h 19m 23s)\n"
806
807 #. type: TH
808 #: fedora-44 fedora-rawhide
809 #, no-wrap
810 msgid "Linux man-pages 6.13"
811 msgstr "Pagini de manual de Linux 6.13"
812
813 #. type: TH
814 #: mageia-cauldron
815 #, no-wrap
816 msgid "Linux man-pages 6.17"
817 msgstr "Pagini de manual de Linux 6.17"
818
819 #. type: TH
820 #: opensuse-leap-16-1 opensuse-tumbleweed
821 #, no-wrap
822 msgid "Linux man-pages (unreleased)"
823 msgstr "Pagini de manual Linux (nepublicate)"