CHCHP(8)
π NAME π
okay so bestie, this is the CHCHP(8) page from the System Manager's Manual β and the star is chchp, here to modify channel-path state. π
β¨ SYNOPSIS β¨
chchp [-v|--vary value] [-c|--configure value]
[-a|--attribute key=value] chpid
[-h|--help] [--version]
π¦ DESCRIPTION π¦
The chchp command modifies the state of one or more channel-paths. Channel-path identifiers are specified in hexadecimal notation either simply as the CHPID-number (e.g. e0) or in the form <cssid>.<id>, where <cssid> is the channel-subsystem identifier and <id> is the CHPID-number (e.g. 0.7e). π«Ά
An operation can be performed on more than one channel-path by specifying multiple identifiers as a blank or comma-separated list or a range or a combination of both (see EXAMPLES section). no cap, that's lowkey convenient.
Heads up: modifying the state of channel-paths can affect the availability of I/O devices as well as trigger associated functions (e.g. channel-path verification or device scanning) which in turn can result in a temporary increase in processor, memory and I/O load. π
π OPTIONS π
vibe check each flag, bestie β every single one is here, fr fr.
-v value,--vary valueβ Change the logical channel-path state to value. The logical channel-path state determines whether Linux will be actively using a channel-path for I/O. A value of"0"specifies the logical offline state. A value of"1"specifies the logical online state.
Note: setting the logical state to offline may cause a currently running I/O operation to be aborted. π
-c value,--configure valueβ Change the channel-path configuration state to value. A value of"0"specifies standby state. A value of"1"specifies configured state.
Note: setting the configured state to standby may cause a currently running I/O operation to be aborted. π
-a key=value,--attribute key=valueβ Change the channel-path sysfs attribute key to value. key can be the name of any available channel-path sysfs attribute (e.g."configure"or"status"), while value can take any valid value that may be written to the attribute (e.g."0"or"offline"). This is a more generic way of modifying the state of a channel-path via the sysfs interface. It is intended for cases where sysfs attributes or attribute values are available in the kernel but not inchchp. π«Ά-h,--helpβ Print a short help text, then exit. β¨-V,--versionβ Print version number, then exit. π
π§ͺ EXAMPLES π§ͺ
the receipts, periodt β run these exactly, bestie:
chchp -c 0 19β Put channel-path0.19into standby state.chchp -a configure=0 19β Write value"0"into sysfs attribute"configure"of channel-path0.19. The result is the same as when using the commandchchp -c 0 19chchp -c 1 0.65-0.6fβ Put channel-paths0.65to0.6finto configured state.chchp -v 0 0.12,0.7f,0.17-0.20β Put channel-paths0.12,0.7fand0.17to0.20into logical offline state.
π SEE ALSO π
lschp(8) β go give it a look, iykyk. π¦
π and that's the chchp(8) tea! source/version: s390-tools; date: Mar 2007; footer manual tag: CHCHP(8). mwah π
π¦ where this page comes from
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- Copyright 2017 IBM Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms