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

Содержание

Журнал

Четверг (03/30/17)

/dev/pts/8
14:01:11
#ls
1234  d1       f2       ip.txt  MBR2    mynologin  ps.tx   skripts
2     err.txt  install  MBR     mymotd  proc.txt   shadow
прошло 12 минут
/dev/pts/10
14:14:06
#ssh 192.168.16.209
The authenticity of host '192.168.16.209 (192.168.16.209)' can't be established.
RSA key fingerprint is 97:e3:e0:da:0a:06:b2:75:70:d0:b2:9e:4b:f4:fd:64.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.16.209' (RSA) to the list of known hosts.
root@192.168.16.209's password:
Last login: Thu Mar 30 17:58:44 2017
[root@centos4 ~]# l3script
-bash: l3script: команда не найдена
[root@centos4 ~]# exit
logout
Connection to 192.168.16.209 closed.
14:18:11
#ssh 192.168.16.209
root@192.168.16.209's password:
Last login: Thu Mar 30 18:25:04 2017
[root@centos4 ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog
[root@centos4 ~]# ls -l
итого 44
-rw-------. 1 root root  1454 Мар 30 17:55 anaconda-ks.cfg
-rw-r--r--. 1 root root 26707 Мар 30 17:55 install.log
-rw-r--r--. 1 root root  7455 Мар 30 17:54 install.log.syslog
[root@centos4 ~]# fdisk -l 2> /dev/nul |hed -15
...
~
~
~
"/etc/fstab" 17L, 905C written
[root@centos4 ~]# reboot
Broadcast message from root@centos4.corp.local
        (/dev/pts/0) at 19:09 ...
The system is going down for reboot NOW!
[root@centos4 ~]# Connection to 192.168.16.209 closed by remote host.
Connection to 192.168.16.209 closed.

Пятница (03/31/17)

/dev/pts/2
08:18:10
#ssh 192.168.16.209
root@192.168.16.209's password:
Permission denied, please try again.
root@192.168.16.209's password:
Permission denied, please try again.
root@192.168.16.209's password:
08:19:48
#cat /proc/sys
sys/           sysrq-trigger  sysvipc/
08:19:48
#cat /proc/sys/kernel/pid_max
32768
08:26:45
#cat /sys/
block/      class/      devices/    fs/         kernel/     power/
bus/        dev/        firmware/   hypervisor/ module/
08:26:45
#pstree
init─┬─acpid
     ├─cron
     ├─exim4
     ├─6*[getty]
     ├─2*[l3-agent]
     ├─rsyslogd───3*[{rsyslogd}]
     ├─script───l3script
     ├─script───l3script───su───bash───script───script───l3script───su───bash──+++
     ├─sshd───sshd───bash───script───script───l3script───pstree
     └─udevd
08:29:24
#who
root     pts/2        2017-03-31 09:18 (192.168.16.201)
08:30:28
#who $

08:31:50
#bash\
> ^C
08:33:34
#bash
root@debian4:~# sleep 100 $
sleep: неверный временной интервал «$»
Попробуйте «sleep --help» для получения более подробного описания.
root@debian4:~# sleep 100 &
[1] 10728
root@debian4:~# pstree
init─┬─acpid
     ├─cron
     ├─exim4
     ├─6*[getty]
...
     ├─script───l3script───su───bash───script───script───l3script───su───bash──+++
     ├─sshd───sshd───bash───script───script───l3script───bash─┬─pstree
     │                                                        └─sleep
     └─udevd
root@debian4:~# echo $$
10726
root@debian4:~# kill -l `echo $$`
bash: kill: 10726: недопустимая спецификация сигнала
root@debian4:~# kill -1 `echo $$`
Обрыв терминальной линии
08:35:27
#bash
root@debian4:~# l3
l3-agent   l3-config  l3script
root@debian4:~# l3script
08:37:00
#sleep 100 &
[1] 10793
/dev/pts/8
08:37:00
#sleep 100 &
[1] 10793
/dev/pts/2
08:37:34
#kill -1 `echo $$`
root@debian4:~# l3script
08:38:03
#echo $$
10837
/dev/pts/8
08:38:03
#echo $$
10837
/dev/pts/2
08:38:12
#pstree
init─┬─acpid
     ├─cron
     ├─exim4
     ├─6*[getty]
     ├─2*[l3-agent]
     ├─rsyslogd───3*[{rsyslogd}]
     ├─script───l3script
     ├─script───l3script───su───bash───script───script───l3script───su───bash──+++
     ├─sshd───sshd───bash───script───script───l3script───bash───script───script+++
     └─udevd
/dev/pts/8
08:38:12
#pstree
init─┬─acpid
     ├─cron
     ├─exim4
     ├─6*[getty]
     ├─2*[l3-agent]
     ├─rsyslogd───3*[{rsyslogd}]
     ├─script───l3script
     ├─script───l3script───su───bash───script───script───l3script───su───bash──+++
     ├─sshd───sshd───bash───script───script───l3script───bash───script───script+++
     └─udevd
/dev/pts/2
08:38:34
#ps
  PID TTY          TIME CMD
10837 pts/9    00:00:00 l3script
10873 pts/9    00:00:00 ps
/dev/pts/8
08:38:34
#ps
  PID TTY          TIME CMD
10837 pts/9    00:00:00 l3script
10873 pts/9    00:00:00 ps
/dev/pts/2
08:42:13
#ps l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
4     0  8747  8746  20   0  22188  2872 -      S    pts/4      0:00 -su
...
4     0  9152  9151  20   0  39264  1376 -      S    pts/6      0:00 su user
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10881 10837  20   0  10536   840 -      R+   pts/9      0:00 ps l
/dev/pts/8
08:42:13
#ps l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
4     0  8747  8746  20   0  22188  2872 -      S    pts/4      0:00 -su
...
4     0  9152  9151  20   0  39264  1376 -      S    pts/6      0:00 su user
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10881 10837  20   0  10536   840 -      R+   pts/9      0:00 ps l
/dev/pts/2
08:43:50
#ps -l
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
0 S     0 10837 10836  0  80   0 -  5478 -      pts/9    00:00:00 l3script
4 R     0 10889 10837  0  80   0 -  2634 -      pts/9    00:00:00 ps
/dev/pts/8
08:43:50
#ps -l
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
0 S     0 10837 10836  0  80   0 -  5478 -      pts/9    00:00:00 l3script
4 R     0 10889 10837  0  80   0 -  2634 -      pts/9    00:00:00 ps
/dev/pts/2
08:43:58
#ps la
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
0  1000  8595  8594  20   0  22212  2888 -      Ss   pts/4      0:00 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
...
0  1000  9267  9266  20   0  22316  3104 -      Ss+  pts/7      0:00 l3script
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10897 10837  20   0  10536   840 -      R+   pts/9      0:00 ps la
/dev/pts/8
08:43:58
#ps la
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
0  1000  8595  8594  20   0  22212  2888 -      Ss   pts/4      0:00 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
...
0  1000  9267  9266  20   0  22316  3104 -      Ss+  pts/7      0:00 l3script
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10897 10837  20   0  10536   840 -      R+   pts/9      0:00 ps la
/dev/pts/2
08:44:45
#ps la
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
0  1000  8595  8594  20   0  22212  2888 -      Ss   pts/4      0:00 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
...
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
0  1001 10908 10907  20   0  22600  3196 -      Ss+  pts/10     0:00 -bash
4     0 10989 10837  20   0  10536   844 -      R+   pts/9      0:00 ps la
/dev/pts/8
08:44:45
#ps la
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2302     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2303     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2304     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2305     1  20   0  18368   968 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2306     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2307     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
0     0  6677  6676  20   0  21964  2528 -      Ss+  pts/1      0:01 l3script
0  1000  8595  8594  20   0  22212  2888 -      Ss   pts/4      0:00 l3script
4     0  8746  8595  20   0  39308  1452 -      S    pts/4      0:00 su -
...
4     0 10578 10576  20   0  22204  2888 -      Ss   pts/2      0:00 -bash
0     0 10623 10578  20   0  18164   836 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
1     0 10654 10623  20   0  18168   464 -      S+   pts/2      0:00 script -f -c l3script -q /root/.lilalo//159101311141020384-1490941090.script
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
0  1001 10908 10907  20   0  22600  3196 -      Ss+  pts/10     0:00 -bash
4     0 10989 10837  20   0  10536   844 -      R+   pts/9      0:00 ps la
/dev/pts/2
08:45:49
#ps lax
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0     1     0  20   0  10648   832 -      Ss   ?          0:09 init [2]
1     0     2     0  20   0      0     0 -      S    ?          0:00 [kthreadd]
1     0     3     2  20   0      0     0 -      S    ?          0:02 [ksoftirqd/0]
1     0     5     2  20   0      0     0 -      S    ?          0:00 [kworker/u:0]
1     0     6     2 -100  -      0     0 -      S    ?          0:00 [migration/0]
5     0     7     2 -100  -      0     0 -      S    ?          0:05 [watchdog/0]
1     0     8     2   0 -20      0     0 -      S<   ?          0:00 [cpuset]
1     0     9     2   0 -20      0     0 -      S<   ?          0:00 [khelper]
5     0    10     2  20   0      0     0 -      S    ?          0:00 [kdevtmpfs]
...
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10905  2278  20   0  71380  3716 -      Ss   ?          0:00 sshd: ivan [priv]
5  1001 10907 10905  20   0  71380  1860 -      S    ?          0:00 sshd: ivan@pts/10
0  1001 10908 10907  20   0  22600  3196 -      Ss+  pts/10     0:00 -bash
4     0 10997 10837  20   0  10536   840 -      R+   pts/9      0:00 ps lax
1     0 13432     1  20   0  22520  1072 -      Ss   ?          0:00 /usr/sbin/cron
/dev/pts/8
08:45:49
#ps lax
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0     1     0  20   0  10648   832 -      Ss   ?          0:09 init [2]
1     0     2     0  20   0      0     0 -      S    ?          0:00 [kthreadd]
1     0     3     2  20   0      0     0 -      S    ?          0:02 [ksoftirqd/0]
1     0     5     2  20   0      0     0 -      S    ?          0:00 [kworker/u:0]
1     0     6     2 -100  -      0     0 -      S    ?          0:00 [migration/0]
5     0     7     2 -100  -      0     0 -      S    ?          0:05 [watchdog/0]
1     0     8     2   0 -20      0     0 -      S<   ?          0:00 [cpuset]
1     0     9     2   0 -20      0     0 -      S<   ?          0:00 [khelper]
5     0    10     2  20   0      0     0 -      S    ?          0:00 [kdevtmpfs]
...
0     0 10655 10654  20   0  21936  2468 -      Ss   pts/8      0:00 l3script
0     0 10739 10655  20   0  21636  2244 -      S    pts/8      0:00 bash
0     0 10805 10739  20   0  18164   836 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
1     0 10836 10805  20   0  18168   468 -      S+   pts/8      0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
0     0 10837 10836  20   0  21912  2540 -      Ss   pts/9      0:00 l3script
4     0 10905  2278  20   0  71380  3716 -      Ss   ?          0:00 sshd: ivan [priv]
5  1001 10907 10905  20   0  71380  1860 -      S    ?          0:00 sshd: ivan@pts/10
0  1001 10908 10907  20   0  22600  3196 -      Ss+  pts/10     0:00 -bash
4     0 10997 10837  20   0  10536   840 -      R+   pts/9      0:00 ps lax
1     0 13432     1  20   0  22520  1072 -      Ss   ?          0:00 /usr/sbin/cron
/dev/pts/2
08:46:09
#ps uax
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  10648   832 ?        Ss   Мар24   0:09 init [2]
root         2  0.0  0.0      0     0 ?        S    Мар24   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Мар24   0:02 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Мар24   0:00 [kworker/u:0]
root         6  0.0  0.0      0     0 ?        S    Мар24   0:00 [migration/0]
root         7  0.0  0.0      0     0 ?        S    Мар24   0:05 [watchdog/0]
root         8  0.0  0.0      0     0 ?        S<   Мар24   0:00 [cpuset]
root         9  0.0  0.0      0     0 ?        S<   Мар24   0:00 [khelper]
root        10  0.0  0.0      0     0 ?        S    Мар24   0:00 [kdevtmpfs]
...
root     10739  0.0  0.4  21636  2244 pts/8    S    09:36   0:00 bash
root     10805  0.0  0.1  18164   836 pts/8    S+   09:38   0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     10836  0.0  0.0  18168   468 pts/8    S+   09:38   0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     10837  0.0  0.5  21912  2540 pts/9    Ss   09:38   0:00 l3script
root     10905  0.0  0.7  71380  3716 ?        Ss   09:45   0:00 sshd: ivan [priv]
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.1  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
root     11005  0.0  0.3  46808  1972 ?        S    09:47   0:00 /usr/sbin/exim4 -q
root     11006  0.0  0.2  18948  1260 pts/9    R+   09:47   0:00 ps uax
root     13432  0.0  0.2  22520  1072 ?        Ss   Мар29   0:00 /usr/sbin/cron
/dev/pts/8
08:46:09
#ps uax
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  10648   832 ?        Ss   Мар24   0:09 init [2]
root         2  0.0  0.0      0     0 ?        S    Мар24   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Мар24   0:02 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    Мар24   0:00 [kworker/u:0]
root         6  0.0  0.0      0     0 ?        S    Мар24   0:00 [migration/0]
root         7  0.0  0.0      0     0 ?        S    Мар24   0:05 [watchdog/0]
root         8  0.0  0.0      0     0 ?        S<   Мар24   0:00 [cpuset]
root         9  0.0  0.0      0     0 ?        S<   Мар24   0:00 [khelper]
root        10  0.0  0.0      0     0 ?        S    Мар24   0:00 [kdevtmpfs]
...
root     10739  0.0  0.4  21636  2244 pts/8    S    09:36   0:00 bash
root     10805  0.0  0.1  18164   836 pts/8    S+   09:38   0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     10836  0.0  0.0  18168   468 pts/8    S+   09:38   0:00 script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     10837  0.0  0.5  21912  2540 pts/9    Ss   09:38   0:00 l3script
root     10905  0.0  0.7  71380  3716 ?        Ss   09:45   0:00 sshd: ivan [priv]
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.1  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
root     11005  0.0  0.3  46808  1972 ?        S    09:47   0:00 /usr/sbin/exim4 -q
root     11006  0.0  0.2  18948  1260 pts/9    R+   09:47   0:00 ps uax
root     13432  0.0  0.2  22520  1072 ?        Ss   Мар29   0:00 /usr/sbin/cron
/dev/pts/2
08:47:10
#ps -o "%u %y %U %y %a" ax
RUSER    TTY      USER     TTY      COMMAND
root     ?        root     ?        init [2]
root     ?        root     ?        [kthreadd]
root     ?        root     ?        [ksoftirqd/0]
root     ?        root     ?        [kworker/u:0]
root     ?        root     ?        [migration/0]
root     ?        root     ?        [watchdog/0]
root     ?        root     ?        [cpuset]
root     ?        root     ?        [khelper]
root     ?        root     ?        [kdevtmpfs]
...
root     pts/8    root     pts/8    l3script
root     pts/8    root     pts/8    bash
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/9    root     pts/9    l3script
root     ?        root     ?        sshd: ivan [priv]
ivan     ?        ivan     ?        sshd: ivan@pts/10
ivan     pts/10   ivan     pts/10   -bash
root     pts/9    root     pts/9    ps -o %u %y %U %y %a ax
root     ?        root     ?        /usr/sbin/cron
/dev/pts/8
08:47:10
#ps -o "%u %y %U %y %a" ax
RUSER    TTY      USER     TTY      COMMAND
root     ?        root     ?        init [2]
root     ?        root     ?        [kthreadd]
root     ?        root     ?        [ksoftirqd/0]
root     ?        root     ?        [kworker/u:0]
root     ?        root     ?        [migration/0]
root     ?        root     ?        [watchdog/0]
root     ?        root     ?        [cpuset]
root     ?        root     ?        [khelper]
root     ?        root     ?        [kdevtmpfs]
...
root     pts/8    root     pts/8    l3script
root     pts/8    root     pts/8    bash
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/9    root     pts/9    l3script
root     ?        root     ?        sshd: ivan [priv]
ivan     ?        ivan     ?        sshd: ivan@pts/10
ivan     pts/10   ivan     pts/10   -bash
root     pts/9    root     pts/9    ps -o %u %y %U %y %a ax
root     ?        root     ?        /usr/sbin/cron
/dev/pts/2
08:49:53
#ps -o "%u %y %U %y %a" ax | awk '$1!=$2'
RUSER    TTY      USER     TTY      COMMAND
root     ?        root     ?        init [2]
root     ?        root     ?        [kthreadd]
root     ?        root     ?        [ksoftirqd/0]
root     ?        root     ?        [kworker/u:0]
root     ?        root     ?        [migration/0]
root     ?        root     ?        [watchdog/0]
root     ?        root     ?        [cpuset]
root     ?        root     ?        [khelper]
root     ?        root     ?        [kdevtmpfs]
...
root     pts/8    root     pts/8    bash
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/9    root     pts/9    l3script
root     ?        root     ?        sshd: ivan [priv]
ivan     ?        ivan     ?        sshd: ivan@pts/10
ivan     pts/10   ivan     pts/10   -bash
root     pts/9    root     pts/9    ps -o %u %y %U %y %a ax
root     pts/9    root     pts/9    awk $1!=$2
root     ?        root     ?        /usr/sbin/cron
/dev/pts/8
08:49:53
#ps -o "%u %y %U %y %a" ax | awk '$1!=$2'
RUSER    TTY      USER     TTY      COMMAND
root     ?        root     ?        init [2]
root     ?        root     ?        [kthreadd]
root     ?        root     ?        [ksoftirqd/0]
root     ?        root     ?        [kworker/u:0]
root     ?        root     ?        [migration/0]
root     ?        root     ?        [watchdog/0]
root     ?        root     ?        [cpuset]
root     ?        root     ?        [khelper]
root     ?        root     ?        [kdevtmpfs]
...
root     pts/8    root     pts/8    bash
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/8    root     pts/8    script -f -c l3script -q /root/.lilalo//2051231007276719814-1490942283.script
root     pts/9    root     pts/9    l3script
root     ?        root     ?        sshd: ivan [priv]
ivan     ?        ivan     ?        sshd: ivan@pts/10
ivan     pts/10   ivan     pts/10   -bash
root     pts/9    root     pts/9    ps -o %u %y %U %y %a ax
root     pts/9    root     pts/9    awk $1!=$2
root     ?        root     ?        /usr/sbin/cron
/dev/pts/2
08:50:30
#ps u -u ivan
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.0  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
/dev/pts/8
08:50:30
#ps u -u ivan
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.0  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
/dev/pts/2
08:52:03
#ps u -u U ivan
error: user name does not exist
Usage:
 ps [options]
 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.
For more details see ps(1).
/dev/pts/8
08:52:03
#ps u -u U ivan
error: user name does not exist
Usage:
 ps [options]
 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.
For more details see ps(1).
/dev/pts/2
08:53:22
#ps u -U ivan
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.0  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
/dev/pts/8
08:53:22
#ps u -U ivan
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ivan     10907  0.0  0.3  71380  1860 ?        S    09:45   0:00 sshd: ivan@pts/10
ivan     10908  0.0  0.6  22600  3196 pts/10   Ss+  09:45   0:00 -bash
/dev/pts/2
08:53:31
#cd /proc

/dev/pts/8
08:53:31
#cd /proc

/dev/pts/2
08:54:41
#cd 10908

/dev/pts/8
08:54:41
#cd 10908

/dev/pts/2
08:54:51
#ls
attr       cgroup      comm             cwd      fd      limits    mem        mountstats  numa_maps  oom_score_adj  root       smaps  statm    task
autogroup  clear_refs  coredump_filter  environ  fdinfo  loginuid  mountinfo  net         oom_adj    pagemap        sched      stack  status   wchan
auxv       cmdline     cpuset           exe      io      maps      mounts     ns          oom_score  personality    sessionid  stat   syscall
/dev/pts/8
08:54:51
#ls
attr       cgroup      comm             cwd      fd      limits    mem        mountstats  numa_maps  oom_score_adj  root       smaps  statm    task
autogroup  clear_refs  coredump_filter  environ  fdinfo  loginuid  mountinfo  net         oom_adj    pagemap        sched      stack  status   wchan
auxv       cmdline     cpuset           exe      io      maps      mounts     ns          oom_score  personality    sessionid  stat   syscall
/dev/pts/2
08:54:55
#ls -l fd
итого 0
lrwx------ 1 ivan ivan 64 Мар 31 09:45 0 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:45 1 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:45 2 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:55 255 -> /dev/pts/10
/dev/pts/8
08:54:55
#ls -l fd
итого 0
lrwx------ 1 ivan ivan 64 Мар 31 09:45 0 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:45 1 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:45 2 -> /dev/pts/10
lrwx------ 1 ivan ivan 64 Мар 31 09:55 255 -> /dev/pts/10
/dev/pts/2
08:55:29
#cat status
Name:   bash
State:  S (sleeping)
Tgid:   10908
Pid:    10908
PPid:   10907
TracerPid:      0
Uid:    1001    1001    1001    1001
Gid:    1001    1001    1001    1001
FDSize: 256
Groups: 1001 1004
...
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed:   7fff
Cpus_allowed_list:      0-14
Mems_allowed:   00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        81
nonvoluntary_ctxt_switches:     9
/dev/pts/8
08:55:29
#cat status
Name:   bash
State:  S (sleeping)
Tgid:   10908
Pid:    10908
PPid:   10907
TracerPid:      0
Uid:    1001    1001    1001    1001
Gid:    1001    1001    1001    1001
FDSize: 256
Groups: 1001 1004
...
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
Cpus_allowed:   7fff
Cpus_allowed_list:      0-14
Mems_allowed:   00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        81
nonvoluntary_ctxt_switches:     9
/dev/pts/2
08:55:45
#car maps
l3script: car: команда не найдена
/dev/pts/8
08:55:45
#car maps
l3script: car: команда не найдена
/dev/pts/2
08:56:07
#cat maps
00400000-004e5000 r-xp 00000000 ca:01 653035                             /bin/bash
006e4000-006e5000 r--p 000e4000 ca:01 653035                             /bin/bash
006e5000-006ee000 rw-p 000e5000 ca:01 653035                             /bin/bash
006ee000-006f4000 rw-p 00000000 00:00 0
013bc000-0150e000 rw-p 00000000 00:00 0                                  [heap]
7fa29e754000-7fa29e75f000 r-xp 00000000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e75f000-7fa29e95e000 ---p 0000b000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e95e000-7fa29e95f000 r--p 0000a000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e95f000-7fa29e960000 rw-p 0000b000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e960000-7fa29e96a000 r-xp 00000000 ca:01 522747                     /lib/x86_64-linux-gnu/libnss_nis-2.13.so
...
7fa29fcd8000-7fa29fcdf000 r--s 00000000 ca:01 137067                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fa29fcdf000-7fa29fce2000 rw-p 00000000 00:00 0
7fa29fce4000-7fa29fce7000 r--p 00000000 ca:01 131165                     /usr/share/locale/ru/LC_MESSAGES/bash.mo
7fa29fce7000-7fa29fce9000 rw-p 00000000 00:00 0
7fa29fce9000-7fa29fcea000 r--p 0001f000 ca:01 522731                     /lib/x86_64-linux-gnu/ld-2.13.so
7fa29fcea000-7fa29fceb000 rw-p 00020000 ca:01 522731                     /lib/x86_64-linux-gnu/ld-2.13.so
7fa29fceb000-7fa29fcec000 rw-p 00000000 00:00 0
7fff74758000-7fff74779000 rw-p 00000000 00:00 0                          [stack]
7fff747ff000-7fff74800000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
/dev/pts/8
08:56:07
#cat maps
00400000-004e5000 r-xp 00000000 ca:01 653035                             /bin/bash
006e4000-006e5000 r--p 000e4000 ca:01 653035                             /bin/bash
006e5000-006ee000 rw-p 000e5000 ca:01 653035                             /bin/bash
006ee000-006f4000 rw-p 00000000 00:00 0
013bc000-0150e000 rw-p 00000000 00:00 0                                  [heap]
7fa29e754000-7fa29e75f000 r-xp 00000000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e75f000-7fa29e95e000 ---p 0000b000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e95e000-7fa29e95f000 r--p 0000a000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e95f000-7fa29e960000 rw-p 0000b000 ca:01 522745                     /lib/x86_64-linux-gnu/libnss_files-2.13.so
7fa29e960000-7fa29e96a000 r-xp 00000000 ca:01 522747                     /lib/x86_64-linux-gnu/libnss_nis-2.13.so
...
7fa29fcd8000-7fa29fcdf000 r--s 00000000 ca:01 137067                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fa29fcdf000-7fa29fce2000 rw-p 00000000 00:00 0
7fa29fce4000-7fa29fce7000 r--p 00000000 ca:01 131165                     /usr/share/locale/ru/LC_MESSAGES/bash.mo
7fa29fce7000-7fa29fce9000 rw-p 00000000 00:00 0
7fa29fce9000-7fa29fcea000 r--p 0001f000 ca:01 522731                     /lib/x86_64-linux-gnu/ld-2.13.so
7fa29fcea000-7fa29fceb000 rw-p 00020000 ca:01 522731                     /lib/x86_64-linux-gnu/ld-2.13.so
7fa29fceb000-7fa29fcec000 rw-p 00000000 00:00 0
7fff74758000-7fff74779000 rw-p 00000000 00:00 0                          [stack]
7fff747ff000-7fff74800000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
/dev/pts/2
08:56:32
#cd

/dev/pts/8
08:56:32
#cd

/dev/pts/2
08:57:19
#top
top - 09:57:34 up 6 days, 16:10,  2 users,  load average: 0,03, 0,04, 0,05
Tasks:  79 total,   1 running,  78 sleeping,   0 stopped,   0 zombie
%Cpu(s): 18,9 us,  0,0 sy,  0,0 ni, 80,7 id,  0,0 wa,  0,0 hi,  0,0 si,  0,3 st
KiB Mem:    507368 total,   464768 used,    42600 free,   144496 buffers
KiB Swap:        0 total,        0 used,        0 free,   187984 cached
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
11117 root      20   0 25292 1576 1128 R   0,3  0,3   0:00.01 top
    1 root      20   0 10648  832  696 S   0,0  0,2   0:09.61 init
    2 root      20   0     0    0    0 S   0,0  0,0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S   0,0  0,0   0:02.72 ksoftirqd/0
...
    G       . Change the Name of the 'current' window/field group
 *  a , w   . Cycle through all four windows:  'a' Forward; 'w' Backward
 *  - , _   . Show/Hide:  '-' Current window; '_' all Visible/Invisible
  The screen will be divided evenly between task displays.  But you can make
  some larger or smaller, using 'n' and 'i' commands.  Then later you could:
 *  = , +   . Rebalance tasks:  '=' Current window; '+' Every window
              (this also forces the current or every window to become visible)
In 'A' mode, '*' keys are your essential commands.  Please try the 'a' and 'w'
commands plus the 'g' sub-commands NOW.  Press <Enter> to make 'Current'
[1]+  Stopped                 top
/dev/pts/8
08:57:19
#top
top - 09:57:28 up 6 days, 16:10,  2 users,  load average: 0,03, 0,04, 0,05
Tasks:  79 total,   1 running,  78 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0,4 us,  0,0 sy,  0,0 ni, 99,4 id,  0,2 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem:    507368 total,   464776 used,    42592 free,   144496 buffers
KiB Swap:        0 total,        0 used,        0 free,   187968 cached
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
    1 root      20   0 10648  832  696 S   0,0  0,2   0:09.61 init
    2 root      20   0     0    0    0 S   0,0  0,0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S   0,0  0,0   0:02.72 ksoftirqd/0
    5 root      20   0     0    0    0 S   0,0  0,0   0:00.00 kworker/u:0
...
    G       . Change the Name of the 'current' window/field group
 *  a , w   . Cycle through all four windows:  'a' Forward; 'w' Backward
 *  - , _   . Show/Hide:  '-' Current window; '_' all Visible/Invisible
  The screen will be divided evenly between task displays.  But you can make
  some larger or smaller, using 'n' and 'i' commands.  Then later you could:
 *  = , +   . Rebalance tasks:  '=' Current window; '+' Every window
              (this also forces the current or every window to become visible)
In 'A' mode, '*' keys are your essential commands.  Please try the 'a' and 'w'
commands plus the 'g' sub-commands NOW.  Press <Enter> to make 'Current'
[1]+  Stopped                 top
/dev/pts/2
09:02:42
#top
top - 10:02:57 up 6 days, 16:16,  2 users,  load average: 0,74, 0,42, 0,20
Tasks:  80 total,   2 running,  77 sleeping,   1 stopped,   0 zombie
%Cpu(s): 61,8 us,  0,0 sy,  0,0 ni,  0,0 id,  0,0 wa,  0,0 hi,  0,0 si, 38,2 st
KiB Mem:    507368 total,   466876 used,    40492 free,   144508 buffers
KiB Swap:        0 total,        0 used,        0 free,   189584 cached
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 3397 root      20   0 59232  20m 1648 R  99,7  4,2  29:34.34 l3-agent
10576 root      20   0 71288 3684 2888 S   0,3  0,7   0:00.40 sshd
10836 root      20   0 18168  468  308 S   0,3  0,1   0:00.27 script
11125 root      20   0 25292 1568 1128 R   0,3  0,3   0:00.05 top
...
  398 root       0 -20     0    0    0 S   0,0  0,0   0:00.00 kpsmoused
 1900 root      20   0 52772 1640 1204 S   0,0  0,3   0:00.15 rsyslogd
 1930 root      20   0  4116  656  512 S   0,0  0,1   0:00.00 acpid
 2245 Debian-e  20   0 46804 1036  584 S   0,0  0,2   0:00.18 exim4
 2278 root      20   0 49932 1252  640 S   0,0  0,2   0:00.02 sshd
 2302 root      20   0 18368  976  812 S   0,0  0,2   0:00.06 getty
 2303 root      20   0 18368  972  812 S   0,0  0,2   0:00.01 getty
 2304 root      20   0 18368  972  812 S   0,0  0,2   0:00.00 getty
 2305 root      20   0 18368  968  812 S   0,0  0,2   0:00.00 getty
 2306 root      20   0 18368  972  812 S   0,0  0,2   0:00.00 getty
/dev/pts/8
09:02:42
#top
top - 10:02:54 up 6 days, 16:16,  2 users,  load average: 0,72, 0,41, 0,20
Tasks:  80 total,   2 running,  77 sleeping,   1 stopped,   0 zombie
%Cpu(s): 55,2 us,  0,3 sy,  0,0 ni,  0,0 id,  0,0 wa,  0,0 hi,  0,0 si, 44,5 st
KiB Mem:    507368 total,   466876 used,    40492 free,   144508 buffers
KiB Swap:        0 total,        0 used,        0 free,   189584 cached
  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 3397 root      20   0 59232  20m 1648 R  99,7  4,2  29:34.34 l3-agent
10576 root      20   0 71288 3684 2888 S   0,3  0,7   0:00.40 sshd
10836 root      20   0 18168  468  308 S   0,3  0,1   0:00.27 script
11125 root      20   0 25292 1568 1128 R   0,3  0,3   0:00.05 top
...
10576 root      20   0 71288 3684 2888 S   0,3  0,7   0:02.02 sshd
 1900 root      20   0 52772 1640 1204 S   0,0  0,3   0:00.15 rsyslogd
 1930 root      20   0  4116  656  512 S   0,0  0,1   0:00.00 acpid
 2245 Debian-e  20   0 46804 1036  584 S   0,0  0,2   0:00.18 exim4
 2278 root      20   0 49932 1252  640 S   0,0  0,2   0:00.02 sshd
 2302 root      20   0 18368  976  812 S   0,0  0,2   0:00.06 getty
 2303 root      20   0 18368  972  812 S   0,0  0,2   0:00.01 getty
 2304 root      20   0 18368  972  812 S   0,0  0,2   0:00.00 getty
 2305 root      20   0 18368  968  812 S   0,0  0,2   0:00.00 getty
 2306 root      20   0 18368  972  812 S   0,0  0,2   0:00.00 getty
/dev/pts/2
09:04:43
#htop
l3script: htop: команда не найдена
/dev/pts/8
09:04:43
#htop
l3script: htop: команда не найдена
/dev/pts/2
09:04:58
#apt-get htop
E: Неверная операция htop
/dev/pts/8
09:04:58
#apt-get htop
E: Неверная операция htop
09:05:20
#apt-get install htop
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Предлагаемые пакеты:
  strace ltrace
НОВЫЕ пакеты, которые будут установлены:
  htop
обновлено 0, установл