/l3/users/09-03-2011/NT-Ladm/debian4.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 |
|
#who
root pts/0 2011-03-11 12:41 (192.168.16.52) root pts/1 2011-03-11 13:51 (192.168.16.55) root pts/4 2011-03-11 13:51 (:pts/3:S.0) root pts/6 2011-03-11 14:09 (192.168.16.53) root pts/7 2011-03-11 14:10 (192.168.16.56) |
#ps -t pts/1
PID TTY TIME CMD 2240 pts/1 00:00:00 script 2297 pts/1 00:00:00 script |
#ps -t pts/1 aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2052 812 ? Ss 12:39 0:00 init [4] root 2 0.0 0.0 0 0 ? S 12:39 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 12:39 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S 12:39 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S 12:39 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S 12:39 0:00 [events/0] root 7 0.0 0.0 0 0 ? S 12:39 0:00 [cpuset] root 8 0.0 0.0 0 0 ? S 12:39 0:00 [khelper] root 11 0.0 0.0 0 0 ? S 12:39 0:00 [async/mgr] ... root 2445 0.1 0.1 5108 756 pts/6 Ss+ 14:09 0:00 script -f -c ba root 2521 0.0 0.0 5112 500 pts/6 S+ 14:09 0:00 script -f -c ba root 2522 0.1 0.4 7304 2904 pts/8 Ss 14:09 0:00 bash root 2691 0.0 0.1 6004 1060 pts/8 S+ 14:10 0:00 screen -x root 2706 0.0 0.4 8276 2884 ? Ss 14:10 0:00 sshd: root@pts/ root 2710 0.1 0.1 5108 756 pts/7 Ss+ 14:10 0:00 script -f -c ba root 2767 0.0 0.0 5112 500 pts/7 S+ 14:10 0:00 script -f -c ba root 2768 0.1 0.4 7316 2920 pts/9 Ss 14:10 0:00 bash root 2811 0.0 0.1 6004 1060 pts/9 S+ 14:10 0:00 screen -x root 2944 0.0 0.1 5588 1056 pts/5 R+ 14:18 0:00 ps -t pts/1 aux |
#ps -t pts/1 a
PID TTY STAT TIME COMMAND 1477 pts/0 Ss+ 0:00 script -f -c bash -q /root/.lilalo//22071198281158027 1534 pts/0 S+ 0:00 script -f -c bash -q /root/.lilalo//22071198281158027 1535 pts/2 Ss 0:00 bash 2235 hvc0 Ss+ 0:00 /sbin/getty 38400 hvc0 2240 pts/1 Ss+ 0:00 script -f -c bash -q /root/.lilalo//16381887425130173 2297 pts/1 S+ 0:00 script -f -c bash -q /root/.lilalo//16381887425130173 2298 pts/3 Ss 0:00 bash 2348 pts/3 S+ 0:00 screen 2350 pts/4 Ss+ 0:00 script -f -c /bin/bash -q /root/.lilalo//152631973427 ... 2434 pts/2 S+ 0:00 screen -x 2445 pts/6 Ss+ 0:00 script -f -c bash -q /root/.lilalo//25306231302552625 2521 pts/6 S+ 0:00 script -f -c bash -q /root/.lilalo//25306231302552625 2522 pts/8 Ss 0:00 bash 2691 pts/8 S+ 0:00 screen -x 2710 pts/7 Ss+ 0:00 script -f -c bash -q /root/.lilalo//15534319212379485 2767 pts/7 S+ 0:00 script -f -c bash -q /root/.lilalo//15534319212379485 2768 pts/9 Ss 0:00 bash 2811 pts/9 S+ 0:00 screen -x 2952 pts/5 R+ 0:00 ps -t pts/1 a |
#ps ls
![]() ERROR: Conflicting format options. ********* simple selection ********* ********* selection by list ********* -A all processes -C by command name -N negate selection -G by real group ID (supports names) -a all w/ tty except session leaders -U by real user ID (supports names) -d all except session leaders -g by session OR by effective group name -e all processes -p by process ID T all processes on this terminal -s processes in the sessions given a all w/ tty, including other users -t by tty g OBSOLETE -- DO NOT USE -u by effective user ID (supports names) ... -o,o user-defined -f full --Group --User --pid --cols --ppid -j,j job control s signal --group --user --sid --rows --info -O,O preloaded -o v virtual memory --cumulative --format --deselect -l,l long u user-oriented --sort --tty --forest --version -F extra full X registers --heading --no-heading --context ********* misc options ********* -V,V show version L list format codes f ASCII art forest -m,m,-L,-T,H threads S children in sum -y change -l format -M,Z security data c true command name -c scheduling class -w,w wide output n numeric WCHAN,UID -H process hierarchy |
#ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2052 812 ? Ss 12:39 0:00 init [4] root 2 0.0 0.0 0 0 ? S 12:39 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 12:39 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S 12:39 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S 12:39 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S 12:39 0:00 [events/0] root 7 0.0 0.0 0 0 ? S 12:39 0:00 [cpuset] root 8 0.0 0.0 0 0 ? S 12:39 0:00 [khelper] root 11 0.0 0.0 0 0 ? S 12:39 0:00 [async/mgr] ... root 2445 0.0 0.1 5108 756 pts/6 Ss+ 14:09 0:00 script -f -c ba root 2521 0.0 0.0 5112 500 pts/6 S+ 14:09 0:00 script -f -c ba root 2522 0.0 0.4 7304 2904 pts/8 Ss 14:09 0:00 bash root 2691 0.0 0.1 6004 1060 pts/8 S+ 14:10 0:00 screen -x root 2706 0.0 0.4 8276 2884 ? Ss 14:10 0:00 sshd: root@pts/ root 2710 0.0 0.1 5108 756 pts/7 Ss+ 14:10 0:00 script -f -c ba root 2767 0.0 0.0 5112 500 pts/7 S+ 14:10 0:00 script -f -c ba root 2768 0.0 0.4 7316 2920 pts/9 Ss 14:10 0:00 bash root 2811 0.0 0.1 6004 1060 pts/9 S+ 14:10 0:00 screen -x root 2968 0.0 0.1 5588 1056 pts/5 R+ 14:22 0:00 ps axu |
#ps ux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2052 812 ? Ss 12:39 0:00 init [4] root 2 0.0 0.0 0 0 ? S 12:39 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 12:39 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S 12:39 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S 12:39 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S 12:39 0:00 [events/0] root 7 0.0 0.0 0 0 ? S 12:39 0:00 [cpuset] root 8 0.0 0.0 0 0 ? S 12:39 0:00 [khelper] root 11 0.0 0.0 0 0 ? S 12:39 0:00 [async/mgr] ... root 2445 0.0 0.1 5108 756 pts/6 Ss+ 14:09 0:00 script -f -c ba root 2521 0.0 0.0 5112 500 pts/6 S+ 14:09 0:00 script -f -c ba root 2522 0.0 0.4 7304 2904 pts/8 Ss 14:09 0:00 bash root 2691 0.0 0.1 6004 1060 pts/8 S+ 14:10 0:00 screen -x root 2706 0.0 0.4 8276 2884 ? Ss 14:10 0:00 sshd: root@pts/ root 2710 0.0 0.1 5108 756 pts/7 Ss+ 14:10 0:00 script -f -c ba root 2767 0.0 0.0 5112 500 pts/7 S+ 14:10 0:00 script -f -c ba root 2768 0.0 0.4 7316 2920 pts/9 Ss 14:10 0:00 bash root 2811 0.0 0.1 6004 1060 pts/9 S+ 14:10 0:00 screen -x root 2976 0.0 0.1 5588 1056 pts/5 R+ 14:23 0:00 ps ux |
#ps ax
PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init [4] 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [migration/0] 4 ? S 0:00 [ksoftirqd/0] 5 ? S 0:00 [watchdog/0] 6 ? S 0:00 [events/0] 7 ? S 0:00 [cpuset] 8 ? S 0:00 [khelper] 11 ? S 0:00 [async/mgr] ... 2445 pts/6 Ss+ 0:00 script -f -c bash -q /root/.lilalo//25306231302552625 2521 pts/6 S+ 0:00 script -f -c bash -q /root/.lilalo//25306231302552625 2522 pts/8 Ss 0:00 bash 2691 pts/8 S+ 0:00 screen -x 2706 ? Ss 0:00 sshd: root@pts/7 2710 pts/7 Ss+ 0:00 script -f -c bash -q /root/.lilalo//15534319212379485 2767 pts/7 S+ 0:00 script -f -c bash -q /root/.lilalo//15534319212379485 2768 pts/9 Ss 0:00 bash 2811 pts/9 S+ 0:00 screen -x 2984 pts/5 R+ 0:00 ps ax |
#ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 2052 812 ? Ss 12:39 0:00 init [4] root 2 0.0 0.0 0 0 ? S 12:39 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 12:39 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S 12:39 0:00 [ksoftirqd/0] root 5 0.0 0.0 0 0 ? S 12:39 0:00 [watchdog/0] root 6 0.0 0.0 0 0 ? S 12:39 0:00 [events/0] root 7 0.0 0.0 0 0 ? S 12:39 0:00 [cpuset] root 8 0.0 0.0 0 0 ? S 12:39 0:00 [khelper] root 11 0.0 0.0 0 0 ? S 12:39 0:00 [async/mgr] ... root 2445 0.0 0.1 5108 756 pts/6 Ss+ 14:09 0:00 script -f -c ba root 2521 0.0 0.0 5112 500 pts/6 S+ 14:09 0:00 script -f -c ba root 2522 0.0 0.4 7304 2904 pts/8 Ss 14:09 0:00 bash root 2691 0.0 0.1 6004 1060 pts/8 S+ 14:10 0:00 screen -x root 2706 0.0 0.4 8276 2884 ? Ss 14:10 0:00 sshd: root@pts/ root 2710 0.0 0.1 5108 756 pts/7 Ss+ 14:10 0:00 script -f -c ba root 2767 0.0 0.0 5112 500 pts/7 S+ 14:10 0:00 script -f -c ba root 2768 0.0 0.4 7316 2920 pts/9 Ss 14:10 0:00 bash root 2811 0.0 0.1 6004 1060 pts/9 S+ 14:10 0:00 screen -x root 2992 0.0 0.1 5588 1056 pts/5 R+ 14:24 0:00 ps aux |
#top
top - 14:24:33 up 1:44, 5 users, load average: 0.59, 0.35, 0.18 Tasks: 71 total, 1 running, 70 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 156304k used, 438088k free, 65276k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 35592k cached 1335 root 20 0 21560 15m 1540 S 71.8 2.7 5:05.16 l3-agent 3000 root 20 0 2352 1128 892 R 0.3 0.2 0:00.04 top 1 root 20 0 2052 812 704 S 0.0 0.1 0:00.28 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 171 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 173 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 top - 14:26:49 up 1:47, 5 users, load average: 0.64, 0.46, 0.23 Tasks: 71 total, 2 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s):100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 156692k used, 437700k free, 65276k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 35968k cached 1335 root 20 0 21560 15m 1540 R 99.3 2.7 6:34.37 l3-agent 3000 root 20 0 2352 1128 892 R 0.3 0.2 0:00.53 top |
#top -q
![]() top: unknown argument 'q' usage: top -hv | -bcisSH -d delay -n iterations [-u user | -U user] -p pid [,pid ...] |
#top -d 2
top - 14:27:25 up 1:47, 5 users, load average: 0.66, 0.48, 0.25 Tasks: 71 total, 2 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 99.5%us, 0.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 156824k used, 437568k free, 65276k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 36008k cached 1335 root 20 0 21560 15m 1540 R 29.3 2.7 6:58.49 l3-agent 6 root 20 0 0 0 0 S 0.5 0.0 0:00.55 events/0 2297 root 20 0 5112 500 368 S 0.5 0.1 0:00.11 script 2349 root 20 0 6164 1392 960 S 0.5 0.2 0:00.58 screen ... 7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 20 0 0 0 0 S 0.0 0.0 0:00.03 khelper 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenbus 168 root 20 0 0 0 0 S 0.0 0.0 0:00.01 sync_supers 170 root 20 0 0 0 0 S 0.0 0.0 0:00.02 bdi-default 171 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 171 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 173 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 |
#top -p 1325
top - 14:29:27 up 1:49, 5 users, load average: 0.72, 0.57, 0.31 Tasks: 0 total, 0 running, 0 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 157320k used, 437072k free, 65276k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 36472k cached |
#top -n 5
top - 14:30:13 up 1:50, 5 users, load average: 0.71, 0.59, 0.33 Tasks: 71 total, 2 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 14.6%us, 0.2%sy, 0.0%ni, 85.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 157320k used, 437072k free, 65276k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 36540k cached 2767 root 20 0 5112 500 368 S 0.3 0.1 0:00.12 script 3032 root 20 0 2352 1128 892 R 0.3 0.2 0:00.04 top 1 root 20 0 2052 812 704 S 0.0 0.1 0:00.28 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 20 0 0 0 0 S 0.0 0.0 0:00.03 khelper 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenwatch 17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 xenbus 168 root 20 0 0 0 0 S 0.0 0.0 0:00.01 sync_supers 170 root 20 0 0 0 0 S 0.0 0.0 0:00.02 bdi-default 171 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0 |
#top -b
![]() top - 14:30:33 up 1:50, 5 users, load average: 0.86, 0.63, 0.34 Tasks: 71 total, 2 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 4.5%us, 0.2%sy, 0.0%ni, 95.1%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 594392k total, 157444k used, 436948k free, 65280k buffers Swap: 0k total, 0k used, 0k free, 36540k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1335 root 20 0 21604 15m 1540 R 96.3 2.7 9:24.48 l3-agent 3040 root 20 0 2348 1028 800 R 1.9 0.2 0:00.01 top 1 root 20 0 2052 812 704 S 0.0 0.1 0:00.28 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd ... 2445 root 20 0 5108 756 632 S 0.0 0.1 0:00.56 script 2521 root 20 0 5112 500 368 S 0.0 0.1 0:00.12 script 2522 root 20 0 7304 2904 1500 S 0.0 0.5 0:00.54 bash 2691 root 20 0 6004 1060 856 S 0.0 0.2 0:00.01 screen 2706 root 20 0 8276 2884 2356 S 0.0 0.5 0:00.31 sshd 2710 root 20 0 5108 756 632 S 0.0 0.1 0:00.56 script 2767 root 20 0 5112 500 368 S 0.0 0.1 0:00.12 script 2768 root 20 0 7316 2920 1496 S 0.0 0.5 0:00.53 bash 2811 root 20 0 6004 1060 856 S 0.0 0.2 0:00.01 screen ^C |
#sleep 300
![]() ^C |
#sleep 300 &
[1] 3056 |
#jobs
[1]+ Running sleep 300 & |
#fg 1
![]() sleep 300 ^Z [1]+ Stopped sleep 300 |
#jobs
[1]+ Stopped sleep 300 |
#fg 1
![]() sleep 300 ^C |
#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 |
#ping ya.ru &
[1] 3120 |
#PING ya.ru (213.180.204.3) 56(84) bytes of data.
![]() 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=1 ttl=52 time=57.7 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=2 ttl=52 time=50.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=3 ttl=52 time=50.0 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=4 ttl=52 time=55.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=5 ttl=52 time=52.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=6 ttl=52 time=54.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=7 ttl=52 time=102 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=8 ttl=52 time=96.9 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=9 ttl=52 time=52.9 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=10 ttl=52 time=52.3 ms k64 bytes from www.yandex.ru (213.180.204.3): icmp_req=11 ttl=52 time=52.3 ms ill64 bytes from www.yandex.ru (213.180.204.3): icmp_req=12 ttl=52 time=52.1 ms -964 bytes from www.yandex.ru (213.180.204.3): icmp_req=13 ttl=52 time=57.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=14 ttl=52 time=54.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=15 ttl=52 time=53.7 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=16 ttl=52 time=51.4 ms ^C64 bytes from www.yandex.ru (213.180.204.3): icmp_req=17 ttl=52 time=51.9 ms |
#ping ya.ru &64 bytes from www.yandex.ru (213.180.204.3): icmp_req=18 ttl=52 time=53.2 ms
64 bytes from www.yandex.ru (213.180.204.3): icmp_req=19 ttl=52 time=52.0 ms [2] 3138 PING ya.ru (93.158.134.3) 56(84) bytes of data. |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=1 ttl=50 time=57.9 ms
![]() 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=20 ttl=52 time=51.3 ms f64 bytes from www.yandex.ru (93.158.134.3): icmp_req=2 ttl=50 time=66.4 ms g64 bytes from www.yandex.ru (213.180.204.3): icmp_req=21 ttl=52 time=52.4 ms 164 bytes from www.yandex.ru (93.158.134.3): icmp_req=3 ttl=50 time=55.6 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=22 ttl=52 time=52.4 ms f64 bytes from www.yandex.ru (93.158.134.3): icmp_req=4 ttl=50 time=55.5 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=23 ttl=52 time=53.0 ms bash: ff: команда не найдена |
#f64 bytes from www.yandex.ru (93.158.134.3): icmp_req=5 ttl=50 time=53.2 ms
64 bytes from www.yandex.ru (213.180.204.3): icmp_req=24 ttl=52 time=52.8 ms g164 bytes from www.yandex.ru (93.158.134.3): icmp_req=6 ttl=50 time=54.2 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=25 ttl=52 time=50.1 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=7 ttl=50 time=54.2 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=26 ttl=52 time=51.9 ms 1 ping ya.ru 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=8 ttl=50 time=52.8 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=27 ttl=52 time=53.5 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=9 ttl=50 time=54.2 ms 64 bytes from www.yandex.ru (213.180.204.3): icmp_req=28 ttl=52 time=55.3 ms ^C --- ya.ru ping statistics --- 28 packets transmitted, 28 received, 0% packet loss, time 27024ms rtt min/avg/max/mdev = 50.067/56.381/102.611/12.207 ms |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=10 ttl=50 time=54.8 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=11 ttl=50 time=54.4 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=12 ttl=50 time=54.1 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=13 ttl=50 time=56.5 ms ^C |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=14 ttl=50 time=56.9 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=15 ttl=50 time=53.6 ms f64 bytes from www.yandex.ru (93.158.134.3): icmp_req=16 ttl=50 time=58.5 ms fg2 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=17 ttl=50 time=56.7 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=18 ttl=50 time=57.2 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=19 ttl=50 time=52.7 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=20 ttl=50 time=55.4 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=21 ttl=50 time=54.5 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=22 ttl=50 time=53.7 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=23 ttl=50 time=54.4 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=24 ttl=50 time=53.5 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=25 ttl=50 time=59.5 ms s64 bytes from www.yandex.ru (93.158.134.3): icmp_req=26 ttl=50 time=53.9 ms ^C |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=27 ttl=50 time=58.3 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=28 ttl=50 time=56.1 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=29 ttl=50 time=54.9 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=30 ttl=50 time=56.4 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=31 ttl=50 time=52.9 ms ^C |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=32 ttl=50 time=55.6 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=33 ttl=50 time=57.9 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=34 ttl=50 time=54.3 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=35 ttl=50 time=52.4 ms fg164 bytes from www.yandex.ru (93.158.134.3): icmp_req=36 ttl=50 time=55.1 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=37 ttl=50 time=54.5 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=38 ttl=50 time=53.2 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=39 ttl=50 time=54.9 ms fg64 bytes from www.yandex.ru (93.158.134.3): icmp_req=40 ttl=50 time=57.3 ms 1 bash: fgfg: команда не найдена |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=41 ttl=50 time=54.5 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=42 ttl=50 time=70.9 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=43 ttl=50 time=94.0 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=44 ttl=50 time=93.3 ms |
#64 bytes from www.yandex.ru (93.158.134.3): icmp_req=45 ttl=50 time=113 ms
![]() 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=46 ttl=50 time=117 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=48 ttl=50 time=55.8 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=49 ttl=50 time=52.9 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=50 ttl=50 time=53.8 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=51 ttl=50 time=53.6 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=52 ttl=50 time=57.7 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=53 ttl=50 time=54.2 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=54 ttl=50 time=57.3 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=55 ttl=50 time=57.3 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=56 ttl=50 time=54.6 ms ... 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=110 ttl=50 time=67.0 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=111 ttl=50 time=58.0 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=112 ttl=50 time=65.8 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=113 ttl=50 time=56.8 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=114 ttl=50 time=55.6 ms 64 bytes from www.yandex.ru (93.158.134.3): icmp_req=115 ttl=50 time=55.8 ms --- ya.ru ping statistics --- 115 packets transmitted, 114 received, 0% packet loss, time 114041ms rtt min/avg/max/mdev = 52.410/58.008/117.659/9.884 ms [2]+ Done ping ya.ru |
#ps uax|grep ping
root 3138 0.0 0.1 1944 764 pts/5 S 14:40 0:00 ping ya.ru root 3313 0.0 0.1 5044 800 pts/11 S+ 14:41 0:00 grep ping |
#kill -s SIGINT 3138
|
#ls /var/run/
crond.pid dbus rsyslogd.pid screen sshd.pid crond.reboot motd samba sshd utmp |
#sleep 3000
![]() ^Z [1]+ Stopped sleep 3000 |
#cat /var/run/samba/
![]() brlock.tdb locking.tdb smbd.pid connections.tdb messages.tdb unexpected.tdb gencache_notrans.tdb nmbd.pid upgrades/ gencache.tdb sessionid.tdb |
#cat /var/run/samba/smbd.pid | kill -9
![]() kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] |
#kill -9 `cat /var/run/samba/smbd.pid`
|
#/etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#sleep 10
![]() ^Z [1]+ Stopped sleep 10 |
#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 |
#ps aux|grep sleep
root 3450 0.0 0.0 4896 508 pts/11 T 14:47 0:00 sleep 10 root 3465 0.0 0.0 4896 508 pts/5 S+ 14:49 0:00 sleep 3000 root 3467 0.0 0.1 5044 800 pts/11 S+ 14:49 0:00 grep sleep |
#sleep 3000
![]() [2]+ Stopped sleep 3000 |
#ps aux|grep sleep
root 3450 0.0 0.0 4896 508 pts/11 T 14:47 0:00 sleep 10 root 3465 0.0 0.0 4896 508 pts/5 T 14:49 0:00 sleep 3000 root 3483 0.0 0.1 5044 804 pts/5 S+ 14:50 0:00 grep sleep |
#fg 1
![]() sleep 3000 ^C |
#ps aux|grep sleep
root 3450 0.0 0.0 4896 508 pts/11 T 14:47 0:00 sleep 10 root 3498 0.0 0.0 4896 508 pts/11 S+ 14:50 0:00 sleep 3000 root 3500 0.0 0.1 5044 800 pts/5 S+ 14:50 0:00 grep sleep |
|