<feed xmlns='http://www.w3.org/2005/Atom'>
<title>whoson.git/README.md, branch fix/constexpr-constants</title>
<subtitle>List interactive TSO/E, z/OSMF, and SSH sessions on z/OS</subtitle>
<id>https://git.abendless.com/whoson.git/atom?h=fix%2Fconstexpr-constants</id>
<link rel='self' href='https://git.abendless.com/whoson.git/atom?h=fix%2Fconstexpr-constants'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/'/>
<updated>2026-11-29T00:41:20Z</updated>
<entry>
<title>Build as C23 and pin the control-block layout</title>
<updated>2026-11-29T00:41:20Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-29T00:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=0922e0b31b3a476c250d8677fb76fdf2d542723e'/>
<id>urn:sha1:0922e0b31b3a476c250d8677fb76fdf2d542723e</id>
<content type='text'>
The overlays become packed C23 structs, so the offsets are the sum of the
field widths instead of hand-written padding, and every field the walk reads
is pinned by static_assert. The CSCB and the ASSB are now validated by their
eye-catchers (and CHASID for the CSCB) before they supply a userid, a logon
procedure or CPU time.

The CPU column prints a compact duration instead of hours:minutes:seconds,
which read 1947:50:11 for a long session.
</content>
</entry>
<entry>
<title>Fix the code review findings for 939f3ec</title>
<updated>2026-11-28T20:37:34Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T20:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=8f41c5a331d07580c9faf0adec41b314a97cba93'/>
<id>urn:sha1:8f41c5a331d07580c9faf0adec41b314a97cba93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release 1.1.0 and package as a zopen port</title>
<updated>2026-11-28T05:57:08Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T05:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=e8a4c44ab45e808113f206581a3cd8d6d3e38bc7'/>
<id>urn:sha1:e8a4c44ab45e808113f206581a3cd8d6d3e38bc7</id>
<content type='text'>
- buildenv: zopen stable line from the release tarball, DEV from main,
  make check as the port check, install under $ZOPEN_INSTALL_DIR.
- Size the session table from ASVTMAXU plus the process count, and stop
  collapsing SSH rows by ASID, so sessions sharing an address space are
  all listed.
- Read ASSBASST for every session, not only those with a CSCB.
- CHANGELOG 1.1.0, VERSION 1.1.0, README/CONTRIBUTING zopen and release
  steps, CI checks that buildenv agrees with VERSION.
- Suppress the Linux-clangd cascade for the z/OS-only headers by its
  real diagnostic ids.
</content>
</entry>
<entry>
<title>Fix the review findings for 552c76c</title>
<updated>2026-11-28T03:35:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T03:35:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=2d57ddfcc32e62a74305b7e6bf5fb4df8d64709e'/>
<id>urn:sha1:2d57ddfcc32e62a74305b7e6bf5fb4df8d64709e</id>
<content type='text'>
CPU time is now TOD units (&gt;&gt; 12) and includes ASSBASST. TSO user and
logon procedure come from the CSCB. SSH sessions come from the
w_getpsent() process tree and join the address space by ASID. The ASVT
walk sizes itself from ASVTMAXU, validates each entry, and a fault while
reading a terminated address space skips that row instead of abending.

Output follows the zopen character-set convention: ASCII in ISO8859-1
files and IBM-1047 on terminals and pipes, driven by the descriptor tag,
with F_CONTROL_CVT saved and restored around the run. README, CHANGELOG,
CONTRIBUTING, CI and the issue/PR templates are corrected, and the
z/OS 2.5 floor is stated.
</content>
</entry>
<entry>
<title>Read sessions from common storage, one row per session</title>
<updated>2026-11-26T01:23:39Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T01:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=943973653539ac4c46032b9dd18047997974ade3'/>
<id>urn:sha1:943973653539ac4c46032b9dd18047997974ade3</id>
<content type='text'>
Replace the ZOAU display parsing with a walk of CVT -&gt; ASVT -&gt; ASCB. The
address space list, the TSO/E test (ASCBTSB), the CPU accumulators
(ASCBEJST + ASCBSRBT) and the two name pointers (ASCBJBNI, ASCBJBNS) are
all in common storage, so the program needs no ZOAU library, no LIBPATH,
no console and no authorization.

The table is now one row per interactive session and nothing else: the
started tasks, OMVS daemons and shell children that used to fill it are
gone. TYPE is TSO/E, z/OSMF or SSH. A TSO/E logon is a row because it has
a TSO/E session block; it is z/OSMF when the session was logged on by the
z/OSMF logon procedure, which is how z/OSMF gets a user in (the z/OSMF
Configuration Guide's COMMONPROC/FILEPROC, IZUFPROC by default); an SSH
session is an sshd started with -R, since the listener runs without it.

PID and the user come from ps -A -o pid,jobname,user,time,args, joined to
the address space by job name. JOBNAME and LOGONPROC are separate columns
because ASCBJBNI and ASCBJBNS are different names; the CPU counters are
printed as hours:minutes:seconds.

README and CHANGELOG describe the new design and the three types.
</content>
</entry>
<entry>
<title>README: unpack a release the way z/OS actually wants</title>
<updated>2026-11-25T06:01:51Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T06:01:51Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=7f4030c50e256fd27cb935a570cd7ee7d84f75e8'/>
<id>urn:sha1:7f4030c50e256fd27cb935a570cd7ee7d84f75e8</id>
<content type='text'>
gh release download, gzip, pax, then chtag ISO8859-1: z/OS tar cannot gunzip,
and without the chtag IBM make reads the Makefile as a single line and stops
with FSUM8705 No target.  Verified by building the published v1.0.0 tarball on
CBT: warning-free, 57344 bytes, --version prints whoson 1.0.0.
</content>
</entry>
<entry>
<title>GitHub: CI, release workflow, templates, changelog, contributing</title>
<updated>2026-11-25T05:57:53Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=2af0e2310412b8d95cad98cafb2f7b69cb753507'/>
<id>urn:sha1:2af0e2310412b8d95cad98cafb2f7b69cb753507</id>
<content type='text'>
ci.yml checks clang-format (pinned to 23.1.5, since the tool moves line
breaks between releases) and that the Makefile still parses under GNU make:
the build itself needs z/OS and ZOAU, which no hosted runner has.

release.yml runs on a v* tag, refuses one that disagrees with VERSION,
archives the sources with git archive, and attaches the tarball and its
sha256 to the release.  No binary: whoson links the ZOAU 64-bit DLL.

Also an issue form that asks for the console display behind a wrong row, a PR
template, CONTRIBUTING.md with the build, style and release steps, and
CHANGELOG.md with 1.0.0.  README gains badges, the usage lines and an install
section.
</content>
</entry>
<entry>
<title>Makefile, README: record that every build is the release artifact</title>
<updated>2026-11-25T05:53:02Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=74df2ab81e8777fa3d6d8e72f83b01d6591409c5'/>
<id>urn:sha1:74df2ab81e8777fa3d6d8e72f83b01d6591409c5</id>
<content type='text'>
O3 without -g already; a z/OS program object has no symbol table, so there is
nothing for strip to remove: strings finds no function names in the binary,
/bin/strip leaves its size alone, and the driver ignores -s as a compile-only
flag.  Saying so keeps a strip step from being added to no effect.
</content>
</entry>
<entry>
<title>whoson: report SSH session CPU time, processes and the display USERID</title>
<updated>2026-11-25T05:49:22Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=f846648e980bcf21b1dafda08637ea19c490c2a4'/>
<id>urn:sha1:f846648e980bcf21b1dafda08637ea19c490c2a4</id>
<content type='text'>
An SSH session had no CPU figure: NA.  Its OMVS process reports CT_SECS,
so use that, and print both it and the TSO/E CT as seconds.milliseconds
through one fmt_cpu() instead of passing the raw text through.

PROCS counts what the session is running, by walking the pid tree down
from its own process.  Counting by address space is wrong: each fork gets
its own ASID on z/OS, so the shell is never in the sshd's ASID.

USERID= in the DISPLAY TS record is the account; the first column is the
job name and the two can differ.

Reindent the source to .clang-format (four spaces, attached braces).
</content>
</entry>
<entry>
<title>whoson: write help, errors and the table for the destination's character set</title>
<updated>2026-11-24T19:41:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-24T19:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=24dc65f3343f114013dbfb0821d95f28d74f156d'/>
<id>urn:sha1:24dc65f3343f114013dbfb0821d95f28d74f156d</id>
<content type='text'>
CEE converts stdio output from ASCII to EBCDIC when stdout is a terminal, and
sshd converts a command's pipe or socket the other way, so printf was mangled
one way or the other. emit() writes with write(2) and converts to EBCDIC only
when the descriptor is not a terminal; the help text, usage error, diagnostics
and the table all go through it.
</content>
</entry>
</feed>
