3 results for "7a5d8c92db1f5e5bb1a78e2bf957cda8"
>>106253098
That's how I backup my pool. Just rsync to a 20 TB drive every now and then which I connect with a USB dock.
>>105781878
The things I do for fastfetch...
{
"type": "command",
"text": "mapfile -t containers <<< \"$(ps aux | grep \"[s]hepherd.conf\" | awk -F ' ' 'NR>1 {print \"\"$2\"\";}')\" ; echo \"Monero: \"$(ps -o rss -p ${containers[0]} --ppid ${containers[0]} | awk -F ' ' 'NR>1 {print \"\"$1\"\";}' | awk '{printf \"%s+\",$0} END {print \"0\"}' | bc)\" KB memory usage - PID ${containers[0]}\"",
"key": "  ",
"keyColor": "blue"
},
Where it says "Monero" it'll instead use the nsenter command. After that I'll have to figure out how to automatically add these sections based on how many containers are running, but at that point I'll probably have some shell script monstrosity which edits the fastfetch config file before fastfetch is run. Heck, I should have done that already to avoid duplication in the config...
install guix