- Purtroppo durante l' esecuzione di programmi lanciati da shell, lasciando il Notebook acceso, prima di andare aletto, (col coperchio chiuso) il mattino seguente mi ritrovo il PC spento e di conseguenza perdo tutto il lavoro che stavo elaborando.
Dati rilevati durante l' utilizzo dello script (sotto sforzo)
- Uso della CPU= 100 % (durante l'esecuzione, intervallando la CPU0 e CPU1)
- Carico medio del sistema= 1,5 --> 2,5 %
- Temperatura sensori ACPI (THRM CPU) 64 --> 68 Celsius / costanti
Il fatto è che se lo lascio lavorare ed uso il PC normalmente tutto il giorno (con le stesse condizioni di CPU e temperature) non si spegne, mentre se lo lascio "fermo" dopo un pò di tempo si arresta come se venisse interrotta la corrente
Infatti durante il riavvio, noto che rileva la "messa a posto" di un programma orfano (che era quello che stava lavorando ed è stato interrotto dallo spegnimento)
Ho controllato nei log di sistema e mi sembra tutto a posto:
Codice: Seleziona tutto
Jun 16 03:23:05 ghost gnome-power-manager: (jano) Non fare nulla. Motivo: Il coperchio del computer è stato chiuso con alimentazione dalla rete elettrica.
- file messages
Jun 16 03:49:59 ghost -- MARK --Codice: Seleziona tutto
Jun 16 03:17:01 ghost CRON[14081]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 16 03:17:01 ghost CRON[14081]: pam_unix(cron:session): session closed for user rootCodice: Seleziona tutto
Jun 16 03:18:17 ghost NetworkManager: <info> User request to disable wireless.
Jun 16 03:18:17 ghost NetworkManager: <info> Deactivating device eth1.
Jun 16 03:18:17 ghost dhclient: There is already a pid file /var/run/dhclient.eth1.pid with pid 10829
Jun 16 03:18:17 ghost dhclient: killed old client process, removed PID file
Jun 16 03:18:17 ghost dhclient: DHCPRELEASE on eth1 to 192.168.0.1 port 67
Jun 16 03:18:17 ghost avahi-daemon[5180]: Withdrawing address record for 192.168.0.101 on eth1.
Jun 16 03:18:17 ghost avahi-daemon[5180]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.0.101.
Jun 16 03:18:17 ghost avahi-daemon[5180]: Interface eth1.IPv4 no longer relevant for mDNS.
Jun 16 03:18:18 ghost avahi-daemon[5180]: Withdrawing address record for fe80::213:49ff:fe70:4d81 on eth1.
Jun 16 03:18:20 ghost NetworkManager: <info> Disconnected.
Jun 16 03:18:26 ghost NetworkManager: <debug> [1213579105.887243] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/net_00_13_49_70_4d_81').
Jun 16 03:18:26 ghost NetworkManager: <info> Deactivating device eth1.
Jun 16 03:18:26 ghost NetworkManager: <WARN> nm_device_802_11_wireless_get_mode(): error getting card mode on eth1: No such device
Jun 16 03:18:27 ghost NetworkManager: <debug> [1213579107.056099] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_586_340f_noserial_if0').
Jun 16 03:18:27 ghost NetworkManager: <debug> [1213579107.056179] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_586_340f_noserial'). Codice: Seleziona tutto
Jun 16 03:18:25 ghost kernel: [44368.636712] usb 5-4: USB disconnect, address 4Anacrontab
Codice: Seleziona tutto
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# These replace cron's entries
1 5 cron.daily nice run-parts --report /etc/cron.daily
7 10 cron.weekly nice run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly nice run-parts --report /etc/cron.monthly
Codice: Seleziona tutto
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#- le righe "cd / && run-parts" (invece "run-parts") possono influire?
Ciao, Jano

