zoupla
22/10/2015, 12h11
#!/bin/sh ### BEGIN INIT INFO # Provides: disable_gpe # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Demarrage du script lors de la sequence de boot # Description: Faire tomber le load average a sa valeur normale a vide ### END INIT INFO echo disable > /sys/firmware/acpi/interrupts/gpe01 # pour verifier processus en statut D: # ps -e -o state,pid,cmd | grep ^D # pour verifier gpe responsable du load average: # grep -ve "\s\+0\s\+" /sys/firmware/acpi/interrupts/gpe[0-9]
echo disabled > /sys/firmware/acpi/interrupts/gpe01
grep -ve "\s\+0\s\+" /sys/firmware/acpi/interrupts/gpe[0-9]*
ps auxw | grep D
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S sept.18 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S sept.18 0:27 \_ [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S sept.18 3:32 \_ [rcu_sched]
root 8 0.0 0.0 0 0 ? S sept.18 0:00 \_ [rcu_bh]
root 9 0.0 0.0 0 0 ? S sept.18 0:00 \_ [migration/0]
root 10 0.0 0.0 0 0 ? S sept.18 0:00 \_ [migration/1]
root 11 0.0 0.0 0 0 ? S sept.18 0:27 \_ [ksoftirqd/1]
root 13 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/1:0H]
root 14 0.0 0.0 0 0 ? S sept.18 0:00 \_ [migration/2]
root 15 0.0 0.0 0 0 ? S sept.18 0:29 \_ [ksoftirqd/2]
root 17 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/2:0H]
root 18 0.0 0.0 0 0 ? S sept.18 0:00 \_ [migration/3]
root 19 0.0 0.0 0 0 ? S sept.18 0:29 \_ [ksoftirqd/3]
root 21 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/3:0H]
root 22 0.0 0.0 0 0 ? S sept.18 0:01 \_ [migration/4]
root 23 0.0 0.0 0 0 ? S sept.18 0:15 \_ [ksoftirqd/4]
root 25 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/4:0H]
root 26 0.0 0.0 0 0 ? S sept.18 0:01 \_ [migration/5]
root 27 0.0 0.0 0 0 ? S sept.18 0:13 \_ [ksoftirqd/5]
root 29 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/5:0H]
root 30 0.0 0.0 0 0 ? S sept.18 0:01 \_ [migration/6]
root 31 0.0 0.0 0 0 ? S sept.18 0:10 \_ [ksoftirqd/6]
root 33 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/6:0H]
root 34 0.0 0.0 0 0 ? S sept.18 0:01 \_ [migration/7]
root 35 0.0 0.0 0 0 ? S sept.18 0:10 \_ [ksoftirqd/7]
root 37 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/7:0H]
root 38 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [khelper]
root 39 0.0 0.0 0 0 ? S sept.18 0:00 \_ [kdevtmpfs]
root 40 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [netns]
root 41 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [writeback]
root 42 0.0 0.0 0 0 ? SN sept.18 0:00 \_ [ksmd]
root 43 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kintegrityd]
root 44 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 45 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [crypto]
root 46 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kblockd]
root 48 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ata_sff]
root 49 0.0 0.0 0 0 ? S sept.18 0:00 \_ [khubd]
root 50 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [md]
root 51 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [edac-poller]
root 52 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [rpciod]
root 54 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kvm-irqfd-clean]
root 130 0.0 0.0 0 0 ? S sept.18 0:23 \_ [kswapd0]
root 131 0.0 0.0 0 0 ? S sept.18 0:00 \_ [fsnotify_mark]
root 132 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [nfsiod]
root 133 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [cifsiod]
root 134 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsIO]
root 135 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 136 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 137 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 138 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 139 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 140 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 141 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 142 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsCommit]
root 143 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jfsSync]
root 144 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [xfsalloc]
root 145 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [xfs_mru_cache]
root 146 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [xfslogd]
root 147 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ocfs2_wq]
root 148 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [user_dlm]
root 149 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [glock_workqueue]
root 150 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [delete_workqueu]
root 151 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [gfs_recovery]
root 182 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kthrotld]
root 187 0.0 0.0 0 0 ? S sept.18 0:05 \_ [nvme]
root 188 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [nvme]
root 189 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 190 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [drbd-reissue]
root 193 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [iscsi_eh]
root 195 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_0]
root 196 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_0]
root 197 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_1]
root 198 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_1]
root 199 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_2]
root 200 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_2]
root 201 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_3]
root 202 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_3]
root 207 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_4]
root 208 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_4]
root 209 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_5]
root 210 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_5]
root 211 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_6]
root 212 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_6]
root 213 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_7]
root 214 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_7]
root 215 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_8]
root 216 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_8]
root 217 0.0 0.0 0 0 ? S sept.18 0:00 \_ [scsi_eh_9]
root 218 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [scsi_tmf_9]
root 225 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bond0]
root 226 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bnx2x]
root 228 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ixgbe]
root 229 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [mlx4]
root 230 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [vfio-irqfd-clea]
root 235 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kpsmoused]
root 236 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [raid5wq]
root 237 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bcache]
root 238 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bch_btree_io]
root 239 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [dm_bufio_cache]
root 240 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kmpathd]
root 241 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kmpath_handlerd]
root 242 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ipv6_addrconf]
root 243 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ceph-msgr]
root 244 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 245 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [deferwq]
root 246 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 247 0.0 0.0 0 0 ? S sept.18 0:53 \_ [md4_raid1]
root 248 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 249 0.0 0.0 0 0 ? S sept.18 0:00 \_ [md2_raid1]
root 250 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [bioset]
root 251 0.0 0.0 0 0 ? S sept.18 0:08 \_ [md1_raid1]
root 252 0.0 0.0 0 0 ? S sept.18 0:05 \_ [jbd2/md1-8]
root 253 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ext4-rsv-conver]
root 279 0.0 0.0 0 0 ? S< sept.18 0:08 \_ [kworker/2:1H]
root 324 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/6:1H]
root 325 0.0 0.0 0 0 ? S< sept.18 0:07 \_ [kworker/5:1H]
root 326 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/0:1H]
root 451 0.0 0.0 0 0 ? S< sept.18 0:13 \_ [kworker/4:1H]
root 465 0.0 0.0 0 0 ? S sept.18 0:00 \_ [jbd2/md2-8]
root 466 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ext4-rsv-conver]
root 467 0.0 0.0 0 0 ? S sept.18 0:42 \_ [jbd2/md4-8]
root 468 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [ext4-rsv-conver]
root 870 0.0 0.0 0 0 ? S< sept.18 0:19 \_ [kworker/3:1H]
root 1000 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/7:1H]
root 1001 0.0 0.0 0 0 ? S< sept.18 0:00 \_ [kworker/1:1H]
root 9914 0.0 0.0 0 0 ? S sept.21 0:03 \_ [kworker/5:0]
root 24621 0.0 0.0 0 0 ? S sept.22 0:02 \_ [kworker/1:2]
root 21205 0.0 0.0 0 0 ? S sept.22 0:02 \_ [kworker/6:1]
root 13293 0.0 0.0 0 0 ? S sept.22 0:01 \_ [kworker/7:2]
root 30362 0.0 0.0 0 0 ? S sept.22 0:01 \_ [kworker/4:0]
root 3629 0.0 0.0 0 0 ? S sept.22 0:01 \_ [kworker/3:2]
root 2685 0.0 0.0 0 0 ? D sept.22 0:36 \_ [kworker/0:3]
root 19965 0.0 0.0 0 0 ? S 12:39 0:00 \_ [kworker/5:1]
root 21515 0.0 0.0 0 0 ? S 12:40 0:00 \_ [kworker/2:2]
root 22719 0.0 0.0 0 0 ? S 12:40 0:00 \_ [kworker/4:2]
root 27926 0.0 0.0 0 0 ? S 12:52 0:00 \_ [kworker/6:2]
root 28492 0.0 0.0 0 0 ? S 12:54 0:00 \_ [kworker/7:1]
root 32154 0.0 0.0 0 0 ? S 12:58 0:00 \_ [kworker/2:0]
root 2175 0.0 0.0 0 0 ? S 13:03 0:00 \_ [kworker/0:2]
root 18589 0.0 0.0 0 0 ? S 13:31 0:00 \_ [kworker/u16:2]
root 3688 0.0 0.0 0 0 ? S 14:02 0:00 \_ [kworker/1:1]
root 3695 0.0 0.0 0 0 ? S 14:02 0:00 \_ [kworker/3:0]
root 11871 0.0 0.0 0 0 ? S 14:13 0:00 \_ [kworker/u16:1]
root 20916 0.0 0.0 0 0 ? S 14:30 0:00 \_ [kworker/0:1]
root 21065 0.0 0.0 0 0 ? S 14:31 0:00 \_ [kworker/1:0]
root 21220 0.0 0.0 0 0 ? S 14:32 0:00 \_ [kworker/2:1]
root 21443 0.0 0.0 0 0 ? S 14:32 0:00 \_ [kworker/3:1]
root 22411 0.0 0.0 0 0 ? S 14:35 0:00 \_ [kworker/0:0]
root 1 0.0 0.0 29728 4312 ? Ss sept.18 0:15 /lib/systemd/systemd --system --deserialize 16
root 289 0.0 0.1 164280 103648 ? Ss sept.18 0:25 /lib/systemd/systemd-journald
root 441 0.0 0.0 13440 1320 ? Ss sept.18 0:00 /sbin/mdadm --monitor --scan
root 802 0.0 0.0 24344 2140 ? Ss sept.18 0:00 /usr/sbin/smartd -n
root 812 0.0 0.0 4232 844 ? Ss sept.18 0:00 /usr/sbin/acpid
root 847 0.0 0.0 14396 880 tty6 Ss+ sept.18 0:00 /sbin/agetty --noclear tty6 linux
root 848 0.0 0.0 19332 828 ? Ss sept.18 0:36 /usr/sbin/irqbalance --pid=/var/run/irqbalance.pid
root 849 0.0 0.0 14396 876 tty5 Ss+ sept.18 0:00 /sbin/agetty --noclear tty5 linux
root 850 0.0 0.0 14396 880 tty4 Ss+ sept.18 0:00 /sbin/agetty --noclear tty4 linux
root 851 0.0 0.0 14396 872 tty3 Ss+ sept.18 0:00 /sbin/agetty --noclear tty3 linux
root 852 0.0 0.0 14400 876 tty2 Ss+ sept.18 0:00 /sbin/agetty --noclear tty2 linux
root 853 0.0 0.0 14396 880 tty1 Ss+ sept.18 0:00 /sbin/agetty --noclear tty1 linux
root 3220 0.0 0.0 32536 1484 ? Ss sept.18 0:00 /lib/systemd/systemd-udevd
root 7468 0.0 0.0 27968 1384 ? Ss sept.18 0:02 /usr/sbin/cron -f
root 7589 0.0 0.0 258648 2416 ? Ssl sept.18 0:05 /usr/sbin/rsyslogd -n
message+ 21686 0.0 0.0 42104 1548 ? Ss sept.18 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 21089 0.0 0.0 55148 3000 ? Ss sept.19 0:01 /usr/sbin/sshd -D
root 16446 0.0 0.0 82556 3724 ? Ss 14:23 0:00 \_ sshd: xxxx [priv]
xxxx 16448 0.0 0.0 82692 1716 ? S 14:23 0:00 \_ sshd: xxxx@pts/0
xxxx 16449 0.0 0.0 22340 2048 pts/0 Ss 14:23 0:00 \_ -bash
root 16454 0.0 0.0 46836 1648 pts/0 S 14:23 0:00 \_ su
root 16455 0.0 0.0 22424 2216 pts/0 S 14:23 0:00 \_ bash
root 22471 0.0 0.0 19728 1552 pts/0 R+ 14:36 0:00 \_ ps -faux
root 9347 0.0 0.0 93412 25552 ? Ss sept.20 0:03 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 21772 0.0 0.0 10676 340 ? Ss sept.21 0:00 /usr/bin/ssh-agent
top - 14:43:13 up 4 days, 16:27, 1 user, load average: 1,00, 1,09, 1,35
Tasks: 171 total, 1 running, 170 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,2 us, 0,0 sy, 0,0 ni, 99,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem: 65926100 total, 3202540 used, 62723560 free, 88376 buffers
KiB Swap: 1569780 total, 0 used, 1569780 free. 2302388 cached Mem