con / con/duct

oddity from observing the plot: add max's to legend, and check what is "total" pcpu/plot average?

Open
#399 3 comments 0 reactions 1 assignee Claimed by @asmacdo View on GitHub
Dominant language
Python
Stars
12
Forks
6
Avg merge
5d 18h
Merged PRs (30d)
2

Description

Image

- I see no pmem % (blue) at all... I guess could be so close to 0% . I think we should add to legend for each label statement of "(max: 0.4%)"
- percentage reported for pcpu (orange) to go above 5000% on my laptop with 20 cores... how?

```
❯ con-duct pp .duct/logs/2026.03.03T08.33.27-3094989_info.json
{'command': 'tox',
'duct_version': '0.17.0',
'env': {},
'execution_summary': {'average_pcpu': 75.22020148462352,
'average_pmem': 0.4169671261930009,
'average_rss': 428973830.24390274,
'average_vsz': 434399471722.4183,
'command': 'tox',
'end_time': 1772546849.5217395,
'exit_code': 0,
'logs_prefix': '.duct/logs/2026.03.03T08.33.27-3094989_',
'num_reports': 36,
'num_samples': 1886,
'peak_pcpu': 5363.8,
'peak_pmem': 0.9,
'peak_rss': 1324171264,
'peak_vsz': 4402499809280,
'start_time': 1772544807.275399,
'wall_clock_time': 2042.2463405132294,
'working_directory': '/home/yoh/proj/datalad/datalad-maint-bf-tox-3.13'},
'gpu': None,
'message': '',
'output_paths': {'info': '.duct/logs/2026.03.03T08.33.27-3094989_info.json',
'prefix': '.duct/logs/2026.03.03T08.33.27-3094989_',
'stderr': '.duct/logs/2026.03.03T08.33.27-3094989_stderr',
'stdout': '.duct/logs/2026.03.03T08.33.27-3094989_stdout',
'usage': '.duct/logs/2026.03.03T08.33.27-3094989_usage.json'},
'schema_version': '0.2.2',
'system': {'cpu_total': 20,
'hostname': 'bilena',
'memory_total': 67078639616,
'uid': 47521,
'user': 'yoh'},
'working_directory': '/home/yoh/proj/datalad/datalad-maint-bf-tox-3.13'}
❯ free -h
total used free shared buff/cache available
Mem: 62Gi 21Gi 841Mi 5,7Gi 46Gi 40Gi
Swap: 8,0Gi 6,1Gi 1,9Gi
```

visidata shows

Image

so I wonder if that "totals" are simply incorrect -- @asmacdo what is the "total" for pcpu and how does it relate to "averages" pcpu which seems to make more sense

cool feature of visidata -- flattening!

found
- https://github.com/saulpw/visidata/discussions/1605

so with ` use z( and then enter 0 to flatten that column fully` I got

Image

and then I could scatter plot

Image

as to how to change marker for scatter plots:
- https://github.com/saulpw/visidata/issues/963

full set of logs: https://www.oneukrainian.com/tmp/2026.03.03T08.33.27-3094989.tgz

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.