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

Содержание

Журнал

Понедельник (05/17/10)

/dev/ttyp1
21:53:42
$date
Mon May 17 22:53:47 EEST 2010
21:53:47
$]
bash: ]: command not found
21:53:50
$date
Mon May 17 22:53:52 EEST 2010
21:53:52
$date
Mon May 17 22:53:54 EEST 2010
21:53:54
$date
Mon May 17 22:53:55 EEST 2010
21:53:55
$date
Mon May 17 22:53:56 EEST 2010
21:53:56
$date
Mon May 17 22:53:57 EEST 2010
21:53:57
$su -
Password:
/dev/ttyp1
21:55:43
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:47
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:50
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:51
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:53
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:55
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:57
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:55:58
$logger -p info test

21:56:07
$dmesg
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80002201<SSE3,SSSE3,CX16,<b31>>
  AMD Features=0x100000<NX>
  Cores per package: 4
real memory  = 805306368 (768 MB)
avail memory = 778526720 (742 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
...
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:56:09
$less /etc/syslog.conf
21:56:41
$logger -p notice

21:56:48
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:56:52
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:56:56
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:56:58
$less /etc/syslog.conf
21:57:11
$man logger
21:57:49
$logger -p infot

21:57:58
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:58:00
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:58:03
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:58:06
$less /etc/syslog.conf
21:58:21
$logger -p emerg test

21:58:28
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
21:58:31
$/etc/syslog.conf

21:58:43
$sudo less /var/log/dmesg.
21:58:52
$sudo less /var/log/dmesg.
21:58:52
$sudo less /var/log/dmesg.today
21:59:04
$sudo vim /etc/syslog.conf
21:59:21
$man syslog.conf
21:59:51
$sudo /etc/rc.d/syslogd restart
Stopping syslogd.
Starting syslogd.
22:00:08
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:00:14
$logger -p notice test

22:00:24
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:00:26
$logger test

22:01:17
$dmesg | t
bash: t: command not found
22:01:19
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:21
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:24
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:26
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:28
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:29
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:30
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:30
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:31
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:32
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:32
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:33
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:34
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:01:35
$sudo vim /etc/syslog.conf
22:01:54
$sudo /etc/rc.d/syslogd restart
Stopping syslogd.
Starting syslogd.
22:02:00
$logger test

22:02:08
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:02:10
$dmesg | wc -l
     156
22:03:01
$dmesg | wc -l
     156
22:03:05
$dmesg | wc -l
     156
22:03:06
$dmesg | wc -l
     156
22:08:19
$dmesg | tail
calcru: negative runtime of -680486 usec for pid 14 (yarrow)
calcru: negative runtime of -285708 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680445 usec for pid 14 (yarrow)
calcru: negative runtime of -285514 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
calcru: negative runtime of -680429 usec for pid 14 (yarrow)
calcru: negative runtime of -285406 usec for pid 3 (g_up)
22:08:28
$sudo vim /usr/local/lib/X11/X
22:08:28
$sudo vim /usr/local/lib/X11/xdm/Xsession
/dev/ttyp1
22:14:13
$ls -l
total 838
drwxr-xr-x  2 user  wheel     512 Mar 15  2008 Desktop
-rw-------  1 user  wheel  823296 Jul 24  2009 gdb.core
-rwxr-xr-x  1 user  wheel      19 May 17 12:53 hello
-rw-r--r--  1 root  wheel    1635 Jul 24  2009 passwd
22:14:15
$cat /boot/loader.conf
kern.hz="100"
22:14:59
$cat /boot/device.hints
# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.14 2005/01/14 06:54:59 imp Exp $
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.ata.0.at="isa"
...
hint.ie.0.maddr="0xd0000"
hint.fe.0.at="isa"
hint.fe.0.disabled="1"
hint.fe.0.port="0x300"
hint.lnc.0.at="isa"
hint.lnc.0.disabled="1"
hint.lnc.0.port="0x280"
hint.lnc.0.irq="10"
hint.lnc.0.drq="0"
hint.acpi.0.disabled="1"
22:15:46
$cat /etc/sysctl.conf
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
net.inet6.ip6.v6only=0
kern.timecounter.hardware=i8254
/dev/ttyp1
22:17:17
#vim /usr/local/lib/X11/xdm/Xsession
прошло 34 минуты
/dev/ttyp3
22:52:12
$echo test
test

Вторник (05/18/10)

/dev/ttyp1
05:12:42
$su -
Password:
05:15:54
#dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (3332.86-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fb  Stepping = 11
  Features=0x1789fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
...
calcru: negative runtime of -616084 usec for pid 32 (softdepflush)
calcru: runtime went backwards from 3807528 usec to 3679229 usec for pid 13 (swi1: net)
calcru: runtime went backwards from 6415810 usec to 6401450 usec for pid 3928 (gnome-terminal)
calcru: negative runtime of -616084 usec for pid 32 (softdepflush)
calcru: runtime went backwards from 12571291875 usec to 12571155012 usec for pid 21 (irq5: re0 uhci0)
calcru: runtime went backwards from 3807528 usec to 3679238 usec for pid 13 (swi1: net)
calcru: runtime went backwards from 6415810 usec to 6401450 usec for pid 3928 (gnome-terminal)
calcru: negative runtime of -616084 usec for pid 32 (softdepflush)
calcru: runtime went backwards from 12571291875 usec to 12571155012 usec for pid 21 (irq5: re0 uhci0)
calcru: runtime went backwards from 3807528 usec to 3679238 usec for pid 13 (swi1: net)
прошло 93 минуты
/dev/ttyp1
06:48:58
$ls -l
total 838
drwxr-xr-x  2 user  wheel     512 Mar 15  2008 Desktop
-rw-------  1 user  wheel  823296 Jul 24  2009 gdb.core
-rwxr-xr-x  1 user  wheel      19 May 17 12:53 hello
-rw-r--r--  1 root  wheel    1635 Jul 24  2009 passwd
прошло 15 минут
/dev/ttyp1
07:04:19
$su -
Password:
Removing stale pidfile
07:14:03
#sysctl -a | grep timecounter
kern.timecounter.stepwarnings: 0
kern.timecounter.nbinuptime: 10568771
kern.timecounter.nnanouptime: 0
kern.timecounter.nmicrouptime: 4257
kern.timecounter.nbintime: 349201
kern.timecounter.nnanotime: 73910
kern.timecounter.nmicrotime: 275291
kern.timecounter.ngetbinuptime: 2827
kern.timecounter.ngetnanouptime: 1959
kern.timecounter.ngetmicrouptime: 1123836
kern.timecounter.ngetbintime: 0
kern.timecounter.ngetnanotime: 0
kern.timecounter.ngetmicrotime: 2748986
kern.timecounter.nsetclock: 104
kern.timecounter.hardware: TSC
kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000)
kern.timecounter.tick: 1
kern.timecounter.smp_tsc: 0
прошло 17 минут
07:31:49
#vim /etc/sysctl.conf
прошло 29 минут
08:01:15
#vim /etc/sysctl.conf
прошло 44 минуты
/dev/ttyp1
08:46:13
$netstat
Active Internet connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  localhost.smtp         localhost.57849        TIME_WAIT
tcp4       0      0  fbsd3.ssh              debian4.42223          ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c477cc60 stream      0      0        0 c477ca20        0        0
c477ca20 stream      0      0        0 c477cc60        0        0
c477b630 stream      0      0        0 c477b6c0        0        0 /tmp/.X11-unix/X0
c477b6c0 stream      0      0        0 c477b630        0        0
c477b750 stream      0      0        0 c477b7e0        0        0 /tmp/.X11-unix/X0
c477b7e0 stream      0      0        0 c477b750        0        0
c477ba20 stream      0      0        0 c477bab0        0        0 /tmp/.X11-unix/X0
c477bab0 stream      0      0        0 c477ba20        0        0
c477bb40 stream      0      0 c499c000        0        0        0 /tmp/.X11-unix/X0
c477c000 stream      0      0 c4779330        0        0        0 /var/run/devd.pipe
c477c510 dgram       0      0 c4b42000        0        0        0 /var/run/logpriv
c477c480 dgram       0      0 c4591550        0        0        0 /var/run/log
c477bbd0 dgram       0      0        0        0        0        0
c477bc60 dgram       0      0        0        0        0        0
08:46:15
$sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
user     sshd       8270  3  tcp4   192.168.16.23:22      192.168.16.4:42223
user     sshd       8270  4  stream -> ??
root     sshd       8260  3  tcp4   192.168.16.23:22      192.168.16.4:42223
root     sshd       8260  5  stream -> ??
root     syslogd    1645  4  dgram  /var/run/log
root     syslogd    1645  5  dgram  /var/run/logpriv
root     syslogd    1645  6  udp6   *:514                 *:*
root     syslogd    1645  7  udp4   *:514                 *:*
root     xconsole   988   3  stream -> /tmp/.X11-unix/X0
...
root     xdm        973   1  tcp46  *:49152               *:*
root     xdm        973   3  udp46  *:177                 *:*
root     inetd      947   5  tcp4   *:5902                *:*
smmsp    sendmail   917   3  dgram  (not connected)
root     sendmail   913   3  dgram  (not connected)
root     sendmail   913   4  tcp4   127.0.0.1:25          *:*
root     sshd       907   3  tcp46  *:22                  *:*
root     sshd       907   4  tcp4   *:22                  *:*
root     devd       681   4  stream /var/run/devd.pipe
root     moused     626   4  stream /var/run/devd.pipe
08:46:27
$sockstat -4l
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     syslogd    1645  7  udp4   *:514                 *:*
root     xdm        977   1  tcp46  *:49152               *:*
root     Xorg       976   3  tcp4   *:6000                *:*
root     xdm        973   1  tcp46  *:49152               *:*
root     xdm        973   3  udp46  *:177                 *:*
root     inetd      947   5  tcp4   *:5902                *:*
root     sendmail   913   4  tcp4   127.0.0.1:25          *:*
root     sshd       907   3  tcp46  *:22                  *:*
root     sshd       907   4  tcp4   *:22                  *:*
08:46:33
$netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    26209    re0
127.0.0.1          127.0.0.1          UH          0    15689    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.4       00:16:3e:00:00:04  UHLW        1       79    re0   1152
192.168.16.254     00:07:e9:0c:45:0c  UHLW        2     4699    re0   1157
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
08:46:48
$netstat -rn -f inet
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    26209    re0
127.0.0.1          127.0.0.1          UH          0    15689    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.4       00:16:3e:00:00:04  UHLW        1       91    re0   1148
192.168.16.254     00:07:e9:0c:45:0c  UHLW        2     4699    re0   1153
08:46:52
$sysinstall
Error: This utility should only be run as root.
08:48:19
$sudo sysinstall

08:48:43
$vim /etc/ttys
прошло 16 минут
/dev/ttyp1
09:05:28
$lastb
bash: lastb: command not found
09:05:31
$lastlogin
root              ttyp3    debian.net.nt      Mon May 17 23:51:44 2010
user              ttyp1    debian4.net.nt     Tue May 18 10:05:27 2010
09:05:36
$lastlog
bash: lastlog: command not found
09:05:39
$w
10:05AM  up 11:11, 1 user, load averages: 0.00, 0.00, 0.00
USER             TTY      FROM              LOGIN@  IDLE WHAT
user             p1       debian4          10:05AM     - script -t 0 -q /home/user/.lilalo//392026068
09:05:47
$who
user             ttyp1    May 18 10:05 (debian4)
09:05:50
$man lastlogin
09:06:09
$last
user             :2                        Mon May 17 22:55 - 23:13  (00:18)
reboot           ~                         Mon May 17 22:55
shutdown         ~                         Mon May 17 22:54
user             ttyp1    :2.0             Mon May 17 22:53 - shutdown  (00:01)
user             ttyp1    :2.0             Mon May 17 22:53 - 22:53  (00:00)
user             :2                        Mon May 17 22:53 - shutdown  (00:01)
reboot           ~                         Mon May 17 22:53
shutdown         ~                         Mon May 17 22:52
user             ttyp1    :2.0             Mon May 17 15:51 - shutdown  (07:00)
user             ttyp1    :2.0             Mon May 17 15:51 - 15:51  (00:00)
...
root             ttyv0                     Sat Mar 15 18:09 - shutdown  (00:11)
reboot           ~                         Sat Mar 15 18:09
root             ttyv0                     Sat Mar 15 17:54 - 18:07  (00:12)
root             ttyv0                     Sat Mar 15 17:53 - 17:54  (00:00)
reboot           ~                         Sat Mar 15 17:53
shutdown         ~                         Sat Mar 15 17:52
user             ttyv8    :0               Sat Mar 15 17:06 - 17:07  (00:00)
root             ttyv0                     Sat Mar 15 17:06 - shutdown  (00:46)
reboot           ~                         Sat Mar 15 17:05
wtmp begins Sat Mar 15 17:05:55 EET 2008
09:06:52
$last | less
09:07:03
$sudo less /var/log/auth.log
09:10:15
$vim /etc/passwd
09:12:34
$root:*:0:0:Charli
set list
syn on
~
~
~
~
~
~
~
~
...
~
~
~
~
~
~
~
~
~
".vimrc" [New File] 5 lines, 42 characters written
09:14:15
$vim /etc/passwd
09:14:19
$~
set showcmd$
set list$
set number$
~
~
~
~
~
~
~
...
~
~
~
~
~
~
~
~
~
".vimrc" 6L, 53C written

Файлы

  • /boot/device.hints
  • /boot/loader.conf
  • /etc/sysctl.conf
  • /boot/device.hints
    >
    # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.14 2005/01/14 06:54:59 imp Exp $
    hint.fdc.0.at="isa"
    hint.fdc.0.port="0x3F0"
    hint.fdc.0.irq="6"
    hint.fdc.0.drq="2"
    hint.fd.0.at="fdc0"
    hint.fd.0.drive="0"
    hint.fd.1.at="fdc0"
    hint.fd.1.drive="1"
    hint.ata.0.at="isa"
    hint.ata.0.port="0x1F0"
    hint.ata.0.irq="14"
    hint.ata.1.at="isa"
    hint.ata.1.port="0x170"
    hint.ata.1.irq="15"
    hint.adv.0.at="isa"
    hint.adv.0.disabled="1"
    hint.bt.0.at="isa"
    hint.bt.0.disabled="1"
    hint.aha.0.at="isa"
    hint.aha.0.disabled="1"
    hint.aic.0.at="isa"
    hint.aic.0.disabled="1"
    hint.atkbdc.0.at="isa"
    hint.atkbdc.0.port="0x060"
    hint.atkbd.0.at="atkbdc"
    hint.atkbd.0.irq="1"
    hint.psm.0.at="atkbdc"
    hint.psm.0.irq="12"
    hint.vga.0.at="isa"
    hint.sc.0.at="isa"
    hint.sc.0.flags="0x100"
    hint.vt.0.at="isa"
    hint.vt.0.disabled="1"
    hint.apm.0.disabled="1"
    hint.apm.0.flags="0x20"
    hint.sio.0.at="isa"
    hint.sio.0.port="0x3F8"
    hint.sio.0.flags="0x10"
    hint.sio.0.irq="4"
    hint.sio.1.at="isa"
    hint.sio.1.port="0x2F8"
    hint.sio.1.irq="3"
    hint.sio.2.at="isa"
    hint.sio.2.disabled="1"
    hint.sio.2.port="0x3E8"
    hint.sio.2.irq="5"
    hint.sio.3.at="isa"
    hint.sio.3.disabled="1"
    hint.sio.3.port="0x2E8"
    hint.sio.3.irq="9"
    hint.ppc.0.at="isa"
    hint.ppc.0.irq="7"
    hint.ed.0.at="isa"
    hint.ed.0.disabled="1"
    hint.ed.0.port="0x280"
    hint.ed.0.irq="10"
    hint.ed.0.maddr="0xd8000"
    hint.cs.0.at="isa"
    hint.cs.0.disabled="1"
    hint.cs.0.port="0x300"
    hint.sn.0.at="isa"
    hint.sn.0.disabled="1"
    hint.sn.0.port="0x300"
    hint.sn.0.irq="10"
    hint.ie.0.at="isa"
    hint.ie.0.disabled="1"
    hint.ie.0.port="0x300"
    hint.ie.0.irq="10"
    hint.ie.0.maddr="0xd0000"
    hint.fe.0.at="isa"
    hint.fe.0.disabled="1"
    hint.fe.0.port="0x300"
    hint.lnc.0.at="isa"
    hint.lnc.0.disabled="1"
    hint.lnc.0.port="0x280"
    hint.lnc.0.irq="10"
    hint.lnc.0.drq="0"
    hint.acpi.0.disabled="1"
    
    /boot/loader.conf
    >
    kern.hz="100"
    
    /etc/sysctl.conf
    >
    # $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
    #
    #  This file is read when going to multi-user and its contents piped thru
    #  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
    #
    # Uncomment this to prevent users from seeing information about processes that
    # are being run under another UID.
    #security.bsd.see_other_uids=0
    net.inet6.ip6.v6only=0
    kern.timecounter.hardware=i8254
    

    Статистика

    Время первой команды журнала21:53:42 2010- 5-17
    Время последней команды журнала09:14:19 2010- 5-18
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 4.95
    Процент синтаксически неверно набранных команд, % 3.96
    Суммарное время работы с терминалом *, час 2.12
    Количество командных строк в единицу времени, команда/мин 0.79
    Частота использования команд
    dmesg38|==========================| 26.57%
    tail24|================| 16.78%
    sudo11|=======| 7.69%
    vim10|======| 6.99%
    less8|=====| 5.59%
    logger7|====| 4.90%
    date6|====| 4.20%
    wc4|==| 2.80%
    man3|==| 2.10%
    netstat3|==| 2.10%
    cat3|==| 2.10%
    su3|==| 2.10%
    sockstat2|=| 1.40%
    last2|=| 1.40%
    sysinstall2|=| 1.40%
    /etc/rc.d/syslogd2|=| 1.40%
    ls2|=| 1.40%
    lastlog1|| 0.70%
    sysctl1|| 0.70%
    ]1|| 0.70%
    /etc/syslog.conf1|| 0.70%
    t1|| 0.70%
    lastlogin1|| 0.70%
    echo1|| 0.70%
    who1|| 0.70%
    grep1|| 0.70%
    ~1|| 0.70%
    root:*:0:0:Charli1|| 0.70%
    lastb1|| 0.70%
    w1|| 0.70%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$