questo è quel che gira sul futro che sto preparando (i processi che hanno il nome tra "[]" in realtà sono thread del kernel):
...rinunciando ad alcune comodità si potrebbe eliminare ancora diversa roba:codice:futro ~ # ps auxw USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 4180 1508 ? Ss 19:10 0:00 init [3] root 2 0.0 0.0 0 0 ? S 19:10 0:00 [kthreadd] root 4 0.0 0.0 0 0 ? S< 19:10 0:00 [kworker/0:0H] root 5 0.0 0.0 0 0 ? S 19:10 0:00 [kworker/u2:0] root 6 0.0 0.0 0 0 ? S 19:10 0:00 [ksoftirqd/0] root 7 0.0 0.0 0 0 ? S< 19:10 0:00 [lru-add-drain] root 8 0.0 0.0 0 0 ? S 19:10 0:00 [kdevtmpfs] root 9 0.0 0.0 0 0 ? S< 19:10 0:00 [netns] root 10 0.0 0.0 0 0 ? S 19:10 0:00 [oom_reaper] root 11 0.0 0.0 0 0 ? S< 19:10 0:00 [writeback] root 12 0.0 0.0 0 0 ? S 19:10 0:00 [kcompactd0] root 13 0.0 0.0 0 0 ? SN 19:10 0:00 [khugepaged] root 14 0.0 0.0 0 0 ? S< 19:10 0:00 [crypto] root 15 0.0 0.0 0 0 ? S< 19:10 0:00 [bioset] root 16 0.0 0.0 0 0 ? S< 19:10 0:00 [kblockd] root 17 0.0 0.0 0 0 ? S< 19:10 0:00 [ata_sff] root 19 0.0 0.0 0 0 ? S 19:10 0:00 [kswapd0] root 20 0.0 0.0 0 0 ? S< 19:10 0:00 [bioset] root 28 0.0 0.0 0 0 ? S 19:10 0:00 [scsi_eh_0] root 29 0.0 0.0 0 0 ? S< 19:10 0:00 [scsi_tmf_0] root 30 0.0 0.0 0 0 ? S 19:10 0:00 [scsi_eh_1] root 31 0.0 0.0 0 0 ? S< 19:10 0:00 [scsi_tmf_1] root 35 0.0 0.0 0 0 ? S< 19:10 0:00 [bioset] root 36 0.0 0.0 0 0 ? S 19:10 0:00 [kworker/u2:3] root 1324 0.0 0.0 0 0 ? S 19:10 0:00 [jbd2/sda2-8] root 1325 0.0 0.0 0 0 ? S< 19:10 0:00 [ext4-rsv-conver] root 1341 0.0 0.0 0 0 ? S< 19:10 0:00 [kworker/0:1H] root 1695 0.0 0.1 28388 2328 ? Ss 19:10 0:00 /sbin/udevd --daemon root 1754 0.0 0.0 0 0 ? S 19:10 0:00 [kworker/0:3] root 1917 0.0 0.0 0 0 ? S 19:10 0:00 [jbd2/sda1-8] root 1918 0.0 0.0 0 0 ? S< 19:10 0:00 [ext4-rsv-conver] root 2097 0.0 0.1 19312 2340 ? Ss 19:10 0:00 /usr/sbin/crond root 2275 0.0 0.0 4192 1576 ? Ss 19:11 0:00 /usr/sbin/acpid root 2313 0.0 0.1 10892 1968 ? Ss 19:11 0:00 /sbin/dhcpcd -q root 2369 0.0 0.0 0 0 ? S< 19:11 0:00 [ipv6_addrconf] root 2373 0.0 0.1 30152 2948 ? Ss 19:11 0:00 /usr/sbin/sshd lighttpd 2408 0.0 0.1 53532 2948 ? S 19:11 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 2490 0.0 0.1 18448 2076 tty2 Ss+ 19:11 0:00 /sbin/agetty 38400 tty2 linux root 2491 0.0 0.0 18448 1916 tty3 Ss+ 19:11 0:00 /sbin/agetty 38400 tty3 linux root 2492 0.0 0.1 18448 2072 tty4 Ss+ 19:11 0:00 /sbin/agetty 38400 tty4 linux root 2493 0.0 0.1 18448 2032 tty5 Ss+ 19:11 0:00 /sbin/agetty 38400 tty5 linux root 2494 0.0 0.1 18448 2076 tty6 Ss+ 19:11 0:00 /sbin/agetty 38400 tty6 linux root 2528 0.0 0.1 18448 2000 tty1 Ss+ 19:12 0:00 /sbin/agetty 38400 tty1 linux root 2608 0.0 0.0 0 0 ? S 19:20 0:00 [kworker/0:0] network+ 2755 0.9 0.2 34484 5348 ? S<s 19:36 0:04 /usr/sbin/networkaudiod root 2810 0.0 0.0 0 0 ? S 19:43 0:00 [kworker/0:1] squeeze+ 2833 0.2 0.6 44292 11592 ? S<Lsl 19:44 0:00 /usr/bin/squeezelite-R2 -f /var/log/squeezelite-R2.log -C 1
- di "agetty" (console login) volendo ne basta uno solo (al limite anche nessuno...);
- "crond" l'ho messo solo per controllare periodicamente che NAD ed R2 siano attivi (e nel caso riavviarli automaticamente);
- "acpid" per poterlo spegnere (facendo uno shutdown pulito) con il pulsante di accensione;
- "dhcpcd" (client DHCP) si può togliere se si configura la rete in modo statico;
- "lighttpd" serve solo per "Falcon"... ed ovviamente si può togliere;
- "sshd" ovviamente si può togliere;
al limite, si potrebbe togliere perfino "udev"... e naturalmente se si usa solo NAD si può togliere squeezelite-R2 o viceversa.
Sul server, dato che per HQP ci vuole necessariamente X11 con annessi e connessi, le cose si fanno più complesse. Molto ovviamente dipende da cosa si usa (solo X11 con un window manager minimale, oppure un DE completo...). Sicuramente si potrebbe ridurre molto di più utilizzando invece la versione "embedded".