Prima:
http://sadpanda.us/images/71427-2YQPEFC.gif
dopo:
Recupero informazioni per Troubleshooting
Avviare da CD live. E' possibile eseguire questi comandi da un terminale.
BIOS
sudo biosdecode
SMBIOS/DMI
sudo dmidecode sudo dmidecode -s system-product-name
HAL
sudo lshal
CPU
sudo lscpu sudo cat /proc/cpuinfo
PCI
sudo lspci -vvv -nn -G
USB
sudo lsusb -v
ALL HW
sudo lshw sudo lshw -businfo sudo lshw -short sudo lshw -disable dmi
Hardware specifici
per IBM/Lenovo:
sudo vpddecode
per Compaq
sudo ownsership
Software
Versione Ubuntu installata
sudo lsb_release -a sudo uname -a sudo cat /proc/version
Kernel
moduli installati nel kernel
sudo lsmod
parametri di avvio del kernel:
sudo cat /proc/cmdline
interrupt
sudo cat /proc/interrupts
Clocksource
sudo cat /sys/devices/system/clocksource/clocksource0/current_clocksource sudo cat /sys/devices/system/clocksource/clocksource0/available_clocksource
Filesystem Ext
lista dei file aperti:
sudo lsof
File di LOG
gnome-system-log
sudo dmesg cat /var/log/Xorg.0.log
Partizioni/MBR
sudo fdisk -lu sudo sfdisk -d sudo parted -l sudo parted /dev/sda print
Partizioni EFI/GPT
sudo gdisk -l /dev/sda
bootinfoscript: [http://forum.ubuntu-it.org/index.php/topic,397639.msg3110363.html#msg3110363 istruzioni]
Accelerazione 3D/X
libreria mesa
ldd /usr/bin/glxinfo
Rif: [http://forum.ubuntu-it.org/index.php/topic,401215.msg3127198.html#msg3127198 qui]
sudo xdpyinfo sudo xdriinfo
Kernel mode setting [https://wiki.ubuntu.com/X/KernelModeSetting Rif.] [https://wiki.ubuntu.com/X/Troubleshooting Rif.]
dmesg | grep drm
INIT/UPSTART
sudo initctl list man 5 init
ALSA
wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh
rif:[http://forum.ubuntu-it.org/index.php/topic,398777.msg3105700.html#msg3105700 HDMI]
sudo aplay -l sudo aplay -L
[https://help.ubuntu.com/community/SoundTroubleshooting rif.]
UREADAHEAD
sudo /sbin/ureadahead --debug
DBUS
sudo dbus-monitor
UDEV
sudo udevadm info --export-db
Riferimenti utili
Sensor detect ultima versione: [http://dl.lm-sensors.org/lm-sensors/files/sensors-detect sensors-detect]
Latencytop, Powertop (latenza e comandi per ridurre consumo)
filefrag: [http://forum.ubuntu-it.org/index.php/topic,385909.msg3046295.html#msg3046295 defrag ext3]
ripristinare il bootsector windos(xp) da linux (equivalente di fdisk /mbr): sudo ms-sys -m /dev/sda
vedere tipo di partizione sul disco (EFI, EMBR, etc): sudo hd -v -s 512 -n 4 -e '"%_u"' /dev/sda
trace di un processo: strace -p $pid_del_processo
parametri kernel: [http://www.kernel.org/doc/Documentation/kernel-parameters.txt kernel-paramters]
lista pacchetti : dpkg --get-selections > lista-pacchetti
forensic : [http://www.aw-bc.com/samplechapter/0321268172.pdf File System Forensic Analysis - Brian Carrier ]
un caso : [http://www.denisfrati.it/?p=1262 caso]
GPT e linux : [http://www.ibm.com/developerworks/linux/library/l-gpt/index.html?ca=dgr-lnxw07GPT-Storagedth-lx&S_TACT=105AGY83&S_CMP=grlnxw07 IBM]
Scheduler : [http://forum.ubuntu-it.org/index.php/topic,309328.msg2317395.html#msg2317395 info kernel]
Spulciato i miei post dall'inizio fino al 7/ago/2010 [http://paste.ubuntu.com/474565/ Paste]