whoson · Reference
Configuring custom z/OSMF logon procedures in whoson
whoson lists active interactive sessions on a z/OS system (TSO/E, z/OSMF, and SSH) while intentionally excluding started tasks, OMVS daemons, and child shells behind sshd.
How z/OSMF sessions are identified
Because z/OSMF logs users on through TSO/E address spaces, a z/OSMF session looks structurally identical to a 3270 TSO/E logon except for its CSCB logon procedure (CHCLS). By default, IBM ships IZUFPROC in SYS1.PROCLIB for both z/OSMF FILEPROC and COMMONPROC.
When whoson sees a TSO/E session whose LOGONPROC matches a known z/OSMF procedure, it reports the session type as z/OSMF instead of TSO/E:
USER TYPE ASID JOBNAME LOGONPROC PID CPU
CBT002 TSO/E 0046 CBT002 CBT002 - 12m31s
SKURTZ z/OSMF 003D SKURTZ IZUFPROC - 3m41s
SKURTZ SSH 004C SKURTZ - 33555303 2.00s
Adding site-specific z/OSMF procedures
If your installation uses custom logon procedures for z/OSMF (for example IZUPROC1 or ZMFPROC), set WHOSON_ZOSMF_PROCS in your environment:
export WHOSON_ZOSMF_PROCS="IZUFPROC,IZUPROC1,ZMFPROC"
whoson
Procedure names are matched against the session’s LOGONPROC column. If a z/OSMF user shows up as TSO/E, check the LOGONPROC value reported by whoson and include it in WHOSON_ZOSMF_PROCS.