diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-25 21:50:55 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-25 21:50:55 -0600 |
| commit | cf9ba0191735a811b64d05f163ba275dd1d327d1 (patch) | |
| tree | 6929c120151cd3d6c69f925b7c28a3220734dc51 /README.md | |
| parent | 1724a442e6f984278923dd56b3ee68e743eebee4 (diff) | |
| download | ztop-fix/default-tui.tar.gz | |
ztop: start the full-screen view for a bare run on a terminalfix/default-tui
`ztop` with no arguments printed the one-shot CSA report even on a tty,
which is not what a person expects from a monitor. Now a terminal and no
report option means the TUI; -a, -s, -j, -x and a pipe keep the text.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -54,7 +54,8 @@ make demo TESTCC=cc # the library on its own ## Use ```text -ztop one-shot CSA +ztop full-screen view when stdout is a terminal, + else one-shot CSA ztop -a sqa SQA, -a lsqa, -a pvt ztop -a csa,pvt several areas ztop -s system name, host, release, address-space count @@ -63,8 +64,10 @@ ztop -x dump the raw VSMLIST work and data areas ztop -d [seconds] interactive, 2 s refresh (1..60) ``` -Without `-d` the bytes go to standard output, suitable for `grep` and for a -shell prompt. With `-d` there are three views, selected with `TAB`: +With a terminal and no report option, `ztop` starts the full-screen view. +Anything that selects a report (`-a`, `-s`, `-j`, `-x`) or pipes the output +gets the one-shot text instead, suitable for `grep` and for a shell +prompt. There are three views, selected with `TAB`: | view | | | --- | --- | |
