Deswegen sagte ich ja auch "usw."
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 | tom@tom-VirtualBox:~$ cat /etc/cron.weekly/apt-xapian-index
#!/bin/sh
CMD=/usr/sbin/update-apt-xapian-index
# ionice should not be called in a virtual environment
# (similar to man-db cronjobs)
egrep -q '(envID|VxID):.*[1-9]' /proc/self/status || IONICE=/usr/bin/ionice
# Check if we're on battery
if which on_ac_power >/dev/null 2>&1; then
on_ac_power >/dev/null 2>&1
ON_BATTERY=$?
# Here we use "-eq 1" instead of "-ne 0" because
# on_ac_power could also return 255, which means
# it can't tell whether we are on AC or not. In
# that case, run update-a-x-i nevertheless.
[ "$ON_BATTERY" -eq 1 ] && exit 0
fi
# Rebuild the index
if [ -x "$CMD" ]
then
if [ -x "$IONICE" ]
then
nice -n 19 $IONICE -c 3 $CMD --quiet
else
nice -n 19 $CMD --quiet
fi
fi
|
Raus damit (exit 0 oder auskommentieren), überall wo Du es findest. Auf meinem i5 mit SSD hat dieser Mistprozess immer noch einen load von 15%, aber man merkt es nicht und ist schnell vorbei. Aber wenn Du sagst Du hast ein relativ neues Notebook(?)
Wenn Du es mal siehst, guck mal von wo es gestartet wird.
Stichworte: top/htop ps pstree PPID...