chzcrypt - Modify the cryptographic configuration
Use the chzcrypt command to configure cryptographic adapters that are managed by the cryptographic device driver and modify the AP bus attributes.
To display the attributes, use the lszcrypt command.
chzcrypt syntax
Where:
- -e or --enable
- sets the given cryptographic adapters online.
- -d or --disable
- sets the given cryptographic adapters offline.
- -a or --all
- sets all available cryptographic adapters online or offline.
- <device ID>
- specifies a cryptographic adapter that is to be set online or offline. A cryptographic adapter can be specified either in decimal notation or hexadecimal notation with a '0x' prefix.
- -p or --poll-thread-enable
- enables the poll thread of the cryptographic device driver.
- -n or --poll-thread-disable
- disables the poll thread of the cryptographic device driver.
- -c <timeout> or --config-time <timeout>
- sets configuration timer for rescanning the AP bus to <timeout> seconds.
- -t <time>or --poll-timeout=<time>
- sets the high-resolution polling timer to <time> nanoseconds. To display the value, use lszcrypt -b.
- -V or --verbose
- displays verbose messages.
- -v or --version
- displays version information.
- -h or --help
- displays help information for the command. To view the man page, enter man chzcrypt.
Examples
These examples illustrate common uses for chzcrypt.
- To set the cryptographic adapters 0, 1, 4, 5, and 12 online (in decimal notation):
chzcrypt -e 0 1 4 5 12
- To set all available cryptographic adapters offline:
chzcrypt -d -a
- To set the configuration timer for rescanning the AP bus to 60 seconds and disable the poll
thread of the cryptographic device driver:
chzcrypt -c 60 -n