forum-raspberrypi.de/attachment/11346/
Hallo kann mir jemand sagen warum meine CPU so ausgelastet ist.
CPU ist im Ruhezustand ca. auf 45%. was ist das für ein Prozess in der ersten Zeile??
Automatisch zusammengefügt:
Hier die Auswertung von htop
forum-raspberrypi.de/attachment/11346/
Hallo kann mir jemand sagen warum meine CPU so ausgelastet ist.
CPU ist im Ruhezustand ca. auf 45%. was ist das für ein Prozess in der ersten Zeile??
Automatisch zusammengefügt:
Hier die Auswertung von htop
CPU auf 45% im Ruhezustand? Schau mal ob du hier fündig wirst!
Weil da irgend ein bash Script oder Instanz vom Benutzer root läuft und 98.5% CPU Last verursacht
Poste mal bitte die Ausgabe des Befehls
Mit PuTTY einfach Text markieren und hier dann einfügen.
Hallo Danke für deine Antwort ich erhalte folgendes:
root 1 0.0 0.4 22900 4044 ? Ss 19:50 0:04 /sbin/init
root 2 0.0 0.0 0 0 ? S 19:50 0:00 [kthreadd]
root 3 0.5 0.0 0 0 ? S 19:50 0:42 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/0:0H]
root 7 0.2 0.0 0 0 ? S 19:50 0:17 [rcu_sched]
root 8 0.0 0.0 0 0 ? S 19:50 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S 19:50 0:00 [migration/0]
root 10 0.0 0.0 0 0 ? S 19:50 0:00 [migration/1]
root 11 0.8 0.0 0 0 ? S 19:50 1:07 [ksoftirqd/1]
root 13 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/1:0H]
root 14 0.0 0.0 0 0 ? S 19:50 0:00 [migration/2]
root 15 0.2 0.0 0 0 ? S 19:50 0:21 [ksoftirqd/2]
root 17 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/2:0H]
root 18 0.0 0.0 0 0 ? S 19:50 0:00 [migration/3]
root 19 0.2 0.0 0 0 ? S 19:50 0:22 [ksoftirqd/3]
root 21 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/3:0H]
root 22 0.0 0.0 0 0 ? S 19:50 0:00 [kdevtmpfs]
root 23 0.0 0.0 0 0 ? S< 19:50 0:00 [netns]
root 24 0.0 0.0 0 0 ? S< 19:50 0:00 [perf]
root 25 0.0 0.0 0 0 ? S 19:50 0:00 [khungtaskd]
root 26 0.0 0.0 0 0 ? S< 19:50 0:00 [writeback]
root 27 0.0 0.0 0 0 ? S< 19:50 0:00 [crypto]
root 28 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 29 0.0 0.0 0 0 ? S< 19:50 0:00 [kblockd]
root 30 0.0 0.0 0 0 ? S 19:50 0:01 [kworker/0:1]
root 31 0.0 0.0 0 0 ? S< 19:50 0:00 [rpciod]
root 32 0.0 0.0 0 0 ? S 19:50 0:00 [kswapd0]
root 33 0.0 0.0 0 0 ? S< 19:50 0:00 [vmstat]
root 34 0.0 0.0 0 0 ? S 19:50 0:00 [fsnotify_mark]
root 35 0.0 0.0 0 0 ? S< 19:50 0:00 [nfsiod]
root 44 0.0 0.0 0 0 ? S< 19:50 0:00 [kthrotld]
root 47 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 48 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 49 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 50 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 51 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 52 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 53 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 54 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 55 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 56 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 57 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 58 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 59 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 60 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 61 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 62 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 63 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 64 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 65 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 66 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 67 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 68 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 69 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 70 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 71 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQ-0]
root 72 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQr-0]
root 73 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQs-0]
root 74 0.0 0.0 0 0 ? S< 19:50 0:00 [iscsi_eh]
root 75 0.0 0.0 0 0 ? S< 19:50 0:00 [dwc_otg]
root 76 0.0 0.0 0 0 ? S< 19:50 0:00 [DWC Notificatio]
root 78 0.0 0.0 0 0 ? S 19:50 0:02 [irq/92-mmc1]
root 79 0.0 0.0 0 0 ? S 19:50 0:00 [VCHIQka-0]
root 80 0.0 0.0 0 0 ? S< 19:50 0:00 [SMIO]
root 81 0.0 0.0 0 0 ? S< 19:50 0:00 [deferwq]
root 83 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 84 0.0 0.0 0 0 ? S 19:50 0:00 [mmcqd/0]
root 86 0.0 0.0 0 0 ? S 19:50 0:00 [jbd2/mmcblk0p2-]
root 87 0.0 0.0 0 0 ? S< 19:50 0:00 [ext4-rsv-conver]
root 89 0.0 0.0 0 0 ? S< 19:50 0:00 [ipv6_addrconf]
root 105 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/2:1H]
root 134 0.0 0.4 9944 3936 ? Ss 19:50 0:01 /lib/systemd/systemd-journald
root 137 0.0 0.3 11904 3084 ? Ss 19:50 0:00 /lib/systemd/systemd-udevd
root 228 0.0 0.0 0 0 ? S< 19:50 0:00 [cfg80211]
root 236 0.0 0.0 0 0 ? S< 19:50 0:00 [brcmf_wq/mmc1:0]
root 240 0.0 0.0 0 0 ? S 19:50 0:01 [brcmf_wdog/mmc1]
root 414 0.0 0.2 5100 2520 ? Ss 19:50 0:00 /usr/sbin/cron -f
root 418 0.0 0.2 3852 2420 ? Ss 19:50 0:00 /lib/systemd/systemd-logind
root 436 0.0 0.1 2564 1676 ? Ss 19:50 0:00 /sbin/dhcpcd -q -b
root 483 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/3:1H]
root 488 0.0 0.2 32144 2664 ? Ssl 19:50 0:00 /usr/sbin/rsyslogd -n
root 509 0.0 0.3 7156 3356 ? Ss 19:50 0:00 /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf
root 511 0.0 0.4 7864 4380 ? Ss 19:50 0:00 /usr/sbin/sshd -D
root 546 97.8 0.1 2220 1496 ? R 19:50 130:03 -bash
root 591 0.0 0.7 40548 6768 ? Ssl 19:50 0:00 /usr/sbin/lightdm
root 601 0.0 0.2 5668 2796 tty1 Ss 19:50 0:00 /bin/login -f
root 671 0.0 0.1 6496 1568 ? S 19:50 0:00 /usr/sbin/xrdp-sesman
root 680 0.0 2.8 103644 27412 tty7 Ssl+ 19:50 0:02 /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 686 0.0 1.9 93324 18712 ? Ss 19:50 0:00 /usr/sbin/apache2 -k start
root 690 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/0:1H]
root 711 0.0 0.7 32880 7336 ? Sl 19:50 0:00 lightdm --session-child 13 16
root 739 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/u9:0]
root 740 0.0 0.0 0 0 ? S< 19:50 0:00 [hci0]
root 741 0.0 0.0 0 0 ? S< 19:50 0:00 [hci0]
root 743 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/u9:2]
root 744 0.0 0.0 2068 148 ? S 19:50 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow -
root 748 0.0 0.3 5008 3356 ? Ss 19:50 0:00 /usr/lib/bluetooth/bluetoothd
root 786 0.0 0.4 22460 4608 ? Ss 19:50 0:00 /usr/sbin/nmbd -D
root 840 0.0 0.7 40992 7304 ? Ssl 19:50 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 855 0.0 1.3 35632 12612 ? Ss 19:50 0:00 /usr/sbin/smbd -D
root 872 0.0 0.5 35632 5012 ? S 19:50 0:00 /usr/sbin/smbd -D
root 884 0.0 0.8 59076 7808 ? Ssl 19:50 0:00 /usr/lib/udisks2/udisksd --no-debug
root 1029 0.0 0.5 12076 5212 ? Ss 19:50 0:00 sshd: pi [priv]
root 1080 0.0 0.0 0 0 ? S< 19:52 0:00 [kworker/1:1H]
root 1233 0.0 0.0 0 0 ? S 20:05 0:00 [kworker/2:0]
root 1330 0.0 0.0 0 0 ? S 20:09 0:00 [kworker/2:1]
root 1351 0.0 0.0 0 0 ? S 20:09 0:01 [kworker/1:0]
root 2302 0.0 0.0 0 0 ? S 21:19 0:00 [kworker/3:0]
root 2465 0.0 0.0 0 0 ? S 21:31 0:00 [kworker/0:0]
root 2530 0.0 0.0 0 0 ? S 21:36 0:00 [kworker/3:2]
root 2531 0.0 0.5 12076 5176 ? Ss 21:36 0:00 sshd: pi [priv]
root 2691 0.0 0.0 0 0 ? S 21:44 0:00 [kworker/1:2]
root 2719 0.0 0.0 0 0 ? S 21:46 0:00 [kworker/u8:2]
root 2857 0.0 0.0 0 0 ? S 21:58 0:00 [kworker/u8:1]
Bitte nächstes mal in Code Tags...
Hm kann jetzt nicht wirklich sehen worans genau liegt, es läuft jedenfalls ein " -bash " Prozess der auf einem Core 98.5% CPU Last verursacht.... Dessen PID ist 546 also kill die einfach mal
Auch wenn man linux nicht wegen jedem Mist rebooten brauch, solltest du das anschließend mal tun und dann bitte NUR als pi Benutzer anmelden und erneut in "top" gucken - bitte NICHTS anderes machen!
Fraglich wäre halt wodurch das verursacht wurde - durch das killen ignoriert man ein mögliches Problem, sofern es überhaupt eines gibt
dreamshader: Die Ausgabe ist bereits so gefiltert das nur Prozesse vom root Benutzer angezeigt werden - durch die grep Pipe. Es fehlt nur die Headerline:
root@RoPi:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 9120 4564 ? Ss Okt05 0:34 /sbin/init
Die erste Zahl nach "root" ist also die PID
Achja, was evtl. auch helfen könnte wäre eine Hierarchi-Ansicht. Allerdings wäre es dann wirklich wichtig wenn du die Ausgabe in CODE Blöcken postest FAQ => Nützliche Links / Linksammlung => HowTo: CODE / PHP Code im Forum posten
Dann könnte man zum Beispiel sowas entdecken:
root 21090 0.0 0.4 6232 3900 pts/2 Ss Okt07 0:00 -bash
root 768 0.0 0.7 19108 6208 pts/2 Sl+ 13:29 0:22 python
root 1178 0.0 0.2 5268 2480 ? Ss Okt07 0:00 /usr/sbin/cron -f
root 12402 0.0 0.3 11572 2808 ? Ss Okt07 0:00 /lib/systemd/systemd-udevd
root 13477 0.0 0.5 10048 5060 ? Ss Okt07 0:00 /usr/sbin/sshd -D
root 21163 0.0 0.6 13988 5704 ? Ss 14:52 0:01 sshd: root@pts/0
root 21174 0.0 0.4 6208 4368 pts/0 Ss 14:52 0:00 -bash
root 2162 0.0 0.2 4804 2256 pts/0 R+ 22:27 0:00 ps aux -H
root 2163 0.0 0.0 4392 528 pts/0 S+ 22:27 0:00 grep ^root
Ich schrieb die PPID ... also die Parent-Id ... so kann man über den bash-Prozess das zugehörige Gesumms rausbekommen.
Und der grep ist überflüssig, wenn Du -U nimmst
cu,
-ds-
Und der grep ist überflüssig, wenn Du -U nimmst
Nicht bei meiner angewohnten Schreibweise:
root@RoPi:~# ps aux -U root
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 9120 4564 ? Ss Okt05 0:34 /sbin/init
root 2 0.0 0.0 0 0 ? S Okt05 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Okt05 0:06 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S Okt05 0:54 [rcu_sched]
root 8 0.0 0.0 0 0 ? S Okt05 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S Okt05 0:06 [migration/0]
root 10 0.0 0.0 0 0 ? S Okt05 0:06 [migration/1]
root 11 0.0 0.0 0 0 ? S Okt05 0:03 [ksoftirqd/1]
root 13 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/1:0H]
root 14 0.0 0.0 0 0 ? S Okt05 0:07 [migration/2]
root 15 0.0 0.0 0 0 ? S Okt05 0:03 [ksoftirqd/2]
root 17 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/2:0H]
root 18 0.0 0.0 0 0 ? S Okt05 0:06 [migration/3]
root 19 0.0 0.0 0 0 ? S Okt05 0:03 [ksoftirqd/3]
root 21 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/3:0H]
root 22 0.0 0.0 0 0 ? S Okt05 0:00 [kdevtmpfs]
root 23 0.0 0.0 0 0 ? S< Okt05 0:00 [netns]
root 24 0.0 0.0 0 0 ? S< Okt05 0:00 [perf]
root 25 0.0 0.0 0 0 ? S Okt05 0:00 [khungtaskd]
root 26 0.0 0.0 0 0 ? S< Okt05 0:00 [writeback]
root 27 0.0 0.0 0 0 ? S< Okt05 0:00 [crypto]
root 28 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 29 0.0 0.0 0 0 ? S< Okt05 0:00 [kblockd]
root 31 0.0 0.0 0 0 ? S< Okt05 0:00 [rpciod]
root 33 0.0 0.0 0 0 ? S Okt05 0:02 [kswapd0]
root 34 0.0 0.0 0 0 ? S< Okt05 0:00 [vmstat]
root 35 0.0 0.0 0 0 ? S Okt05 0:00 [fsnotify_mark]
root 36 0.0 0.0 0 0 ? S< Okt05 0:00 [nfsiod]
root 45 0.0 0.0 0 0 ? S< Okt05 0:00 [kthrotld]
root 47 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 48 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 49 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 50 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 51 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 52 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 53 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 54 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 55 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 56 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 57 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 58 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 59 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 60 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 61 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 62 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 63 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 64 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 65 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 66 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 67 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 68 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 69 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 70 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 71 0.0 0.0 0 0 ? S< Okt05 1:13 [VCHIQ-0]
root 72 0.0 0.0 0 0 ? S< Okt05 0:02 [VCHIQr-0]
root 73 0.0 0.0 0 0 ? S< Okt05 0:00 [VCHIQs-0]
root 74 0.0 0.0 0 0 ? S< Okt05 0:00 [iscsi_eh]
root 75 0.0 0.0 0 0 ? S< Okt05 0:00 [dwc_otg]
root 76 0.0 0.0 0 0 ? S< Okt05 0:00 [DWC Notificatio]
root 78 0.0 0.0 0 0 ? S< Okt05 0:00 [bioset]
root 79 0.0 0.0 0 0 ? S Okt05 0:25 [mmcqd/0]
root 80 0.0 0.0 0 0 ? S Okt05 0:00 [VCHIQka-0]
root 81 0.0 0.0 0 0 ? S< Okt05 0:00 [SMIO]
root 82 0.0 0.0 0 0 ? S< Okt05 0:00 [deferwq]
root 84 0.0 0.0 0 0 ? S Okt05 0:11 [jbd2/mmcblk0p2-]
root 85 0.0 0.0 0 0 ? S< Okt05 0:00 [ext4-rsv-conver]
root 87 0.0 0.0 0 0 ? S< Okt05 0:00 [ipv6_addrconf]
root 104 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/2:1H]
root 131 0.0 1.3 33788 11656 ? Ss Okt05 3:05 /lib/systemd/systemd-journald
root 611 0.0 0.2 6768 1884 ? Ss Okt05 0:00 /sbin/rpcbind -f -w
root 646 0.0 0.3 6896 3132 ? Ss Okt05 0:03 /lib/systemd/systemd-logind
root 650 0.0 0.2 32136 2120 ? Ssl Okt05 0:55 /usr/sbin/rsyslogd -n
message+ 654 0.0 0.2 6264 2240 ? Ss Okt05 0:09 /usr/bin/dbus-daemon --system --address=syst
root 686 0.0 0.0 0 0 ? S< Okt05 0:00 [cfg80211]
root 768 0.0 0.7 19108 6208 pts/2 Sl+ 13:29 0:22 python
stunnel4 775 0.0 0.2 18244 2180 ? Ss Okt05 0:20 /usr/bin/stunnel4 /etc/stunnel/ropi.conf
root 803 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/0:1H]
root 891 0.0 0.1 2720 1356 ? Ss Okt05 2:52 /sbin/dhcpcd -q -w
beansta+ 902 0.0 0.0 4648 268 ? Ss Okt05 0:49 /usr/bin/beanstalkd -l 127.0.0.1 -p 11300
root 913 0.0 0.0 4116 596 tty1 Ss+ Okt05 0:00 /sbin/agetty --noclear tty1 linux
root 914 0.0 0.1 3932 920 ttyAMA0 Ss+ Okt05 0:00 /sbin/agetty --keep-baud 115200,38400,9600 t
root 1076 0.0 0.4 8696 3964 ? Ss Okt05 0:00 /lib/systemd/systemd --user
root 1085 0.0 0.1 10628 1252 ? S Okt05 0:00 (sd-pam)
root 1178 0.0 0.2 5268 2480 ? Ss Okt07 0:00 /usr/sbin/cron -f
root 1692 0.0 0.2 4804 2112 pts/0 R+ 22:25 0:00 ps aux -U root
root 2510 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/3:1H]
root 2889 0.0 0.0 0 0 ? S< Okt05 0:00 [kworker/1:1H]
root 8387 0.0 0.0 0 0 ? S Okt07 0:04 [kworker/3:0]
root 11367 0.0 0.0 0 0 ? S 18:37 0:00 [kworker/0:0]
root 12372 0.0 0.0 0 0 ? S Okt07 0:02 [kworker/0:1]
root 12402 0.0 0.3 11572 2808 ? Ss Okt07 0:00 /lib/systemd/systemd-udevd
ntp 12724 0.0 0.4 7464 3992 ? Ssl Okt07 0:40 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 10
root 13249 0.0 0.1 6220 1360 ? Ss Okt07 0:00 dbus-daemon --fork --print-address 5 --print
root 13456 0.0 0.1 6220 1336 ? Ss Okt07 0:00 dbus-daemon --fork --print-address 5 --print
root 13477 0.0 0.5 10048 5060 ? Ss Okt07 0:00 /usr/sbin/sshd -D
root 13662 0.0 0.1 6220 1336 ? Ss Okt07 0:01 dbus-daemon --fork --print-address 5 --print
root 13833 0.0 0.0 0 0 ? S Okt07 0:00 [kworker/1:2]
avahi 13876 0.0 0.3 6320 3132 ? Ss Okt07 0:05 avahi-daemon: running [RoPi.local]
avahi 13883 0.0 0.1 6224 1528 ? S Okt07 0:00 avahi-daemon: chroot helper
root 17061 0.0 0.0 0 0 ? S Okt07 0:00 [kworker/3:3]
nobody 18756 0.0 0.2 5128 2252 ? Ss Okt07 0:00 /usr/sbin/thd --triggers /etc/triggerhappy/t
root 18860 0.0 0.0 0 0 ? S 21:22 0:00 [kworker/u8:0]
root 21077 0.0 0.5 12352 4528 ? Ss Okt07 0:00 sshd: root@pts/2
root 21090 0.0 0.4 6232 3900 pts/2 Ss Okt07 0:00 -bash
root 21163 0.0 0.6 13988 5704 ? Rs 14:52 0:01 sshd: root@pts/0
root 21174 0.0 0.4 6208 4368 pts/0 Ss 14:52 0:00 -bash
root 23867 0.0 0.1 6220 1328 ? Ss Okt07 0:00 dbus-daemon --fork --print-address 5 --print
root 23928 0.0 0.1 6220 1336 ? Ss Okt07 0:00 dbus-daemon --fork --print-address 5 --print
root 25283 0.0 0.0 0 0 ? S 15:09 0:00 [kworker/2:0]
root 30316 0.0 0.0 0 0 ? S Okt07 0:02 [kworker/1:1]
root 31124 0.0 0.0 0 0 ? S 17:45 0:01 [kworker/u8:2]
root 31757 0.0 0.0 0 0 ? S Okt07 0:01 [kworker/2:1]
root 32400 0.0 0.0 0 0 ? S 22:18 0:00 [kworker/u8:1]
root@RoPi:~#
Alles anzeigen
da tauchen auch Prozesse anderer "benutzer" auf
tut mir leid von code-tags höre ich zum ersten mal.
kannst du mir evtl. sagen wie genau ich das anstelle.
Aus deinem Link werde ich nicht ganz schlau
...
kannst du mir evtl. sagen wie genau ich das anstelle.
...
-> click <- ... hatte ich Dir vorher schon geschrieben. Du solltest die Antworten schon komplett und sorgfältig lesen
cu,
-ds-
nach dem Kill befehl geht die CPU auf ca. 1% nach einem reboot ist alles wie vorher
Dann wird also irgend etwas als root gestartet was die Auslastung dann verursacht... Mach mal bitte das aus Beitrag#6 am Ende, und nebenbei erzähl mal was du alles installiert/eingerichtet hast
tut mir leid von code-tags höre ich zum ersten mal.kannst du mir evtl. sagen wie genau ich das anstelle.
Aus deinem Link werde ich nicht ganz schlau
und du hast wohl diesen Satz übersehen.
*****Aus deinem Link werde ich nicht ganz schlau****
Dann wird also irgend etwas als root gestartet was die Auslastung dann verursacht... Mach mal bitte das aus Beitrag#6 am Ende, und nebenbei erzähl mal was du alles installiert/eingerichtet hast
Dann wird also irgend etwas als root gestartet was die Auslastung dann verursacht... Mach mal bitte das aus Beitrag#6 am Ende, und nebenbei erzähl mal was du alles installiert/eingerichtet hast
Hallo meigrafd
kann ich die Ausgabe dann einfach wider so einfügen wie vorher??
Oder soll ich das mit diesen code-tags machen.
Hab aber leider absolut keine Ahnung wie das geht
Les doch bitte mal das Ende des Beitrags:
Achja, was evtl. auch helfen könnte wäre eine Hierarchi-Ansicht. Allerdings wäre es dann wirklich wichtig wenn du die Ausgabe in CODE Blöcken postest FAQ => Nützliche Links / Linksammlung => HowTo: CODE / PHP Code im Forum posten
Dann könnte man zum Beispiel sowas entdecken:Coderoot 21090 0.0 0.4 6232 3900 pts/2 Ss Okt07 0:00 -bash root 768 0.0 0.7 19108 6208 pts/2 Sl+ 13:29 0:22 python root 1178 0.0 0.2 5268 2480 ? Ss Okt07 0:00 /usr/sbin/cron -f root 12402 0.0 0.3 11572 2808 ? Ss Okt07 0:00 /lib/systemd/systemd-udevd root 13477 0.0 0.5 10048 5060 ? Ss Okt07 0:00 /usr/sbin/sshd -D root 21163 0.0 0.6 13988 5704 ? Ss 14:52 0:01 sshd: root@pts/0 root 21174 0.0 0.4 6208 4368 pts/0 Ss 14:52 0:00 -bash root 2162 0.0 0.2 4804 2256 pts/0 R+ 22:27 0:00 ps aux -H root 2163 0.0 0.0 4392 528 pts/0 S+ 22:27 0:00 grep ^root
Und noch eine Bitte:
Bitte nicht Beiträge vollständig quoten/zitieren, vor allem wenn diese genau da drüber stehen.
Hm ... was gibt's jetzt bei "in code-tags" und der Liste nicht zu verstehen?
[ c o d e ]
bla bla bla
[ / c o d e ]
natürlich ohne die Leerzeichen ...
cu,
-ds-
Es ist halt deshalb wichtig dass es in CODE oder PHP Blöcken gepostet wird weil dann die Formatierung erhalten bleibt - also mehr als ein Leerzeichen, der Abstand zwischen den Buchstaben/Zahlen. Nur so lässt sich das angezeigte besser lesen/deuten. So kriegst du es auch auf dem Pi via PuTTY auch angezeigt aber wenn du es ohne CODE Block postet geht die Formatierung verloren.
Klick den Link in Beitrag#6 da wirds noch mal auf Deutsch erklärt - falls da dein Verständnisproblem liegt.... Alternativ nutze einer der Seiten wie codepad.org ebenso wie dort von mir beschrieben.
Mit Code Block:
root 21090 0.0 0.4 6232 3900 pts/2 Ss Okt07 0:00 -bash
root 768 0.0 0.7 19108 6208 pts/2 Sl+ 13:29 0:22 python
root 1178 0.0 0.2 5268 2480 ? Ss Okt07 0:00 /usr/sbin/cron -f
root 12402 0.0 0.3 11572 2808 ? Ss Okt07 0:00 /lib/systemd/systemd-udevd
root 13477 0.0 0.5 10048 5060 ? Ss Okt07 0:00 /usr/sbin/sshd -D
root 21163 0.0 0.6 13988 5704 ? Ss 14:52 0:01 sshd: root@pts/0
root 21174 0.0 0.4 6208 4368 pts/0 Ss 14:52 0:00 -bash
root 2162 0.0 0.2 4804 2256 pts/0 R+ 22:27 0:00 ps aux -H
root 2163 0.0 0.0 4392 528 pts/0 S+ 22:27 0:00 grep ^root
Ohne Code Block - die gleichen Zeilen:
[ code]
root 21090 0.0 0.4 6232 3900 pts/2 Ss Okt07 0:00 -bash
root 768 0.0 0.7 19108 6208 pts/2 Sl+ 13:29 0:22 python
root 1178 0.0 0.2 5268 2480 ? Ss Okt07 0:00 /usr/sbin/cron -f
root 12402 0.0 0.3 11572 2808 ? Ss Okt07 0:00 /lib/systemd/systemd-udevd
root 13477 0.0 0.5 10048 5060 ? Ss Okt07 0:00 /usr/sbin/sshd -D
root 21163 0.0 0.6 13988 5704 ? Ss 14:52 0:01 sshd: root@pts/0
root 21174 0.0 0.4 6208 4368 pts/0 Ss 14:52 0:00 -bash
root 2162 0.0 0.2 4804 2256 pts/0 R+ 22:27 0:00 ps aux -H
root 2163 0.0 0.0 4392 528 pts/0 S+ 22:27 0:00 grep ^root
[/ code]
Was davon ließt sich besser
[code=php][ php]root 2 0.0 0.0 0 0 ? S 19:50 0:00 [kthreadd]
root 3 0.5 0.0 0 0 ? S 19:50 0:57 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/0:0H]
root 7 0.2 0.0 0 0 ? R 19:50 0:22 [rcu_sched]
root 8 0.0 0.0 0 0 ? S 19:50 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S 19:50 0:00 [migration/0]
root 10 0.0 0.0 0 0 ? S 19:50 0:00 [migration/1]
root 11 0.8 0.0 0 0 ? S 19:50 1:31 [ksoftirqd/1]
root 13 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/1:0H]
root 14 0.0 0.0 0 0 ? S 19:50 0:00 [migration/2]
root 15 0.2 0.0 0 0 ? S 19:50 0:28 [ksoftirqd/2]
root 17 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/2:0H]
root 18 0.0 0.0 0 0 ? S 19:50 0:00 [migration/3]
root 19 0.2 0.0 0 0 ? S 19:50 0:30 [ksoftirqd/3]
root 21 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/3:0H]
root 22 0.0 0.0 0 0 ? S 19:50 0:00 [kdevtmpfs]
root 23 0.0 0.0 0 0 ? S< 19:50 0:00 [netns]
root 24 0.0 0.0 0 0 ? S< 19:50 0:00 [perf]
root 25 0.0 0.0 0 0 ? S 19:50 0:00 [khungtaskd]
root 26 0.0 0.0 0 0 ? S< 19:50 0:00 [writeback]
root 27 0.0 0.0 0 0 ? S< 19:50 0:00 [crypto]
root 28 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 29 0.0 0.0 0 0 ? S< 19:50 0:00 [kblockd]
root 30 0.0 0.0 0 0 ? S 19:50 0:01 [kworker/0:1]
root 31 0.0 0.0 0 0 ? S< 19:50 0:00 [rpciod]
root 32 0.0 0.0 0 0 ? S 19:50 0:00 [kswapd0]
root 33 0.0 0.0 0 0 ? S< 19:50 0:00 [vmstat]
root 34 0.0 0.0 0 0 ? S 19:50 0:00 [fsnotify_mark]
root 35 0.0 0.0 0 0 ? S< 19:50 0:00 [nfsiod]
root 44 0.0 0.0 0 0 ? S< 19:50 0:00 [kthrotld]
root 47 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 48 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 49 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 50 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 51 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 52 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 53 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 54 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 55 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 56 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 57 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 58 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 59 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 60 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 61 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 62 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 63 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 64 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 65 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 66 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 67 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 68 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 69 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 70 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 71 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQ-0]
root 72 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQr-0]
root 73 0.0 0.0 0 0 ? S< 19:50 0:00 [VCHIQs-0]
root 74 0.0 0.0 0 0 ? S< 19:50 0:00 [iscsi_eh]
root 75 0.0 0.0 0 0 ? S< 19:50 0:00 [dwc_otg]
root 76 0.0 0.0 0 0 ? S< 19:50 0:00 [DWC Notificatio]
root 78 0.0 0.0 0 0 ? S 19:50 0:03 [irq/92-mmc1]
root 79 0.0 0.0 0 0 ? S 19:50 0:00 [VCHIQka-0]
root 80 0.0 0.0 0 0 ? S< 19:50 0:00 [SMIO]
root 81 0.0 0.0 0 0 ? S< 19:50 0:00 [deferwq]
root 83 0.0 0.0 0 0 ? S< 19:50 0:00 [bioset]
root 84 0.0 0.0 0 0 ? S 19:50 0:00 [mmcqd/0]
root 86 0.0 0.0 0 0 ? S 19:50 0:00 [jbd2/mmcblk0p2-]
root 87 0.0 0.0 0 0 ? S< 19:50 0:00 [ext4-rsv-conver]
root 89 0.0 0.0 0 0 ? S< 19:50 0:00 [ipv6_addrconf]
root 105 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/2:1H]
root 228 0.0 0.0 0 0 ? S< 19:50 0:00 [cfg80211]
root 236 0.0 0.0 0 0 ? S< 19:50 0:00 [brcmf_wq/mmc1:0]
root 240 0.0 0.0 0 0 ? S 19:50 0:02 [brcmf_wdog/mmc1]
root 483 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/3:1H]
root 690 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/0:1H]
root 739 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/u9:0]
root 740 0.0 0.0 0 0 ? S< 19:50 0:00 [hci0]
root 741 0.0 0.0 0 0 ? S< 19:50 0:00 [hci0]
root 743 0.0 0.0 0 0 ? S< 19:50 0:00 [kworker/u9:2]
root 1080 0.0 0.0 0 0 ? S< 19:52 0:00 [kworker/1:1H]
root 1233 0.0 0.0 0 0 ? S 20:05 0:00 [kworker/2:0]
root 1330 0.0 0.0 0 0 ? S 20:09 0:00 [kworker/2:1]
root 1351 0.0 0.0 0 0 ? S 20:09 0:01 [kworker/1:0]
root 2465 0.0 0.0 0 0 ? S 21:31 0:00 [kworker/0:0]
root 2530 0.0 0.0 0 0 ? S 21:36 0:00 [kworker/3:2]
root 2691 0.0 0.0 0 0 ? S 21:44 0:01 [kworker/1:2]
root 3249 0.0 0.0 0 0 ? S 22:24 0:00 [kworker/u8:2]
root 3295 0.0 0.0 0 0 ? S 22:27 0:00 [kworker/3:1]
root 3445 0.0 0.0 0 0 ? S 22:34 0:00 [kworker/u8:0]
root 3759 0.0 0.0 0 0 ? S 22:44 0:00 [kworker/u8:1]
root 3818 0.0 0.0 0 0 ? S 22:49 0:00 [kworker/u8:3]
root 1 0.0 0.4 22900 4048 ? Ss 19:50 0:04 /sbin/init
root 134 0.0 0.4 9944 4360 ? Ss 19:50 0:02 /lib/systemd/systemd-journald
root 137 0.0 0.3 11904 3084 ? Ss 19:50 0:00 /lib/systemd/systemd-udevd
root 414 0.0 0.2 5100 2532 ? Ss 19:50 0:00 /usr/sbin/cron -f
root 418 0.0 0.2 3852 2424 ? Ss 19:50 0:00 /lib/systemd/systemd-logind
root 436 0.0 0.1 2564 1676 ? Ss 19:50 0:00 /sbin/dhcpcd -q -b
root 488 0.0 0.2 32144 2664 ? Ssl 19:50 0:00 /usr/sbin/rsyslogd -n
root 509 0.0 0.3 7156 3356 ? Ss 19:50 0:00 /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -c /etc/wpa_supplicant/wpa_supplicant.conf
root 511 0.0 0.4 7864 4380 ? Ss 19:50 0:00 /usr/sbin/sshd -D
root 1029 0.0 0.5 12076 5212 ? Ss 19:50 0:00 sshd: pi [priv]
root 2531 0.0 0.5 12076 5176 ? Ss 21:36 0:00 sshd: pi [priv]
root 546 97.9 0.1 2220 1496 ? R 19:50 175:01 -bash
root 591 0.0 0.7 40548 6768 ? Ssl 19:50 0:00 /usr/sbin/lightdm
root 680 0.0 2.8 103644 27412 tty7 Ssl+ 19:50 0:02 /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 711 0.0 0.7 32880 7336 ? Sl 19:50 0:00 lightdm --session-child 13 16
root 601 0.0 0.2 5668 2796 tty1 Ss 19:50 0:00 /bin/login -f
root 671 0.0 0.2 17592 2600 ? S 19:50 0:00 /usr/sbin/xrdp-sesman
root 3572 0.0 0.0 5560 888 ? S 22:41 0:00 /usr/sbin/xrdp-sessvc 3583 3582
root 3582 0.0 1.3 52444 12432 ? Sl 22:41 0:00 /usr/bin/lxsession -s LXDE-pi -e LXDE
root 3610 0.0 0.0 3700 220 ? Ss 22:41 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
root 3634 0.0 1.1 20164 11284 ? S 22:41 0:00 openbox --config-file /root/.config/openbox/lxde-pi-rc.xml
root 3637 0.0 0.9 30572 8640 ? Sl 22:41 0:00 lxpolkit
root 3639 0.2 2.6 94656 25304 ? Sl 22:41 0:01 lxpanel --profile LXDE-pi
root 3640 0.0 1.9 78940 18832 ? Sl 22:41 0:00 pcmanfm --desktop --profile LXDE-pi
root 3583 0.1 2.2 29184 21120 ? S 22:41 0:00 Xvnc :10 -geometry 1440x900 -depth 24 -rfbauth /root/.vnc/sesman_root_passwd -bs -ac -nolisten tcp -localhost -dpi 96
root 3590 0.0 0.1 16200 1176 ? Sl 22:41 0:00 xrdp-chansrv
root 686 0.0 1.9 93324 18712 ? Ss 19:50 0:00 /usr/sbin/apache2 -k start
root 744 0.0 0.0 2068 148 ? S 19:50 0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow -
root 748 0.0 0.3 5008 3356 ? Ss 19:50 0:00 /usr/lib/bluetooth/bluetoothd
root 786 0.0 0.4 22460 4608 ? Ss 19:50 0:00 /usr/sbin/nmbd -D
root 840 0.0 0.7 40992 7308 ? Ssl 19:50 0:00 /usr/lib/policykit-1/polkitd --no-debug
root 855 0.0 1.3 35632 12612 ? Ss 19:50 0:00 /usr/sbin/smbd -D
root 872 0.0 0.5 35632 5012 ? S 19:50 0:00 /usr/sbin/smbd -D
root 884 0.0 0.8 59076 7820 ? Ssl 19:50 0:00 /usr/lib/udisks2/udisksd --no-debug
root 3575 0.0 0.3 4520 2976 ? Ss 22:41 0:00 /lib/systemd/systemd --user
root 3579 0.0 0.1 24256 1356 ? S 22:41 0:00 (sd-pam)
root 3613 0.0 0.1 3692 1536 ? S 22:41 0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager
root 3614 0.0 0.2 5620 2272 ? Ss 22:41 0:00 /usr/bin/dbus-daemon --fork --print-pid 10 --print-address 12 --session
root 3620 0.0 0.5 30876 5604 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfsd
root 3624 0.0 0.5 48524 5452 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/0/gvfs -f -o big_writes
root 3648 0.0 0.0 3700 220 ? Ss 22:41 0:00 /usr/bin/ssh-agent -s
root 3657 0.0 0.8 43144 8012 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
root 3668 0.0 0.5 29952 5136 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
root 3673 0.0 0.5 30056 5344 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
root 3678 0.0 0.6 42436 6492 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
root 3683 0.0 0.5 30972 5436 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
root 3689 0.0 0.0 1912 92 ? S 22:41 0:00 /bin/sh /usr/bin/start-pulseaudio-x11
root 3690 0.0 0.2 5796 1972 ? S 22:41 0:00 /usr/bin/xprop -root -spy
root 3693 0.0 0.6 29696 5808 ? Ssl 22:41 0:00 /usr/lib/menu-cache/menu-cached /tmp/.menu-cached-:10-root
root 3699 0.0 0.7 60664 7404 ? Sl 22:41 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.1 /org/gtk/gvfs/exec_spaw/0[/php][/php]
Ich hoffe das ist so richtig.
Auf dem Pi ist nur ein samba und apache web server instaliert
Auf dem Pi ist nur ein samba und apache web server instaliert
Naja und der LXDE Desktop läuft Brauchst du den unbedingt?
Leider sieht man jetzt nicht mehr wie zuvor.... Irgend etwas wird vom root Benutzer gestartet, was aber nicht normal ist da das bei mir nicht auch so ist. Es muss also bei Dir irgend etwas anders sein und das kann nur an dem liegen was oder wie Du installiert / eingerichtet hast.... Evtl. ein crontab der vorn Baum rennt oder ein /etc/rc.local Eintrag oder irgendetwas vom Desktop was beim anmelden dort ausgeführt werden soll aber dann halt crasht....
Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!