d72d8fb89c
fix: clean up top-processes display, collapse noisy interfaces, fix failed-login count
...
- get_top_processes: use 'comm' instead of 'args' so the actual binary
name is shown instead of a path truncated before reaching it; also
exclude the ps invocation itself, which was always appearing with an
inflated %cpu artifact from its own brief runtime.
- Network Information: interfaces matching grouped_adapter_patterns
(Docker br-*/veth*/docker0 by default) are now tallied into a single
summary line instead of printed individually. On a host running many
containers this cut the section from 100+ lines to a handful.
- get_security_info: failed-login count used `journalctl -u sshd`, but
the systemd unit is named ssh.service on Debian/Ubuntu, so the query
silently matched zero entries there. Filter by `_COMM=sshd` instead,
which matches the actual binary name regardless of unit naming, and
add /var/log/secure as a fallback alongside /var/log/auth.log.
2026-07-17 20:23:38 -07:00
c7b7934e68
fix: locale/unicode compatibility in quickinfo, bump PRbL submodule
...
- Pin LC_ALL=C on free/uptime/sensors calls parsed by grep/awk on
English words and fixed column positions; these broke under
non-English locales. Uptime's token-position parsing is still
format-fragile across procps versions/distros; noted as a follow-up
for a /proc/uptime-based rewrite.
- Replace hardcoded '°C' with a deg_symbol variable that collapses to
plain "C" when PRbL/functions reports unicode_supported=false, so
temperature readouts stay pure ASCII on terminals/locales that can't
render the degree sign.
- Bump PRbL submodule for the ANSI-code and box-border fallback fixes.
2026-07-17 16:01:31 -07:00
1357eb7148
chore: repoint PRbL submodule to Circuit-Forge fork, add mediatools
...
Replaces yt-dlp bashrc snippet with broader mediatools aliases/functions
and adds a couple of standalone scripts (protonvpn-cli, audio-grabber).
2026-07-17 11:48:38 -07:00
7171dc9d47
Merge branch 'main' of https://github.com/pyr0ball/PRbL-bashrc into power_mon
2025-04-11 18:28:55 +00:00
Alan Weinstock
a6d3ea9829
removed duplicate aliases
2025-03-05 13:34:43 -08:00
alanweinstock
43a0cd4958
added power monitoring feature
2025-02-27 15:27:05 -08:00
alanweinstock
e9d021c268
fixed funky apt output breaking update checks
2025-02-27 14:58:30 -08:00
alanweinstock
49ab48a5e8
added spacing fix for network info
2025-02-26 22:52:46 -08:00
alanweinstock
b4a6cbfc1e
fixed issue with apt check formatting
2025-02-26 22:43:23 -08:00
alanweinstock
0b9220e5da
iterated feature version and minor version for feature and bugfix
2025-02-26 22:30:47 -08:00
alanweinstock
c37ea0935c
fixed colorization shifting disk info columns
2025-02-26 22:29:51 -08:00
alanweinstock
45085f2393
fixed macs array getting cleared as it was built
2025-02-26 21:56:19 -08:00
alanweinstock
f6bcfc9a4c
added wan ip failovers, fixed disk info
2025-02-26 21:34:58 -08:00
alanweinstock
f4e60d27ca
fixed firewall check needing elevated permissions
...
commented out lxc section as it's not handled well yet
2025-02-26 12:23:59 -08:00
alanweinstock
7bc614d8c1
fixed missing array declaration
2025-02-26 09:48:10 -08:00
alanweinstock
35f5986219
3.x refactor for new functions, new features, new version
2025-02-25 20:57:53 -08:00
e8bf95fd5c
Merge branch 'main' of https://github.com/pyr0ball/PRbL-bashrc into develop
2024-09-22 15:32:36 -07:00
0a4b9dc719
Merge branch 'develop' of https://github.com/pyr0ball/PRbL-bashrc into develop
2024-09-22 14:11:32 -07:00
2b570faf2b
updated to PRbL 1.7.3, added new aliases
2024-09-22 13:59:56 -07:00
57d6da462d
fixed wan ip get
2024-09-11 10:30:08 -07:00
9b308fdaf8
fixed broken wan check
2024-04-14 10:13:23 -07:00
f6a86d2cc8
iterated minor version
2023-09-28 23:11:00 -07:00
9ed70241e9
fixed grep string using wrong var
2023-09-28 23:08:02 -07:00
f349ab0854
fixed functions source and issues when curl is missing
2023-09-28 22:47:41 -07:00
660b5649a1
changed ifconfig to ip a for wider compatibility
2023-08-12 17:22:53 -07:00
1239305ff4
Merge branch 'main' of github.com:pyr0ball/PRbL-bashrc into develop
2023-08-11 01:36:12 -07:00
8b370797f2
fixed syntax error
2023-08-11 01:31:19 -07:00
f9a7cc57ac
fixed formatting issues in quickinfo
2023-08-11 01:11:40 -07:00
alanw
7ffd90baec
fixed unexpended tabs in quickinfo
2023-06-29 21:10:32 -07:00
71f7a54f7b
added execute bit to bashrc
2023-05-24 14:48:19 -07:00
896e09f4c5
fixed file location expansion
2023-04-26 01:37:01 -07:00
9b1ba843dc
disabling external settings for now as it's still broken
2023-03-23 23:27:10 -07:00
7e8ba12964
added further check for release upgrade before attempting to query it
2023-03-19 21:58:31 -07:00
f27f47f507
added missing 'then'
2023-03-14 15:16:46 -07:00
06fe9ba5b3
added default settings to setup
2023-03-14 00:55:07 -07:00
7f0606c3aa
better failover handling for settings and functions import
2023-03-14 00:30:10 -07:00
b876a993c3
changed settings file handling
2023-03-13 15:18:34 -07:00
dd18013da3
prep for optimization refactor
2023-03-09 13:31:23 -08:00
99b66e37d6
inverted logic check to avoid collisions
2023-03-09 12:30:10 -08:00
778c98f276
v2.0.2 quickinfo - removed old unused code and added comments
2023-03-09 12:01:53 -08:00
74c83516c8
uncommented non-interactive trap after removing cache support
2023-03-09 11:58:14 -08:00
259a7e87cb
fixed settings location syntax
2023-03-09 10:48:14 -08:00
fbb7b0b468
version 2.0.0, refactored out cache, introduced external settings file
2023-03-09 10:25:01 -08:00
70e4cde953
removed old test script
2023-03-09 09:47:41 -08:00
651f3d75ff
added option to show/hide disconnected nets
2023-03-08 14:13:04 -08:00
5d829b31d8
fixed updates not displaying
2023-03-08 13:25:19 -08:00
3983cf6721
refactored disk info
2023-03-08 12:57:30 -08:00
72e6f8d1db
fixed typo in readme
2023-03-07 15:48:25 -08:00
5fe9a163e2
added filter preferences to top of script
2023-03-07 15:09:25 -08:00
1be64f972c
added better handling for network section and updates
2023-03-07 12:50:02 -08:00