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

Содержание

Журнал

Пятница (12/01/17)

/dev/pts/0
11:07:20
#ps -oa "%P %p %c"
error: garbage option
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).
11:07:23
#ps a -o "%P %p %c"
 PPID   PID COMMAND
    1  2317 getty
    1  2318 getty
    1  2319 getty
    1  2320 getty
    1  2321 getty
    1  2322 getty
21243 21245 bash
21245 21290 script
21290 21321 script
21321 21322 l3script
21345 21346 bash
21346 21391 script
21391 21462 script
21462 21463 l3script
21322 21979 ps
11:07:27
#ps ax -o "%P %p %c"
 PPID   PID COMMAND
    0     1 init
    0     2 kthreadd
    2     3 ksoftirqd/0
    2     5 kworker/u:0
    2     6 migration/0
    2     7 watchdog/0
    2     8 cpuset
    2     9 khelper
    2    10 kdevtmpfs
...
21245 21290 script
21290 21321 script
21321 21322 l3script
 2263 21343 sshd
21343 21345 sshd
21345 21346 bash
21346 21391 script
21391 21462 script
21462 21463 l3script
21322 21987 ps
11:07:34
#ps x -o "%P %p %c"
 PPID   PID COMMAND
    0     1 init
    0     2 kthreadd
    2     3 ksoftirqd/0
    2     5 kworker/u:0
    2     6 migration/0
    2     7 watchdog/0
    2     8 cpuset
    2     9 khelper
    2    10 kdevtmpfs
...
  280 20268 udevd
    2 20895 jbd2/xvdb1-8
    2 20896 ext4-dio-unwrit
 2263 21243 sshd
21243 21245 bash
21245 21290 script
21290 21321 script
21321 21322 l3script
 2263 21343 sshd
21322 21995 ps
11:07:38
#nice -n -5 sleep 2000 &
[1] 22003
11:08:50
#jo
jobs  john  join
11:08:50
#jobs
[1]+  Running                 nice -n -5 sleep 2000 &
11:08:57
#ps la
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2317     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2318     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2319     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2320     1  20   0  18368   964 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2321     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2322     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
4     0 21245 21243  20   0  22232  2916 -      Ss   pts/0      0:00 -bash
0     0 21290 21245  20   0  18164   840 -      S+   pts/0      0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
1     0 21321 21290  20   0  18168   468 -      S+   pts/0      0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
0     0 21322 21321  20   0  21788  2460 -      Ss   pts/1      0:00 l3script
0  1000 21346 21345  20   0  22120  2816 -      Ss   pts/2      0:00 -bash
0  1000 21391 21346  20   0  18164   840 -      S+   pts/2      0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
1  1000 21462 21391  20   0  18168   472 -      S+   pts/2      0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
0  1000 21463 21462  20   0  22204  2868 -      Ss+  pts/3      0:00 l3script
4     0 22003 21322  15  -5   7708   324 -      S<   pts/1      0:00 sleep 2000
4     0 22018 21322  20   0  10536   836 -      R+   pts/1      0:00 ps la
11:09:12
#ps l
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2317     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2318     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2319     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2320     1  20   0  18368   964 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2321     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2322     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
4     0 21245 21243  20   0  22232  2916 -      Ss   pts/0      0:00 -bash
0     0 21290 21245  20   0  18164   840 -      S+   pts/0      0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
1     0 21321 21290  20   0  18168   468 -      S+   pts/0      0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
0     0 21322 21321  20   0  21788  2460 -      Ss   pts/1      0:00 l3script
4     0 22003 21322  15  -5   7708   324 -      S<   pts/1      0:00 sleep 2000
4     0 22026 21322  20   0  10536   840 -      R+   pts/1      0:00 ps l
11:09:14
#renice 5 `pidof sleep`
22003 (process ID) old priority -5, new priority 5
11:10:51
#ps
  PID TTY          TIME CMD
21322 pts/1    00:00:00 l3script
22050 pts/1    00:00:00 ps
[1]+  Done                    nice -n -5 sleep 2000
прошло 42 минуты
11:53:33
#kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
11:53:43
#kill -l
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL       5) SIGTRAP
 6) SIGABRT      7) SIGBUS       8) SIGFPE       9) SIGKILL     10) SIGUSR1
11) SIGSEGV     12) SIGUSR2     13) SIGPIPE     14) SIGALRM     15) SIGTERM
16) SIGSTKFLT   17) SIGCHLD     18) SIGCONT     19) SIGSTOP     20) SIGTSTP
21) SIGTTIN     22) SIGTTOU     23) SIGURG      24) SIGXCPU     25) SIGXFSZ
26) SIGVTALRM   27) SIGPROF     28) SIGWINCH    29) SIGIO       30) SIGPWR
31) SIGSYS      34) SIGRTMIN    35) SIGRTMIN+1  36) SIGRTMIN+2  37) SIGRTMIN+3
38) SIGRTMIN+4  39) SIGRTMIN+5  40) SIGRTMIN+6  41) SIGRTMIN+7  42) SIGRTMIN+8
43) SIGRTMIN+9  44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13
48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12
53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9  56) SIGRTMAX-8  57) SIGRTMAX-7
58) SIGRTMAX-6  59) SIGRTMAX-5  60) SIGRTMAX-4  61) SIGRTMAX-3  62) SIGRTMAX-2
63) SIGRTMAX-1  64) SIGRTMAX
11:53:46
#kill -3 `pidof sleep`
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
11:54:08
#pidof sleep

11:54:11
#ps
  PID TTY          TIME CMD
21322 pts/1    00:00:00 l3script
22104 pts/1    00:00:00 ps
11:54:18
#ps -x
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:10 init [2]
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:03 [ksoftirqd/0]
    5 ?        S      0:00 [kworker/u:0]
    6 ?        S      0:00 [migration/0]
    7 ?        S      0:05 [watchdog/0]
    8 ?        S<     0:00 [cpuset]
...
20268 ?        S      0:00 udevd --daemon
20895 ?        S      0:00 [jbd2/xvdb1-8]
20896 ?        S<     0:00 [ext4-dio-unwrit]
21243 ?        Ss     0:02 sshd: root@pts/0
21245 pts/0    Ss     0:00 -bash
21290 pts/0    S+     0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21321 pts/0    S+     0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21322 pts/1    Ss     0:00 l3script
21343 ?        Ss     0:00 sshd: user [priv]
22112 pts/1    R+     0:00 ps -x
11:54:29
#ps U user
  PID TTY      STAT   TIME COMMAND
 3551 ?        Ss     5:59 l3-agent
21345 ?        S      0:00 sshd: user@pts/2
21346 pts/2    Ss     0:00 -bash
21391 pts/2    S+     0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21462 pts/2    S+     0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21463 pts/3    Ss+    0:00 l3script
11:54:47
#ps -t tty1
  PID TTY          TIME CMD
 2317 tty1     00:00:00 getty
11:55:04
#ps -t tty2
  PID TTY          TIME CMD
 2318 tty2     00:00:00 getty
11:55:07
#ps -t tty3
  PID TTY          TIME CMD
 2319 tty3     00:00:00 getty
11:55:08
#ps -t tty4
  PID TTY          TIME CMD
 2320 tty4     00:00:00 getty
11:55:09
#ps -ax
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:10 init [2]
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:03 [ksoftirqd/0]
    5 ?        S      0:00 [kworker/u:0]
    6 ?        S      0:00 [migration/0]
    7 ?        S      0:05 [watchdog/0]
    8 ?        S<     0:00 [cpuset]
...
21290 pts/0    S+     0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21321 pts/0    S+     0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21322 pts/1    Ss     0:00 l3script
21343 ?        Ss     0:00 sshd: user [priv]
21345 ?        S      0:00 sshd: user@pts/2
21346 pts/2    Ss     0:00 -bash
21391 pts/2    S+     0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21462 pts/2    S+     0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21463 pts/3    Ss+    0:00 l3script
22160 pts/1    R+     0:00 ps -ax
11:55:19
#ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  10648   828 ?        Ss   Ноя24   0:10 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:03 [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     21290  0.0  0.1  18164   840 pts/0    S+   09:22   0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21321  0.0  0.0  18168   468 pts/0    S+   09:22   0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21322  0.0  0.4  21788  2460 pts/1    Ss   09:22   0:00 l3script
root     21343  0.0  0.7  71288  3608 ?        Ss   09:22   0:00 sshd: user [priv]
user     21345  0.0  0.3  71288  1872 ?        S    09:22   0:00 sshd: user@pts/2
user     21346  0.0  0.5  22120  2816 pts/2    Ss   09:22   0:00 -bash
user     21391  0.0  0.1  18164   840 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21462  0.0  0.0  18168   472 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21463  0.0  0.5  22204  2868 pts/3    Ss+  09:22   0:00 l3script
root     22168  0.0  0.2  18948  1260 pts/1    R+   12:55   0:00 ps aux
11:55:38
#ps avx
  PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
    1 ?        Ss     0:10     17    32 10615   828  0.1 init [2]
    2 ?        S      0:00      0     0     0     0  0.0 [kthreadd]
    3 ?        S      0:03      0     0     0     0  0.0 [ksoftirqd/0]
    5 ?        S      0:00      0     0     0     0  0.0 [kworker/u:0]
    6 ?        S      0:00      0     0     0     0  0.0 [migration/0]
    7 ?        S      0:05      0     0     0     0  0.0 [watchdog/0]
    8 ?        S<     0:00      0     0     0     0  0.0 [cpuset]
    9 ?        S<     0:00      0     0     0     0  0.0 [khelper]
   10 ?        S      0:00      0     0     0     0  0.0 [kdevtmpfs]
...
21290 pts/0    S+     0:00      1    10 18153   840  0.1 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21321 pts/0    S+     0:01      0    10 18157   468  0.0 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
21322 pts/1    Ss     0:00      0   914 20873  2460  0.4 l3script
21343 ?        Ss     0:00      0   492 70795  3608  0.7 sshd: user [priv]
21345 ?        S      0:00      0   492 70795  1872  0.3 sshd: user@pts/2
21346 pts/2    Ss     0:00      0   914 21205  2816  0.5 -bash
21391 pts/2    S+     0:00      0    10 18153   840  0.1 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21462 pts/2    S+     0:00      0    10 18157   472  0.0 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
21463 pts/3    Ss+    0:00      0   914 21289  2868  0.5 l3script
22176 pts/1    R+     0:00      0    84 10451   844  0.1 ps avx
11:55:48
#ps aux | grep -v USER. *PID. *%CPU | sort -n +3
sort: операция открытия завершилась неудачно: +3: Нет такого файла или каталога
grep: *PID.: Нет такого файла или каталога
grep: *%CPU: Нет такого файла или каталога
11:57:25
#ps aux | grep -v USER.*PID.*%CPU
root         1  0.0  0.1  10648   828 ?        Ss   Ноя24   0:10 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:03 [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        11  0.0  0.0      0     0 ?        S<   Ноя24   0:00 [netns]
...
root     21290  0.0  0.1  18164   840 pts/0    S+   09:22   0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21321  0.0  0.0  18168   468 pts/0    S+   09:22   0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21322  0.0  0.4  21788  2460 pts/1    Ss   09:22   0:00 l3script
root     21343  0.0  0.7  71288  3608 ?        Ss   09:22   0:00 sshd: user [priv]
user     21345  0.0  0.3  71288  1872 ?        S    09:22   0:00 sshd: user@pts/2
user     21346  0.0  0.5  22120  2816 pts/2    Ss   09:22   0:00 -bash
user     21391  0.0  0.1  18164   840 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21462  0.0  0.0  18168   472 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21463  0.0  0.5  22204  2868 pts/3    Ss+  09:22   0:00 l3script
root     22194  0.0  0.2  18948  1256 pts/1    R+   12:57   0:00 ps aux
11:57:34
#ps aux | grep -v USER.*PID.*%CPU | sort -n +3
sort: операция открытия завершилась неудачно: +3: Нет такого файла или каталога
11:57:40
#ps aux | grep -v USER.*PID.*%CPU | sort -n
root       100  0.0  0.0      0     0 ?        S<   Ноя24   0:00 [ata_sff]
root        10  0.0  0.0      0     0 ?        S    Ноя24   0:00 [kdevtmpfs]
root         1  0.0  0.1  10648   828 ?        Ss   Ноя24   0:10 init [2]
root        11  0.0  0.0      0     0 ?        S<   Ноя24   0:00 [netns]
root       112  0.0  0.0      0     0 ?        S    Ноя24   0:00 [scsi_eh_0]
root       113  0.0  0.0      0     0 ?        S    Ноя24   0:00 [scsi_eh_1]
root       114  0.0  0.0      0     0 ?        S    Ноя24   0:00 [kworker/u:1]
root        12  0.0  0.0      0     0 ?        S    Ноя24   0:00 [xenwatch]
root        13  0.0  0.0      0     0 ?        S    Ноя24   0:00 [xenbus]
root       136  0.0  0.0      0     0 ?        S    Ноя24   0:06 [jbd2/xvda1-8]
...
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]
user     21345  0.0  0.3  71288  1872 ?        S    09:22   0:00 sshd: user@pts/2
user     21346  0.0  0.5  22120  2816 pts/2    Ss   09:22   0:00 -bash
user     21391  0.0  0.1  18164   840 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21462  0.0  0.0  18168   472 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21463  0.0  0.5  22204  2868 pts/3    Ss+  09:22   0:00 l3script
user      3551  0.1  2.0  47912 10572 ?        Ss   Ноя27   5:59 l3-agent
101       2290  0.0  0.2  46808  1036 ?        Ss   Ноя24   0:00 /usr/sbin/exim4 -bd -q30m
11:57:43
#pstree -p
init(1)─┬─acpid(1959)
        ├─cron(1995)
        ├─exim4(2290)
        ├─getty(2317)
        ├─getty(2318)
        ├─getty(2319)
        ├─getty(2320)
        ├─getty(2321)
        ├─getty(2322)
        ├─l3-agent(3443)
        ├─l3-agent(3551)
        ├─rsyslogd(1914)─┬─{rsyslogd}(1916)
        │                ├─{rsyslogd}(1918)
        │                └─{rsyslogd}(1919)
        ├─sshd(2263)─┬─sshd(21243)───bash(21245)───script(21290)───script(21321)───l3script(21322)───pstree(22223)
        │            └─sshd(21343)───sshd(21345)───bash(21346)───script(21391)───script(21462)───l3script(21463)
        └─udevd(280)─┬─udevd(4794)
                     └─udevd(20268)
11:58:18
#uptime
 13:06:59 up 6 days, 21:20,  2 users,  load average: 0,00, 0,01, 0,05
12:07:56
#ps -t tty*
error: TTY could not be found
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).
12:08:05
#ps
  PID TTY          TIME CMD
21322 pts/1    00:00:00 l3script
22302 pts/1    00:00:00 ps
12:08:09
#ps al
F   UID   PID  PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
4     0  2317     1  20   0  18368   976 -      Ss+  tty1       0:00 /sbin/getty 38400 tty1
4     0  2318     1  20   0  18368   972 -      Ss+  tty2       0:00 /sbin/getty 38400 tty2
4     0  2319     1  20   0  18368   972 -      Ss+  tty3       0:00 /sbin/getty 38400 tty3
4     0  2320     1  20   0  18368   964 -      Ss+  tty4       0:00 /sbin/getty 38400 tty4
4     0  2321     1  20   0  18368   972 -      Ss+  tty5       0:00 /sbin/getty 38400 tty5
4     0  2322     1  20   0  18368   968 -      Ss+  tty6       0:00 /sbin/getty 38400 tty6
4     0 21245 21243  20   0  22232  2916 -      Ss   pts/0      0:00 -bash
0     0 21290 21245  20   0  18164   840 -      S+   pts/0      0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
1     0 21321 21290  20   0  18168   468 -      S+   pts/0      0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
0     0 21322 21321  20   0  21788  2464 -      Ss   pts/1      0:00 l3script
0  1000 21346 21345  20   0  22120  2816 -      Ss   pts/2      0:00 -bash
0  1000 21391 21346  20   0  18164   840 -      S+   pts/2      0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
1  1000 21462 21391  20   0  18168   472 -      S+   pts/2      0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
0  1000 21463 21462  20   0  22204  2868 -      Ss+  pts/3      0:00 l3script
4     0 22241 22239  20   0  22232  2820 -      Ss+  pts/4      0:00 -bash
4     0 22310 21322  20   0  10536   844 -      R+   pts/1      0:00 ps al
12:08:13
#ps alu
error: conflicting format options
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).
12:08:32
#ps au
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      2317  0.0  0.1  18368   976 tty1     Ss+  Ноя24   0:00 /sbin/getty 38400 tty1
root      2318  0.0  0.1  18368   972 tty2     Ss+  Ноя24   0:00 /sbin/getty 38400 tty2
root      2319  0.0  0.1  18368   972 tty3     Ss+  Ноя24   0:00 /sbin/getty 38400 tty3
root      2320  0.0  0.1  18368   964 tty4     Ss+  Ноя24   0:00 /sbin/getty 38400 tty4
root      2321  0.0  0.1  18368   972 tty5     Ss+  Ноя24   0:00 /sbin/getty 38400 tty5
root      2322  0.0  0.1  18368   968 tty6     Ss+  Ноя24   0:00 /sbin/getty 38400 tty6
root     21245  0.0  0.5  22232  2916 pts/0    Ss   09:22   0:00 -bash
root     21290  0.0  0.1  18164   840 pts/0    S+   09:22   0:00 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21321  0.0  0.0  18168   468 pts/0    S+   09:22   0:01 script -f -c l3script -q /root/.lilalo//290978785302698231-1512112957.script
root     21322  0.0  0.4  21788  2464 pts/1    Ss   09:22   0:00 l3script
user     21346  0.0  0.5  22120  2816 pts/2    Ss   09:22   0:00 -bash
user     21391  0.0  0.1  18164   840 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21462  0.0  0.0  18168   472 pts/2    S+   09:22   0:00 script -f -c l3script -q /home/user/.lilalo//1843147522995030986-1512112970.script
user     21463  0.0  0.5  22204  2868 pts/3    Ss+  09:22   0:00 l3script
root     22241  0.0  0.5  22232  2820 pts/4    Ss+  13:07   0:00 -bash
root     22326  0.0  0.2  18948  1256 pts/1    R+   13:08   0:00 ps au