Since you have the well-known "ps aux | grep $THING | grep -v grep" pattern in there, I'll plug one of my favorite shell functions:
psgrep () {
ps aux | sed -n '1p;/\<sed\>/d;/'"$1"'/p'
}
This does basically the same, but includes the header line from `ps aux` in the output. For instance: $ psgrep alacritty
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
majewsky 3500 0.4 0.5 1427280 93644 ? Sl 12:55 0:01 alacrittyInteresting! Might also be useful for CSV mogrification then.
Re:Encrypted Backup Shootout
by andrewchambers on Sunday January 03, 2021 @01:42AM
(#25620045)
Really interesting to see, thanks for doing that, I feel like many fast and good rolling hash functions are yet to be invented.
I’ve had no experience with the other tools mentioned in this post so I cant provide benchmark feedback, but just wanted to say that I’ve been a happy tarsnap customer for a couple of years now. It’s well documented and does exactly what it’s supposed to. Well done.
I also had "while true; do ps aux | grep tarsnap | grep -v grep; sleep 5; done" running in a different window to monitor the RSS (I don't know what the right flags are to time(1) to get that data on Linux) and it maxed out at 11472 kB.
I suspect that Tarsnap is slower than the other options, though. That's something which I'm not able to compare easily.
If the author is interested in adding Tarsnap to his comparison, I'd love to help (and can provide a free account for benchmarking).