1SYSTEMD-ID128(1)                 systemd-id128                SYSTEMD-ID128(1)
2
3
4

NAME

6       systemd-id128 - Generate and print sd-128 identifiers
7

SYNOPSIS

9       systemd-id128 [OPTIONS...] new
10
11       systemd-id128 [OPTIONS...] machine-id
12
13       systemd-id128 [OPTIONS...] boot-id
14
15       systemd-id128 [OPTIONS...] invocation-id
16

DESCRIPTION

18       id128 may be used to conveniently print sd-id128(3) UUIDs. What
19       identifier is printed depends on the specific verb.
20
21       With new, a new random identifier will be generated.
22
23       With machine-id, the identifier of the current machine will be printed.
24       See machine-id(5).
25
26       With boot-id, the identifier of the current boot will be printed.
27
28       Both machine-id and boot-id may be combined with the
29       --app-specific=app-id switch to generate application-specific IDs. See
30       sd_id128_get_machine(3) for the discussion when this is useful.
31
32       With invocation-id, the identifier of the current service invocation
33       will be printed. This is available in systemd services. See
34       systemd.exec(5).
35

OPTIONS

37       The following options are understood:
38
39       -p, --pretty
40           Generate output as programming language snippets.
41
42       -a app-id, --app-specific=app-id
43           With this option, an identifier that is the result of hashing the
44           application identifier app-id and the machine identifier will be
45           printed. The app-id argument must be a valid sd-id128 string
46           identifying the application.
47
48       -h, --help
49           Print a short help text and exit.
50
51       --version
52           Print a short version string and exit.
53

EXIT STATUS

55       On success, 0 is returned, a non-zero failure code otherwise.
56

SEE ALSO

58       systemd(1), sd-id128(3), sd_id128_get_machine(3)
59
60
61
62systemd 241                                                   SYSTEMD-ID128(1)
Impressum