LSCHP(8)
π lschp β list info about available channel-paths π
okay so bestie, this is the lschp page from section 8 β manual name LSCHP(8), System Manager's Manual energy β and we're about to get into channel-paths. Not me being obsessed with channel-path identifiers, but here we are. π
β¨ NAME β¨
lschp β list information about available channel-paths. Periodt.
πΈ SYNOPSIS πΈ
lschp [-h|--help] [-v|--version] [--format FORMAT] [ CHPID ]
π¦ DESCRIPTION π¦
The lschp command lists status and type information about available channel-paths. If you pass a CHPID argument, it returns the information for that specific channel-path identifier only β like a little spotlight, but for one channel-path. β¨
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). iykyk.
Column description β yes bestie, here's the tea on every column:
CHPIDβ Channel-path identifier.Varyβ Logical channel-path state:0= channel-path is not used for I/O1= channel-path is used for I/O
Cfg.β Channel-path configure state:0= stand-by1= configured2= reserved3= not recognized
Typeβ Channel-path type identifier.Cmgβ Channel measurement group identifier.Sharedβ Indicates whether a channel-path is shared between LPARs:0= channel-path is not shared1= channel-path is shared
PCHIDβ Physical channel-ID unless the 4-digit hexadecimal value is enclosed in parenthesis.
If the value is enclosed in parenthesis, no physical channel-ID is associated with the CHPID, and the value is an internal channel-ID.
For example, 0501 specifies a PCHID whereas (0502) specifies an internal channel-ID.
A column value of - indicates that a facility associated with the respective channel-path attribute is not available. So if you see a -, it's giving "not available, bestie" β not a typo. π
π OPTIONS π
-h,--helpβ Print a short help text, then exit. The "help me help you" option. π«Ά-v,--versionβ Print version number, then exit. Slay, version check. β¨--format FORMATβ Specify the output format. Supported formats includejson,json-seq,jsonl,pairsandcsv. See section "OUTPUT FORMAT" for more details. π
π OUTPUT FORMAT π
This section contains additional information for json output format.
π json
JSON output consists of a top-level object with the following properties (key-value pairs):
meta: Tool meta-data including API level, version, host name, and time of invocationchannel-paths: Information about available Channel-path
Example JSON output for channel-path with all properties:
{
"meta": {
"api_level": 1,
"version": "2.39.0-build-20260119",
"host": "localhost",
"time_epoch": 1769092556,
"time": "2026-01-22 15:35:56+0100"
},
"channel_paths": [
{
"chpid": "0.32",
"vary": 1,
"cfg": 1,
"type": 27,
"cmg": 2,
"shared": 1,
"chid": 576,
"chid_external": true
},
{
"chpid": "0.34",
"vary": 1,
"cfg": 0,
"type": 27,
"cmg": null,
"shared": null,
"chid": 608,
"chid_external": true
},
{
"chpid": "0.f8",
"vary": 1,
"cfg": 1,
"type": 36,
"cmg": 3,
"shared": 1,
"chid": 2040,
"chid_external": false
}
]
}
π SEE ALSO π
chchp(8)- More information on the Channel-path type identifier can be found at https://www.ibm.com/docs/en/zos/3.1.0?topic=iee196i-iee174i-form-2-37
Signed, sealed, and slayed by s390-tools Β· Mar 2007 Β· LSCHP(8) π«Άπ
π¦ 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