[#] Zrzut ekranu konsoli do pliku tekstowego

( Ostatnio zmieniony ndz., 18/01/2009 - 11:35 )
 
sudo setterm -dump X

gdzie x to numer konsoli tty. Ekran zachowywany jest w pliku tekstowym screen.dump.

przykładowy wynik zrzutu tty8, z pliku screen.dump:

user@test:~$ cat screen.dump
 * Setting sensors limits...                                             [ OK ]
 * Starting anac(h)ronistic cron anacron                                 [ OK ]
 * Starting deferred execution scheduler atd                             [ OK ]
 * Starting periodic command scheduler crond                             [ OK ]
 * Enabling additional executable binary formats binfmt-support          [ OK ]
 * Starting web server apache2                                           [ OK ]
 * Checking battery state...                                             [ OK ]
 * Enabling laptop mode...                                               [ OK ]
 * Running local boot scripts (/etc/rc.local)                            [ OK ]
 * Starting TiMidity++ ALSA midi emulation...                            [ OK ]


user@test:~$

lub:

user:~$ ls /dev/vcs

vcs    vcs2   vcs4   vcs6   vcsa   vcsa2  vcsa4  vcsa6
vcs1   vcs3   vcs5   vcs7   vcsa1  vcsa3  vcsa5  vcsa7


user:~$ sudo cat /dev/vcs1

 * Doing Wacom setup...                                                  [ OK ]
 * Starting kernel log daemon...                                         [ OK ]
 * Starting system message bus dbus                                      [ OK ]
 * Starting System Tools Backends system-tools-backends                  [ OK ]
 * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon                        [ OK ]
 * Starting Common Unix Printing System: cupsd                           [ OK ]
 * Starting disk temperature monitoring daemon hddtemp:                  [ OK ]
 * Starting powernowd...                                                 [ OK ]
 * Starting VirtualBox kernel module
 *  done.
 * Starting DHCP D-Bus daemon dhcdbd                                     [ OK ]
 * Starting Hardware abstraction layer hald                              [ OK ]
 * Starting bluetooth                                                    [ OK ]
 * Starting NetworkManager...                                            [ OK ]
 * Starting GNOME Display Manager...                                     [ OK ]
 * Starting anac(h)ronistic cron anacron                                 [ OK ]
 * Starting periodic command scheduler crond                             [ OK ]
 * Enabling laptop mode...                                               [ OK ]
 * Checking battery state...                                             [ OK ]
 * Running local boot scripts (/etc/rc.local)                            [ OK ]
 * Starting TiMidity++ ALSA midi emulation...                            [ OK ]

 Ubuntu 8.04.1 xx tty1
 xx login:
5
Twoja ocena: Brak Średnio: 5 (2 głosy)