| Age | Commit message (Collapse) | Author |
|
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
- barWidth = winW/numBars (no -1), advance x by barW only
- Eliminates uncleared 1px columns that showed as vertical lines
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
- README: add Hotkeys section (1,2,3,e,h,n,q,w,a,y,d,c,f,v,arrows)
- README: network interface and netlink config docs
- Display: default window width 1200; clear bar slots to fix CPU/mem/net mixing
- Display: numBars count only non-nil hosts (layout matches draw)
- Display: network bars (key 3), net interface choice and n=cycle
- Display: extended peak line (e), cpu/net avg keys (a,y,d,c) with feedback
- Config: default barwidth 1200; netint/netlink in --help
- Collector: parse_test Linux-style net stats
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
- Clear renderer every frame so toggling cores off shows single bar again
- Add drawMemBar: RAM (dark grey/black) and Swap (grey/black) per host
- Remove redrawBg; always clear before draw
- README updates
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
- Collector: always send all CPU lines so key 1 can toggle per-core view
- Display: use float division in drawCPUBar to avoid divide-by-zero panic
- Display: count actual CPU bars for bar width so all cores fit on screen
- Display: use local showMem/showNet for layout, add stdout feedback for 1/2/3
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
- Module codeberg.org/snonux/loadbars, Go 1.25
- cmd/loadbars, internal/{app,config,collector,display,stats,constants,version}
- SDL display, shell script for remote (no Perl), config/cluster support
- Magefile: build, test, install, uninstall/deinstall
- NOTICE for go-sdl2 attribution (BSD-3-Clause)
- Default to localhost when no hosts given (no SSH)
- Remove loadbars-go binary name; build as loadbars
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
Amp-Thread-ID: https://ampcode.com/threads/T-019c58b3-06fb-733d-8fc1-f268fe7f70d5
Co-authored-by: Amp <amp@ampcode.com>
|
|
This reverts commit 79627ce3c419a6a6d6e03c83e7c62333b60345d8.
|
|
Major refactoring to fix SDL threading crashes on modern Linux with
sdl12-compat. Perl threads are incompatible with SDL 1.2 compatibility
layer, causing segfaults in TTF_RenderText_Solid.
Changes:
- Replace threads::create with fork() for process-based concurrency
- Implement IPC using pipes instead of threads::shared memory
- Add read_from_processes() to handle pipe-based data transfer
- Update signal handling for SIGTERM and SIGUSR1 in child processes
- Remove all :shared attributes from variables
- Update process termination to use waitpid() instead of thread joins
This allows loadbars to monitor multiple remote hosts simultaneously
without SDL threading conflicts. Each host runs in its own forked
process with completely separate memory space.
Tested successfully with 3 remote hosts on Fedora 43.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
|
- Rename justfile to Justfile (conventional naming)
- Remove documentation target from Justfile
- Deprecated manpage functionality in favor of README.md
|
|
- Convert all POD files to Markdown format
- Replace Makefile with justfile for build automation
- Remove deprecated Debian packaging files and related directories
- Update copyright year from 2013 to 2026 in Constants.pm and loadbars
- Remove obsolete docs directory (bugs, wishlist, and generated files)
- Fix sum() function in Utils.pm to handle undef values properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|