SMC_CHK(8)
π NAME π
smc_chk β SMC support diagnostics. (Yup bestie, you're on the SMC_CHK(8) page from the Linux Programmer's Manual, and we're about to make diagnostics make sense. π
β¨)
β¨ SYNOPSIS β¨
smc_chk [OPTIONS] -C IP
smc_chk [OPTIONS] -S
smc_chk -i INTERFACE
π¦ DESCRIPTION π¦
okay so here's the whole vibe: use -C/--connect to obtain diagnostic information about the SMC support of a service that runs at a given IP address. Otherwise, you can use -S/--server to start a server before connecting with -C. Use -i/--pnetid to print the PNET ID of a specified INTERFACE. That's the main-character flow. π
π OPTIONS π
-C,--connectIP β Test SMC-D and SMC-R connectivity to IP. Use option-p/--portto specify a PORT. IP can specify any service, including remote services. By default, IP is assumed to be in IPv4 format. Specify-6/--IPv6if IP is an address in IPv6 format. π₯-d,--debugβ Show debug messages. π-h,--helpβ Display a briefsmc_chkusage information. π«Ά-i,--pnetidINTERFACE β Print the PNET ID of interface INTERFACE and exit. An appended asterisk*indicates that the PNET ID was defined viasmc_pnet. π-p,--portPORT β Use port PORT for any live tests. When starting a server via-S,--server, and if PORT is already in use, the next free port is used. π-S,--serverβ Start a server for manual tests. Use option-p/--portto specify a port. β¨-v,--versionβ Display version information. π-6,--ipv6β IP address provided is in IPv6 format. π
πΈ Examples πΈ
Check whether a z/OS instance running at 192.168.37.1 is enabled for SMC using the 3270 console service running on port 23
smc_chk -C 192.168.37.1 -p 23
Print PNET ID of interface eth0
smc_chk -i eth0
Start server on port 45901 (or the next successive free port) for smc_chk -C to connect to
smc_chk -S -p 45901
π₯ RETURN CODES π₯
On success, smc_chk returns 0. If an error occurs, a return code other than 0 is returned. πβ¨
π SEE ALSO π
af_smc(7), smc_pnet(8), smc_run(8), smcd(8), smcr(8), smcss(8)
π That's it, bestie! This page is from smc-tools, January 2021 β SMC_CHK(8) energy all the way. Go diagnose something iconic. π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms