Журнал лабораторных работ

Содержание

Журнал

Четверг (10/28/10)

/dev/pts/7
11:51:30
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
11:51:32
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6453  0.0  0.0   4844   764 pts/18   R+   12:51   0:00 grep fest
11:51:32
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6462  0.0  0.0   4844   756 pts/18   R+   12:51   0:00 grep fest
11:51:34
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6471  0.0  0.0   4844   772 pts/18   S+   12:51   0:00 grep fest
11:51:35
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6480  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:36
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6489  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:36
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6498  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:37
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6507  0.0  0.0    368   124 pts/18   R+   12:51   0:00 grep fest
11:51:37
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6516  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:38
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6525  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:40
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
11:51:44
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6543  0.0  0.0   4844   772 pts/18   S+   12:51   0:00 grep fest
11:51:45
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6552  0.0  0.0   4844   772 pts/18   R+   12:51   0:00 grep fest
11:51:46
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6561  0.0  0.0   4844   776 pts/18   S+   12:51   0:00 grep fest
11:51:56
#/etc/init.d/festival status
Usage: /etc/init.d/festival {start|stop|restart}
11:52:20
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6598  0.0  0.0   4844   772 pts/18   S+   12:53   0:00 grep fest
11:53:01
#/etc/init.d/festival restart
Restarting Festival server: festival/usr/bin/festival already running.
11:53:28
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6626  0.0  0.0   4844   772 pts/18   S+   12:53   0:00 grep fest
11:53:34
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6635  0.0  0.0   4844   776 pts/18   S+   12:53   0:00 grep fest
11:53:35
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6644  0.0  0.0   4844   776 pts/18   S+   12:53   0:00 grep fest
11:53:35
#mkdir /var/log/festival

11:54:43
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6687  0.0  0.0   4844   764 pts/18   R+   12:55   0:00 grep fest
11:56:01
#netstat -npl |
> netstat -npl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN      2659/sendmail: MTA:
tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      2495/asterisk
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      2478/inetd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1962/portmap
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      2495/asterisk
tcp        0      0 192.168.101.1:53        0.0.0.0:*               LISTEN      2406/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      2406/named
...
unix  2      [ ACC ]     STREAM     LISTENING     8939     2869/dbus-daemon    @/tmp/dbus-tSF3f2k9bk
unix  2      [ ACC ]     STREAM     LISTENING     7104     2376/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     7301     2453/cupsd          /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     7991     2645/X              @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     7084     2366/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     7629     2589/hald           @/var/run/hald/dbus-0SF1UNZDA7
unix  2      [ ACC ]     STREAM     LISTENING     7624     2589/hald           @/var/run/hald/dbus-aUxoW3FWD7
unix  2      [ ACC ]     STREAM     LISTENING     7926     2633/gdm            /var/run/gdm_socket
unix  2      [ ACC ]     STREAM     LISTENING     7138     2388/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     9014     2887/gam_server     @/tmp/fam-superv-
11:56:54
#/etc/init.d/festival stop
Stopping Festival server: festival.
11:56:59
#/etc/init.d/festival start
Starting Festival server: festival/usr/bin/festival already running.
11:58:37
#/etc/init.d/festival start
Starting Festival server: festival/usr/bin/festival already running.
11:58:44
#netstat -npl |grep 1314

11:58:46
#netstat -npl |grep 1314

11:58:47
#netstat -npl |grep 1314

11:58:48
#netstat -npl |grep 1314

11:58:48
#netstat -npl |grep 1314

12:00:09
#netstat -npl |grep 1314

12:00:11
#netstat -npl |grep 1314

12:00:12
#netstat -npl |grep 1314

12:00:13
#netstat -npl |grep 1314

12:01:22
#history
    8  cd init.d
    9  ls
   10  cd /
   11  ls
   12  cd etc
   13  cd/
   14  cd /
   15  etc/init.d/console-cirillic start
   16  cd etc
   17  cd init.d
...
  498  cp /usr/share/festival/festival.scm /etc/festival.scme
  499  /etc/init.d/festival stop
  500  /etc/init.d/festival start
  501  netstat -npl |grep 1314
  502  cp /usr/share/festival/festival.scm /etc/festival.scm
  503  /etc/init.d/festival stop
  504  /etc/init.d/festival start
  505  netstat -npl |grep 1314
  506  cp /usr/share/festival/festival.init /etc/init.d/festival
  507  history
прошло 39 минут
12:40:39
#~
 56      ((member (typeof method_val) '(subr closure))
 57       (apply method_val (list utt)))
 58      (t      ;; again is probably an error
 59       nil))))
 60
 61 (define (require_module l)
 62   "(require_module l)
 63 Check that certain compile-time modules are included in this installation.
 64 l may be a single atom or list of atoms.  Each item in l must appear in
 65 *modules* otherwise an error is throw."
...
620      "mbrola.scm" "display.scm" "postlex.scm" "tokenpos.scm"
621      "festtest.scm" "cslush.scm" "ducs_cluster.scm" "sucs.scm"
622      "web.scm" "cart_aux.scm"
623      "lts_nrl.scm" "lts_nrl_us.scm" "email-mode.scm"
624      "mrpa_phones.scm" "radio_phones.scm" "holmes_phones.scm"
625      "mrpa_durs.scm" "klatt_durs.scm" "gswdurtreeZ.scm"
626      "tobi.scm" "f2bf0lr.scm"))
627   t)
628
629 (provide 'festival)
12:41:18
#~
/usr/bin/festival
12:42:46
#test -x /usr/bin/festival

12:43:36
#test /usr/bin/festival

12:43:47
#/usr/bin/festival
Festival Speech Synthesis System 1.96:beta July 2004
Copyright (C) University of Edinburgh, 1996-2004. All rights reserved.
For details type `(festival_warranty)'
festival> gdsf
SIOD ERROR: unbound variable : gdsf
festival>
[2]+  Stopped                 /usr/bin/festival
12:44:05
#ps -aux |grep fest
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      7180  0.1  0.5  25700 21320 pts/18   T    13:43   0:00 /usr/bin/festival
root      7189  0.0  0.0   4848   784 pts/18   S+   13:44   0:00 grep fest
12:44:39
#ps -aux |grep fest
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      7180  0.1  0.5  25700 21320 pts/18   T    13:43   0:00 /usr/bin/festival
root      7198  0.0  0.0   4848   788 pts/18   R+   13:44   0:00 grep fest
12:45:02
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      7180  0.0  0.5  25700 21320 pts/18   T    13:43   0:00 /usr/bin/festival
root      7216  0.0  0.0   4844   760 pts/18   R+   13:45   0:00 grep fest
12:45:05
#ps
  PID TTY          TIME CMD
 4085 pts/18   00:00:00 bash
 6079 pts/18   00:00:00 festival
 7180 pts/18   00:00:00 festival
 7225 pts/18   00:00:00 ps
12:45:43
#ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   2104   684 ?        Ss   08:59   0:01 init [2]
root         2  0.0  0.0      0     0 ?        S<   08:59   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   08:59   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   08:59   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   08:59   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   08:59   0:00 [migration/1]
root         7  0.0  0.0      0     0 ?        S<   08:59   0:00 [ksoftirqd/1]
root         8  0.0  0.0      0     0 ?        S<   08:59   0:00 [watchdog/1]
root         9  0.0  0.0      0     0 ?        S<   08:59   0:01 [events/0]
...
root      4154  0.0  0.0   4720   360 pts/6    S+   09:58   0:00 script -f -c bash -q /root/.lilalo//16104121571
root      4155  0.0  0.0   6976  2848 pts/19   Ss   09:58   0:00 bash
root      4292  0.0  0.0   7548  2988 pts/19   S+   10:00   0:02 /usr/bin/vi /etc/asterisk/extensions.conf
superv    4407  0.0  0.6  47204 24320 ?        Ss   10:09   0:00 pidgin
root      4547  0.0  0.0   5164  2332 pts/14   S+   10:31   0:00 ssh tl.unix.nt
root      4858  0.0  0.0   7544  2848 pts/13   S+   11:13   0:00 /usr/bin/vi /etc/asterisk/sip.conf
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      6892  0.0  0.0   3396  1400 pts/12   S+   12:59   0:00 rasterisk rvvvvvvvvvvvvvv
root      7180  0.0  0.5  25700 21320 pts/18   T    13:43   0:00 /usr/bin/festival
root      7233  0.0  0.0   5412  1024 pts/18   R+   13:45   0:00 ps aux
12:45:49
#ps aux |grep fest
root      6079  0.0  0.6  26964 22924 pts/18   T    12:36   0:00 festival
root      7180  0.0  0.5  25700 21320 pts/18   T    13:43   0:00 /usr/bin/festival
12:46:09
#kill -9 6979
bash: kill: (6979) - Нет такого процесса
12:46:58
#kill -9 6979
bash: kill: (6979) - Нет такого процесса