← 返回命令列表

Linux command

uuidd 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Run uuidd

uuidd -d

Request

uuidd -r

Request bulk

uuidd -r -n [number_of_uuids]

Request

uuidd -t

Kill

uuidd -k

Run

uuidd -d -T [seconds]

说明

uuidd is a daemon used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUIDs, in a secure and guaranteed-unique fashion even when many threads on different CPUs request UUIDs simultaneously. The daemon can generate both random (version 4) and time-based (version 1) UUIDs. Part of the util-linux package.

参数

-d, --debug
Run in debugging mode (prevents daemonizing)
-F, --no-fork
Do not daemonize using a double-fork
-k, --kill
Kill a currently running uuidd daemon
-n, --uuids _N_
Request bulk response of N UUIDs
-P, --no-pid
Do not create a pid file
-p, --pid _FILE_
Specify pathname for the pid file
-q, --quiet
Suppress some failure messages
-r, --random
Test by requesting a random-based UUID
-s, --socket _PATH_
Use specified pathname for the unix-domain socket
-S, --socket-activation
Expect socket from calling process (implies --no-fork and --no-pid)
-t, --time
Test by requesting a time-based UUID
-T, --timeout _N_
Exit after N seconds of inactivity
-C, --cont-clock _N_
Activate continuous clock handling for time-based UUIDs; default offset is 2 hours

FAQ

What is the uuidd command used for?

uuidd is a daemon used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUIDs, in a secure and guaranteed-unique fashion even when many threads on different CPUs request UUIDs simultaneously. The daemon can generate both random (version 4) and time-based (version 1) UUIDs. Part of the util-linux package.

How do I run a basic uuidd example?

Run `uuidd -d` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d, --debug do in uuidd?

Run in debugging mode (prevents daemonizing)