Axel Beckert ⌨🐧🐪🚴😷 XTaran on Nostr: #TIL: Filter in #htop (either via pressing F4 or via commandline option "-F") can't ...
#TIL: Filter in #htop (either via pressing F4 or via commandline option "-F") can't do regular expressions, but the pipe character "|" can be used to separate multiple search terms. E.g. only showing processes which have `systemd` or `sd-pam` in their name works like this:
htop -F 'systemd|sd-pam'
#unix #linux #commandline #cli #climagic #tui
Published at
2025-01-16 13:40:41Event JSON
{
"id": "854057c00065b515dd398d7b456947b07154c7f43bc84c38cfc333dcf3393265",
"pubkey": "ea46c68a6fb7afc7bf913656260d0a3a2bd027b098507c7735d71f01515ac46f",
"created_at": 1737034841,
"kind": 1,
"tags": [
[
"t",
"til"
],
[
"t",
"htop"
],
[
"t",
"unix"
],
[
"t",
"linux"
],
[
"t",
"commandline"
],
[
"t",
"cli"
],
[
"t",
"climagic"
],
[
"t",
"tui"
],
[
"proxy",
"https://chaos.social/users/xtaran/statuses/113838315349753125",
"activitypub"
]
],
"content": "#TIL: Filter in #htop (either via pressing F4 or via commandline option \"-F\") can't do regular expressions, but the pipe character \"|\" can be used to separate multiple search terms. E.g. only showing processes which have `systemd` or `sd-pam` in their name works like this:\n\nhtop -F 'systemd|sd-pam'\n\n#unix #linux #commandline #cli #climagic #tui",
"sig": "4fb36d4c18ea7969a9de825782677aef6317b0259a6eb6687002321a1b281defda31979d17804c3f513560cbb116499ddbd96cdb54b0dadc97b210267a9e3656"
}