mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-08 16:15:49 +02:00
haveged: add page (#16979)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
f496e451fb
commit
19ec64b7a3
1 changed files with 36 additions and 0 deletions
36
pages/linux/haveged.md
Normal file
36
pages/linux/haveged.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# haveged
|
||||
|
||||
> Hardware-based random number generator.
|
||||
> More information: <https://manned.org/haveged>.
|
||||
|
||||
- Generate a random number:
|
||||
|
||||
`sudo haveged`
|
||||
|
||||
- Run `haveged` in foreground:
|
||||
|
||||
`sudo haveged {{[-F|--Foreground]}}`
|
||||
|
||||
- Set file path for output of `haveged`:
|
||||
|
||||
`sudo haveged {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
- Set run level for daemon:
|
||||
|
||||
`sudo haveged {{[-r|--run]}} {{runlevel}}`
|
||||
|
||||
- Set collection buffer size in kibibyte words:
|
||||
|
||||
`sudo haveged {{[-b|--buffer]}} {{buffersizeinKW}}`
|
||||
|
||||
- Insert a command to an already running `haveged` process or daemon:
|
||||
|
||||
`sudo haveged {{[-c|--command]}} {{command}}`
|
||||
|
||||
- Set cache size in kibibyte words:
|
||||
|
||||
`sudo haveged {{[-d|--data]}} {{cachesizeinKW}}`
|
||||
|
||||
- Set number of bytes to write to the output file:
|
||||
|
||||
`sudo haveged {{[-n|--number]}} {{byteamount}}`
|
Loading…
Add table
Reference in a new issue