dependabot[bot]
be24fa3859
Bump bytes from 1.10.1 to 1.11.1 in /socktop_wasm_test ( #27 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.10.1 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.10.1...v1.11.1 )
---
updated-dependencies:
- dependency-name: bytes
dependency-version: 1.11.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 16:14:57 -08:00
dependabot[bot]
39619b2845
Bump bytes from 1.11.0 to 1.11.1 ( #28 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: bytes
dependency-version: 1.11.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 16:14:46 -08:00
dependabot[bot]
40c925e7f9
Bump time from 0.3.44 to 0.3.47 ( #29 )
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.44 to 0.3.47.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.44...v0.3.47 )
---
updated-dependencies:
- dependency-name: time
dependency-version: 0.3.47
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 16:14:29 -08:00
jason
8f69e469e6
Update README with website link
2025-11-30 10:21:26 -08:00
jason
3024816525
hotfix for issue with socktop agent not creating ssl certificate on first launch after upgrade of axum server version.
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-11-21 00:21:05 -08:00
jason
1d7bc42d59
fix unit test, move to macro cargo_bin!
2025-11-21 00:07:44 -08:00
jason
518ae8c2bf
update axum server version
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
v1.50.0
2025-11-17 15:09:53 -08:00
jason
6eb1809309
set connector back to crate version
2025-11-17 14:15:39 -08:00
jason
1c01902a71
update cargo version number
2025-11-17 14:13:48 -08:00
jason
9d302ad475
patch header for small monitors and increase cargo version in advance of publish.
2025-11-17 11:52:22 -08:00
jason
7875f132f7
Make help modal scrollable for small resolutions
...
- Add Up/Down arrow key handling in help modal
- Display scrollbar when content exceeds viewport
- Update title to indicate scrollability
- Fixes content cutoff on small terminal windows
2025-11-17 11:29:23 -08:00
jason
0d789fb97c
Add TUI improvements: CPU averaging, max memory tracking, and fuzzy process search ( #23 )
...
This commit implements several major improvements to the TUI experience:
1. CPU Average Display in Main Window
- Show average CPU usage over monitoring period alongside current value
- Format: "CPU avg (now: 45.2% | avg: 52.3%)"
- Helps identify sustained vs momentary CPU spikes
2. Max Memory Tracking in Process Details Modal
- Track and display peak memory usage since monitoring started
- Shown as "Max Memory: 67.8 MB" in yellow for emphasis
- Helps identify memory leaks and usage patterns
- Resets when switching to different process
3. Fuzzy Process Search
- Press / to activate search mode with bordered search box
- Type to fuzzy-match process names (case-insensitive)
- Press Enter to auto-select first result
- Navigate results with arrow keys while typing
- Press c to clear filter
- Press / again to edit existing search
Search box features:
- Yellow bordered box for high visibility
- Active mode: "Search: query_"
- Filter mode: "Filter: query (press / to edit, c to clear)"
Technical implementation:
- Centralized filtering with get_filtered_sorted_indices()
- Consistent filtering across display, navigation, mouse, and auto-scroll
- Proper content area offset calculation for search box
- Real-time filtering as user types
4. Code Quality Improvements
- Created ProcessDisplayParams and ProcessKeyParams structs
- Created MemoryIoParams struct for process modal rendering
- Reduced function arguments to stay under clippy limits
- Exported get_filtered_sorted_indices for reuse
Files Modified:
- socktop/src/app.rs: Search state, auto-scroll with filtering, max memory tracking
- socktop/src/ui/cpu.rs: CPU average calculation and display
- socktop/src/ui/processes.rs: Fuzzy search, filtering, parameter structs
- socktop/src/ui/modal.rs: Updated help modal with new shortcuts
- socktop/src/ui/modal_process.rs: Max memory display, MemoryIoParams struct
- socktop/src/ui/modal_types.rs: Added max_mem_bytes field
Testing:
- All tests pass
- No clippy warnings
- Cargo fmt applied
- Tested search, navigation, mouse clicks, and auto-scroll
- Verified on both filtered and unfiltered process lists
Breaking Changes:
- None (all changes are additive features)
Closes: (performance monitoring improvements)
2025-11-17 11:24:32 -08:00
jason
5ddaed298b
Optimize socktop_agent for reduced binary size and memory footprint ( #22 )
...
This commit implements several optimizations to make socktop_agent
significantly more lightweight without sacrificing functionality.
Changes:
1. Reduced Tokio Runtime Thread Pool (main.rs)
- Changed from default (num_cpus) to 2 worker threads
- Configurable via SOCKTOP_WORKER_THREADS environment variable
- Rationale: Agent is I/O-bound, not CPU-intensive
- Memory savings: ~6-12 MB on typical 8-core systems
2. Minimal Tokio Features (Cargo.toml)
- Changed from features = ["full"] to minimal set:
["rt-multi-thread", "net", "sync", "macros"]
- Removed unused features: io, fs, process, signal, time
- Binary size reduction: ~200-300 KB
- Faster compile times
3. Optional Tracing (Cargo.toml, main.rs, metrics.rs)
- Made tracing dependencies optional with "logging" feature flag
- Disabled by default for production builds
- Binary size reduction: 1.5 MB (27%!)
- Enable with: cargo build --features logging
4. Cleanup (Cargo.toml)
- Removed unused tokio-process dependency
Results:
- Binary size: 5.6 MB → 4.0 MB (28% reduction)
- Memory usage: 25-40 MB → 15-25 MB (30-40% reduction)
- Worker threads: 8+ → 2 (75% reduction on 8-core systems)
Testing:
- All tests pass with and without logging feature
- No clippy warnings
- Functionality unchanged
- Production-ready
Breaking Changes:
- None (all changes are backward compatible)
- Default behavior is now more lightweight
- Logging can be re-enabled with --features logging
To build with logging for debugging:
cargo build --package socktop_agent --release --features logging
2025-11-17 09:51:41 -08:00
jason
1528568c30
Merge pull request #21 from jasonwitty/feature/about-modal
...
Feature/about modal
2025-11-17 00:18:55 -08:00
jason
6f238cdf25
tweak hotkeys, add info panel, optimize fonts and hotkeys for about and info panel.
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-11-17 00:05:02 -08:00
jason
ffe451edaa
cargo fmt
2025-10-26 02:32:11 -07:00
jason
c9bde52cb1
move logo to them file.
2025-10-26 02:30:46 -07:00
jason
0603746d7c
cargo fmt
2025-10-26 02:18:01 -07:00
jason
25632f3427
Add About modal with sock ASCII art
2025-10-26 02:16:42 -07:00
jason
e51cdb0c50
display tweaks
...
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
make it more pretty
2025-10-06 12:05:12 -07:00
jason
1cb05d404b
fix: add backward compatibility for DiskInfo fields
2025-10-06 11:43:58 -07:00
jason
4196066e57
fix: NVMe temperature detection - contains() check and /dev/ prefix
2025-10-06 11:40:49 -07:00
jason
47e96c7d92
fix: refresh component values to collect NVMe temperatures
2025-10-06 11:15:36 -07:00
jason
bae2ecb79a
fix: lookup temperature for parent disk, not partition
2025-10-06 11:06:30 -07:00
jason
bd0d15a1ae
fix: correct disk size aggregation and nvme temperature detection
2025-10-06 10:52:44 -07:00
jason
689498c5f4
fix: show parent disks with aggregated partition stats
2025-10-06 10:46:51 -07:00
jason
34e260a612
feat: disk section enhancements - temperature, partition indentation, duplicate filtering
2025-10-06 10:30:55 -07:00
jason
47eff3a75c
remove unused import. / clippy cleanup
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-10-06 10:01:40 -07:00
jason
0210b49219
cargo fmt
2025-10-06 09:52:36 -07:00
jason
70a150152c
fix for windows build error
2025-10-06 09:51:11 -07:00
jason
f4b54db399
fix for windows build error.
2025-10-06 09:50:38 -07:00
jason
e857cfc665
add processes window cleanup
...
- refactor code
- add unit test
- fix warnings.
2025-10-05 00:07:27 -07:00
jason
e66008f341
initial check for process summary screen
...
This check in offers alpha support for per process metrics, you can view threads, process CPU usage over time, IO, memory, CPU time, parent process, command, uptime and journal entries. This is unfinished but all major functionality is available and I wanted to make it available to feedback and testing.
2025-10-02 16:54:27 -07:00
jason
a238ce320b
Merge pull request #15 from jasonwitty/feature/connection-error-modal
...
feature - add error modal support and retry
2025-09-15 10:34:50 -07:00
jason
b635f5d7f4
feature - add error modal support and retry
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-09-15 10:16:47 -07:00
jason
18b41c1b45
Merge pull request #14 from jasonwitty/feature/extract-socktop-connector
...
Refactor for additional socktop connector library
2025-09-10 15:01:17 -07:00
jason
b4ed036357
bump version
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
2025-09-10 13:05:50 -07:00
jason
ec0e409488
fix clippy warnings.
2025-09-10 11:43:12 -07:00
jason
08f248c696
Housekeeping and QOL
...
non functional update:
- refactor stream of consciousness into separate files.
- combine equivelent functions used in networking and wasm features.
- cleanups and version bumps.
2025-09-10 10:39:21 -07:00
jason
cea133b7da
show actual metrics
2025-09-10 09:32:00 -07:00
jason
e679896ca0
Add AI generated zliij plugin scafold
2025-09-09 15:51:44 -07:00
jason
5e5fde190a
add screenshot
2025-09-09 13:49:06 -07:00
jason
8286d21a2a
Merge branch 'feature/extract-socktop-connector' of https://github.com/jasonwitty/socktop into feature/extract-socktop-connector
2025-09-09 13:43:48 -07:00
jason
b91fc7b016
allow user to easily override location with text entry.
2025-09-09 13:43:45 -07:00
jason
f936767835
Update README.md
2025-09-09 02:57:32 -07:00
jason
5f2777cdb2
Update README.md
2025-09-09 02:53:50 -07:00
jason
49164da105
docs: Complete WASM documentation update - reflect full networking capabilities
2025-09-09 02:42:12 -07:00
jason
22c1f80e70
docs(connector): update README to reflect full WASM support
2025-09-09 02:38:35 -07:00
jason
a486225008
fix: formatting from cargo fmt
2025-09-09 02:32:20 -07:00
jason
d97f7507e8
feat(connector): implement gzipped protobuf support for WASM and fix all warnings
2025-09-09 02:30:16 -07:00