Anyone ever noticed some dodgy looking process eating CPU? e.g. in top or htop or bashtop? I’m running Pop!_OS - but - I’ve seen this before on Ubuntu 20, or 22 or something, maybe even Fedora 36/37 (Gnome).
“tracker-miner-fs”?
It’s VERY badly named - it looks like it could be some crypto miner or something - anyway - I don’t need it - or want it…
It’s not a trojan, and it’s not crypto-mining - all it does is some kinda shonky indexing for the gnome file manager to be able to search files “faster”…
I DON’T USE GNOME to search for files - I use a terminal and find command…
So I wrote a shell script : ~/bin/fkov :
╭─x@titan ~/bin ‹main*›
╰─➤ bat fkov
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: fkov
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ #!/usr/bin/env bash
2 │ # FCK OFF TRACKER-MINER BULLSH!T - looks like spyware???
3 │ #
4 │ SVC="tracker-miner-fs-3.service"
5 │ systemctl --user stop $SVC
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Why it should be eating the highest number of CPU cycles in my process tree - I’ll NEVER know - nor will I care in future… If I see that bugger eating them - I’ll kill it with “fkov”.
I guess I could disable it… But I so rarely reboot - I’ll leave it like that for the time being…
BTW - you cannot simply remove it - because the WHOLE GNOME desktop expects it to be there - e.g. “sudo apt remove tracker-miner-fs” fails 'cause of dependancies - and a “sudo apt purge tracker-miner-fs” would probably KILL the whole Gnome DE I’d imagine…
Damn - even the above didn’t work - there was still a PID /usr/libexec/tracker-miner-fs-3! so :
╭─x@titan ~/bin ‹main*›
╰─➤ bat fkov
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: fkov
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ #!/usr/bin/env bash
2 │ # FCK OFF TRACKER-MINER BULLSH!T - looks like spyware???
3 │ #
4 │ SVC="tracker-miner-fs-3.service"
5 │ systemctl --user stop $SVC
6 │ # it might still be running - so gotta track it down and MURDER it to death :
7 │ PROC="tracker-miner"
8 │ KILLPID=$(ps -ef |grep $PROC |grep -v grep|awk '{print $2}')
9 │ if [ ! -z $KILLPID ] ; then
10 │ kill -9 $KILLPID
11 │ fi
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
(note the PID I found was owned by “me” so no need for “sudo kill …”)