/l3/users/4-12-2006/fbsd-adm/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 |
|
#top -ocpu,time,res
![]() top: 'cpu,time,res' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -ocpu,time,res
![]() top: 'cpu,time,res' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -o cpu
![]() last pid: 25730; load averages: 0.35, 0.26, 0.13 up 0+13:28:16 08:43:53 27 processes 0.0 running 0.0 sleepin 0.4 6.4 93.3 068 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7200K Free 47 Swap: 999M Total, 999M Free 42 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 3.86% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:58 3.81% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -o cpu
![]() last pid: 25730; load averages: 0.35, 0.26, 0.13 up 0+13:28:16 08:43:53 27 processes 0.0 running 0.0 sleepin 0.4 6.4 93.3 068 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7200K Free 47 Swap: 999M Total, 999M Free 42 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 3.86% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:58 3.81% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -o cpu
last pid: 25730; load averages: 0.35, 0.26, 0.13 up 0+13:28:16 08:43:53 27 processes 0.0 running 0.0 sleepin 0.4 6.4 93.3 068 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7200K Free 47 Swap: 999M Total, 999M Free 42 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 3.86% perl5.8.8 676 root 1 8 0 8624K 6748K nanslp 9:58 3.81% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -C cpu
![]() last pid: 25749; load averages: 0.30, 0.25, 0.12 up 0+13:28:31 08:44:08 1 6 27 processes 9.4 running 0.0 sleepin 0.7 6.7 83.1 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7196K Free 676 8 624K 6748K nanslp 9:58 2.64 Swap: 999M Total, 999M 97ee RUN 2.05 PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 2.39% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -C cpu
![]() last pid: 25749; load averages: 0.30, 0.25, 0.12 up 0+13:28:31 08:44:08 1 6 27 processes 9.4 running 0.0 sleepin 0.7 6.7 83.1 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7196K Free 676 8 624K 6748K nanslp 9:58 2.64 Swap: 999M Total, 999M 97ee RUN 2.05 PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 2.39% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -C cpu
last pid: 25749; load averages: 0.30, 0.25, 0.12 up 0+13:28:31 08:44:08 1 6 27 processes 9.4 running 0.0 sleepin 0.7 6.7 83.1 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7196K Free 676 8 624K 6748K nanslp 9:58 2.64 Swap: 999M Total, 999M 97ee RUN 2.05 PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 14268 root 1 8 0 8556K 6712K nanslp 5:01 2.39% perl5.8.8 ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary |
#top -Co pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -Co pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -Co pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -o pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -o pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -o pid
![]() top: 'pid' is not a recognized sorting order. Try one of these: cpu size res time pri threads total read write fault vcsw ivcsw |
#top -o pri
![]() last pid: 25767; load averages: 0.14, 0.21, 0.11 up 0+13:29:17 08:44:54 1 6 27 processes 0.4 running 0.0 sleepin 0.7 6.4 92.5 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7192K Free select Swap: 999M Total, 999M Free select PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 668 gdm 1 96 0 23948K 7408K select 2:01 0.00% gdmlogin ... 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd 25767 root 1 96 0 2284K 1504K RUN 0:00 0.00% top 487 root 1 96 0 1336K 716K select 0:00 0.00% moused 355 root 1 96 0 528K 284K select 0:00 0.00% devd 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 676 root 1 8 0 8624K 6748K nanslp 9:59 2.15% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 5:02 2.34% perl5.8.8 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron |
#top -o pri
![]() last pid: 25767; load averages: 0.14, 0.21, 0.11 up 0+13:29:17 08:44:54 1 6 27 processes 0.4 running 0.0 sleepin 0.7 6.4 92.5 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7192K Free select Swap: 999M Total, 999M Free select PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 668 gdm 1 96 0 23948K 7408K select 2:01 0.00% gdmlogin ... 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd 25767 root 1 96 0 2284K 1504K RUN 0:00 0.00% top 487 root 1 96 0 1336K 716K select 0:00 0.00% moused 355 root 1 96 0 528K 284K select 0:00 0.00% devd 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 676 root 1 8 0 8624K 6748K nanslp 9:59 2.15% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 5:02 2.34% perl5.8.8 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron |
#top -o pri
last pid: 25767; load averages: 0.14, 0.21, 0.11 up 0+13:29:17 08:44:54 1 6 27 processes 0.4 running 0.0 sleepin 0.7 6.4 92.5 060 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7192K Free select Swap: 999M Total, 999M Free select PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 668 gdm 1 96 0 23948K 7408K select 2:01 0.00% gdmlogin ... 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd 25767 root 1 96 0 2284K 1504K RUN 0:00 0.00% top 487 root 1 96 0 1336K 716K select 0:00 0.00% moused 355 root 1 96 0 528K 284K select 0:00 0.00% devd 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 676 root 1 8 0 8624K 6748K nanslp 9:59 2.15% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 5:02 2.34% perl5.8.8 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron |
#man top
![]() |
#man top
|
#top -U user
![]() last pid: 25785; load averages: 0.09, 0.20, 0.11 up 0+13:29:44 08:45:21 27 processes 0.4 running 0.0 sleepin 1.9 5.6 92.1 16 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7188K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND |
#top -U user
last pid: 25785; load averages: 0.09, 0.20, 0.11 up 0+13:29:44 08:45:21 27 processes 0.4 running 0.0 sleepin 1.9 5.6 92.1 16 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7188K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND |
#top -U mail
![]() mail: unknown user |
#top -U mail
![]() mail: unknown user |
#top -U mail
![]() mail: unknown user |
#top -U mail
![]() mail: unknown user |
#top -U daemon
![]() last pid: 25797; load averages: 0.22, 0.22, 0.12 up 0+13:29:55 08:45:32 27 processes: 2 running, 25 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7176K Free Swap: 999M Total, 999M Free |
#top -U daemon
last pid: 25797; load averages: 0.22, 0.22, 0.12 up 0+13:29:55 08:45:32 27 processes: 2 running, 25 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7176K Free Swap: 999M Total, 999M Free |
#top -U root
![]() last pid: 25803; load averages: 0.21, 0.22, 0.12 up 0+13:30:01 08:45:38 27 processes 0.4 running 0.0 sleepin 0.0 6.7 92.9 04 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7176K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 10:02 5.22% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 5:05 5.08% perl5.8.8 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd 655 root 1 5 0 1344K 812K ttyin 0:00 0.00% getty |
#top -U root
last pid: 25803; load averages: 0.21, 0.22, 0.12 up 0+13:30:01 08:45:38 27 processes 0.4 running 0.0 sleepin 0.0 6.7 92.9 04 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7176K Free Swap: 999M Total, 999M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 676 root 1 8 0 8624K 6748K nanslp 10:02 5.22% perl5.8.8 14268 root 1 8 0 8556K 6712K nanslp 5:05 5.08% perl5.8.8 572 root 1 96 0 54860K 8888K select 0:35 0.00% Xorg ... 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary 555 root 1 96 0 10460K 3524K select 0:00 0.00% gdm-binary 590 root 1 96 0 3524K 2140K select 0:00 0.00% sshd 655 root 1 5 0 1344K 812K ttyin 0:00 0.00% getty |
#top
![]() last pid: 25814; load averages: 0.79, 0.52, 0.28 up 0+13:35:56 08:51:33 27 1 6 27 processes 0.7 running 0.0 sleepin 1.9 6.4 91.0 6968 CPU states: 0.0% user, 0.0% nice, 0.9% system, 6.0% interrupt, 93.2% idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7028K Free 676displaying self. 8 624K 6748K nanslp 10:52 23.19 8 556K 6712K nanslp 5:54 21.97 14268 23948K 7408K select 2:02 0.00% gdmlogin 572 root 54860K 888 0:35 Xorg ... 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 25809 root 1 96 0 2340K 1580K RUN 0:00 0.00% top 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary |
#top
![]() last pid: 25814; load averages: 0.79, 0.52, 0.28 up 0+13:35:56 08:51:33 27 1 6 27 processes 0.7 running 0.0 sleepin 1.9 6.4 91.0 6968 CPU states: 0.0% user, 0.0% nice, 0.9% system, 6.0% interrupt, 93.2% idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7028K Free 676displaying self. 8 624K 6748K nanslp 10:52 23.19 8 556K 6712K nanslp 5:54 21.97 14268 23948K 7408K select 2:02 0.00% gdmlogin 572 root 54860K 888 0:35 Xorg ... 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 25809 root 1 96 0 2340K 1580K RUN 0:00 0.00% top 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary |
#top
last pid: 25814; load averages: 0.79, 0.52, 0.28 up 0+13:35:56 08:51:33 27 1 6 27 processes 0.7 running 0.0 sleepin 1.9 6.4 91.0 6968 CPU states: 0.0% user, 0.0% nice, 0.9% system, 6.0% interrupt, 93.2% idle Mem: 35M Active, 354M Inact, 77M Wired, 21M Cache, 60M Buf, 7028K Free 676displaying self. 8 624K 6748K nanslp 10:52 23.19 8 556K 6712K nanslp 5:54 21.97 14268 23948K 7408K select 2:02 0.00% gdmlogin 572 root 54860K 888 0:35 Xorg ... 25411 root 1 8 0 3268K 2016K wait 0:00 0.00% bash 605 root 1 8 0 1388K 932K nanslp 0:00 0.00% cron 25370 root 1 96 0 1340K 912K select 0:00 0.00% script 421 root 1 96 0 1376K 900K select 0:00 0.00% syslogd 548 root 1 96 0 1288K 736K select 0:00 0.00% usbd 712 root 1 5 0 3252K 1768K ttyin 0:00 0.00% bash 25809 root 1 96 0 2340K 1580K RUN 0:00 0.00% top 654 root 1 8 0 1736K 1212K wait 0:00 0.00% login 599 smmsp 1 20 0 3384K 2044K pause 0:00 0.00% sendmail 564 root 1 -8 0 10604K 3844K piperd 0:00 0.00% gdm-binary |
#man top
![]() |
#man top
|
#man signals
![]() |
#man signals
![]() |
#man signal
![]() |
#man signal
|
#kill -l
![]() 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGEMT 8) SIGFPE 9) SIGKILL 10) SIGBUS 11) SIGSEGV 12) SIGSYS 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGURG 17) SIGSTOP 18) SIGTSTP 19) SIGCONT 20) SIGCHLD 21) SIGTTIN 22) SIGTTOU 23) SIGIO 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGINFO 30) SIGUSR1 31) SIGUSR2 |
#kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGEMT 8) SIGFPE 9) SIGKILL 10) SIGBUS 11) SIGSEGV 12) SIGSYS 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGURG 17) SIGSTOP 18) SIGTSTP 19) SIGCONT 20) SIGCHLD 21) SIGTTIN 22) SIGTTOU 23) SIGIO 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGINFO 30) SIGUSR1 31) SIGUSR2 |
#find /etc/ -regex rc.*
|
#find -E c -regex rc.*
![]() |
#find -E c -regex rc.*
![]() |
#find -E c -regex rc.*
|
#find -E /etc rc.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: rc.*: No such file or directory |
#find -E /etc rc.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: rc.*: No such file or directory |
#find -E /etc rc.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: rc.*: No such file or directory |
#find -E /etc ^c.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc.*: No such file or directory |
#find -E /etc ^c.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc.*: No such file or directory |
#find -E /etc ^c.*
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc.*: No such file or directory |
#find -E /etc ^rc
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc: No such file or directory |
#find -E /etc ^rc
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc: No such file or directory |
#find -E /etc ^rc
![]() /etc/rc.d/ntpd /etc/rc.d/nfsserver /etc/rc.d/nisdomain /etc/rc.d/nsswitch /etc/rc.d/ntpdate /etc/rc.d/othermta /etc/rc.d/pccard /etc/rc.d/pcvt /etc/rc.d/pf /etc/rc.d/pflog ... /etc/dumpdates /etc/make.conf /etc/rc.conf /etc/manpath.config.bak /etc/nsswitch.conf /etc/host.conf /etc/opiekeys /etc/resolv.conf /etc/master.passwd.orig find: ^rc: No such file or directory |
#find /etc -name rc.*
![]() /etc/defaults/rc.conf /etc/rc.d /etc/rc.subr /etc/rc.bsdextended /etc/rc.firewall /etc/rc.firewall6 /etc/rc.initdiskless /etc/rc.sendmail /etc/rc.shutdown /etc/rc.suspend /etc/rc.resume /etc/rc.conf |
#find /etc -name rc.*
![]() /etc/defaults/rc.conf /etc/rc.d /etc/rc.subr /etc/rc.bsdextended /etc/rc.firewall /etc/rc.firewall6 /etc/rc.initdiskless /etc/rc.sendmail /etc/rc.shutdown /etc/rc.suspend /etc/rc.resume /etc/rc.conf |
#find /etc -name rc.*
/etc/defaults/rc.conf /etc/rc.d /etc/rc.subr /etc/rc.bsdextended /etc/rc.firewall /etc/rc.firewall6 /etc/rc.initdiskless /etc/rc.sendmail /etc/rc.shutdown /etc/rc.suspend /etc/rc.resume /etc/rc.conf |
#find /etc -name rc.* -ok cat {} \;
![]() # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). sendmail_pidfile="/var/run/sendmail.pid" # sendmail pid file sendmail_procname="/usr/sbin/sendmail" # sendmail process name sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). ... sourced_files="${sourced_files}:$i:" if [ -r $i ]; then . $i fi ;; esac done } fi "cat /etc/rc.d"? ^C |
#find /etc -name rc.* -ok cat {} \;
![]() # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). sendmail_pidfile="/var/run/sendmail.pid" # sendmail pid file sendmail_procname="/usr/sbin/sendmail" # sendmail process name sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). ... sourced_files="${sourced_files}:$i:" if [ -r $i ]; then . $i fi ;; esac done } fi "cat /etc/rc.d"? ^C |
#find /etc -name rc.* -ok less {} \;
![]() "less /etc/defaults/rc.conf"? y "less /etc/rc.shutdown"? q "less /etc/rc.suspend"? ^C"? nning Kamp 2006/08/24 10:32:40 yar Exp $ #less /etc/rc.sendmail"? yRhodesof useful variables that you can set # Copyright (c) 2002 Gregory Neil Shapiro. All Rights Reserved.uld # Copyright (c) 2000, 2002 The FreeBSD Projectorms, with or withoutiles} # All rights reserved.rmitted provided that the following conditionst # are met:tion, are permitted provided that the following conditionsation # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditionsde ... # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' ANDEOSE # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THENTIALxp $ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODSAYT # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)FWAY |
#find /etc -name rc.* -ok less {} \;
![]() "less /etc/defaults/rc.conf"? y "less /etc/rc.shutdown"? q "less /etc/rc.suspend"? ^C"? nning Kamp 2006/08/24 10:32:40 yar Exp $ #less /etc/rc.sendmail"? yRhodesof useful variables that you can set # Copyright (c) 2002 Gregory Neil Shapiro. All Rights Reserved.uld # Copyright (c) 2000, 2002 The FreeBSD Projectorms, with or withoutiles} # All rights reserved.rmitted provided that the following conditionst # are met:tion, are permitted provided that the following conditionsation # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditionsde ... # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' ANDEOSE # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THENTIALxp $ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODSAYT # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)FWAY |
#ping mail.eksmo.com.ua
![]() PING mail.eksmo.com.ua (213.227.194.244): 56 data bytes 64 bytes from 213.227.194.244: icmp_seq=0 ttl=54 time=24.017 ms 64 bytes from 213.227.194.244: icmp_seq=1 ttl=54 time=29.357 ms ^C --- mail.eksmo.com.ua ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 24.017/26.687/29.357/2.670 ms |
#ping mail.eksmo.com.ua
![]() PING mail.eksmo.com.ua (213.227.194.244): 56 data bytes 64 bytes from 213.227.194.244: icmp_seq=0 ttl=54 time=24.017 ms 64 bytes from 213.227.194.244: icmp_seq=1 ttl=54 time=29.357 ms ^C --- mail.eksmo.com.ua ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 24.017/26.687/29.357/2.670 ms |
#ping mail.eksmo.com.ua
![]() PING mail.eksmo.com.ua (213.227.194.244): 56 data bytes 64 bytes from 213.227.194.244: icmp_seq=0 ttl=54 time=24.017 ms 64 bytes from 213.227.194.244: icmp_seq=1 ttl=54 time=29.357 ms ^C --- mail.eksmo.com.ua ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 24.017/26.687/29.357/2.670 ms |
#ping mail.eksmo.com.ua
PING mail.eksmo.com.ua (213.227.194.244): 56 data bytes 64 bytes from 213.227.194.244: icmp_seq=0 ttl=54 time=24.017 ms 64 bytes from 213.227.194.244: icmp_seq=1 ttl=54 time=29.357 ms ^C --- mail.eksmo.com.ua ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 24.017/26.687/29.357/2.670 ms |
#host 213.227.194.244
![]() 244.194.227.213.in-addr.arpa domain name pointer 194-244.static.alkar.net. |
#host 213.227.194.244
![]() 244.194.227.213.in-addr.arpa domain name pointer 194-244.static.alkar.net. |
#host 213.227.194.244
244.194.227.213.in-addr.arpa domain name pointer 194-244.static.alkar.net. |
#dig
![]() .DCOPserver_fbsd3.unix.nt_NODISPLAY .lilalo/ .ICEauthority .login .Xauthority .mozilla/ .Xresources .profile .bash_history .prxuOU7b2 .bash_logout .qt/ .bash_profile .ssh/ .bashrc .tcshrc .cshrc .twmgO7RKp .gconf/ .viminfo ... .gnome2_private/ .xsmnfUg6I .gstreamer/ Track 01.mp3 .gstreamer-0.10/ install .gstreamer-0.8/ mi.sh .gtkrc mymotd .gtkrc-1.2-gnome2 mynologin .history mytgz/ .hushlogin oldkern .inputrc opiepasswd .k5login opiepasswd2 |
#dig
![]() .DCOPserver_fbsd3.unix.nt_NODISPLAY .lilalo/ .ICEauthority .login .Xauthority .mozilla/ .Xresources .profile .bash_history .prxuOU7b2 .bash_logout .qt/ .bash_profile .ssh/ .bashrc .tcshrc .cshrc .twmgO7RKp .gconf/ .viminfo ... .gnome2_private/ .xsmnfUg6I .gstreamer/ Track 01.mp3 .gstreamer-0.10/ install .gstreamer-0.8/ mi.sh .gtkrc mymotd .gtkrc-1.2-gnome2 mynologin .history mytgz/ .hushlogin oldkern .inputrc opiepasswd .k5login opiepasswd2 |
#dig
![]() .DCOPserver_fbsd3.unix.nt_NODISPLAY .lilalo/ .ICEauthority .login .Xauthority .mozilla/ .Xresources .profile .bash_history .prxuOU7b2 .bash_logout .qt/ .bash_profile .ssh/ .bashrc .tcshrc .cshrc .twmgO7RKp .gconf/ .viminfo ... .gnome2_private/ .xsmnfUg6I .gstreamer/ Track 01.mp3 .gstreamer-0.10/ install .gstreamer-0.8/ mi.sh .gtkrc mymotd .gtkrc-1.2-gnome2 mynologin .history mytgz/ .hushlogin oldkern .inputrc opiepasswd .k5login opiepasswd2 |
#dig mail.eksmo.com.ua mx
![]() ; <<>> DiG 9.3.2-P2 <<>> mail.eksmo.com.ua mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21297 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.eksmo.com.ua. IN MX ;; AUTHORITY SECTION: eksmo.com.ua. 10800 IN SOA ns.alkar.net. hostmaster.alkar.net. 2006091500 36000 3600 604800 86400 ;; Query time: 117 msec ;; SERVER: 192.168.15.15#53(192.168.15.15) ;; WHEN: Fri Dec 8 09:28:40 2006 ;; MSG SIZE rcvd: 94 |
#dig mail.eksmo.com.ua mx
; <<>> DiG 9.3.2-P2 <<>> mail.eksmo.com.ua mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21297 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.eksmo.com.ua. IN MX ;; AUTHORITY SECTION: eksmo.com.ua. 10800 IN SOA ns.alkar.net. hostmaster.alkar.net. 2006091500 36000 3600 604800 86400 ;; Query time: 117 msec ;; SERVER: 192.168.15.15#53(192.168.15.15) ;; WHEN: Fri Dec 8 09:28:40 2006 ;; MSG SIZE rcvd: 94 |
#dig mail.eksmo.com.ua mxс
![]() ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29617 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;mail.eksmo.com.ua. IN A ;; ANSWER SECTION: mail.eksmo.com.ua. 83736 IN A 213.227.194.244 ;; AUTHORITY SECTION: eksmo.com.ua. 83736 IN NS ns.alkar.net. eksmo.com.ua. 83736 IN NS ns2.lucky.net. ;; ADDITIONAL SECTION: ns.alkar.net. 23448 IN A 195.248.191.65 ns2.lucky.net. 170136 IN A 193.193.193.115 ;; Query time: 1 msec ;; SERVER: 192.168.15.15#53(192.168.15.15) ;; WHEN: Fri Dec 8 10:11:46 2006 ;; MSG SIZE rcvd: 133 |
#dig mail.eksmo.com.ua mxс
![]() ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29617 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;mail.eksmo.com.ua. IN A ;; ANSWER SECTION: mail.eksmo.com.ua. 83736 IN A 213.227.194.244 ;; AUTHORITY SECTION: eksmo.com.ua. 83736 IN NS ns.alkar.net. eksmo.com.ua. 83736 IN NS ns2.lucky.net. ;; ADDITIONAL SECTION: ns.alkar.net. 23448 IN A 195.248.191.65 ns2.lucky.net. 170136 IN A 193.193.193.115 ;; Query time: 1 msec ;; SERVER: 192.168.15.15#53(192.168.15.15) ;; WHEN: Fri Dec 8 10:11:46 2006 ;; MSG SIZE rcvd: 133 |
#dig mail.eksmo.com.ua mxс
;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29617 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;mail.eksmo.com.ua. IN A ;; ANSWER SECTION: mail.eksmo.com.ua. 83736 IN A 213.227.194.244 ;; AUTHORITY SECTION: eksmo.com.ua. 83736 IN NS ns.alkar.net. eksmo.com.ua. 83736 IN NS ns2.lucky.net. ;; ADDITIONAL SECTION: ns.alkar.net. 23448 IN A 195.248.191.65 ns2.lucky.net. 170136 IN A 193.193.193.115 ;; Query time: 1 msec ;; SERVER: 192.168.15.15#53(192.168.15.15) ;; WHEN: Fri Dec 8 10:11:46 2006 ;; MSG SIZE rcvd: 133 |
#mount
![]() /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3f on /home (ufs, local, soft-updates) /dev/ad0s3e on /tmp (ufs, local, soft-updates) /dev/ad0s3g on /usr (ufs, local, soft-updates) /dev/ad0s3d on /var (ufs, local, soft-updates) |
#mount
![]() /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3f on /home (ufs, local, soft-updates) /dev/ad0s3e on /tmp (ufs, local, soft-updates) /dev/ad0s3g on /usr (ufs, local, soft-updates) /dev/ad0s3d on /var (ufs, local, soft-updates) |
#mount
/dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s3f on /home (ufs, local, soft-updates) /dev/ad0s3e on /tmp (ufs, local, soft-updates) /dev/ad0s3g on /usr (ufs, local, soft-updates) /dev/ad0s3d on /var (ufs, local, soft-updates) |
#ыы
![]() bash: ыы: command not found |
#ыы
![]() bash: ыы: command not found |
#ssh root@192.168.15.21
![]() Password: Password: Last login: Fri Dec 8 10:12:04 2006 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RC1 (my) #0: Thu Dec 7 17:48:21 UTC 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.21
![]() Password: Password: Last login: Fri Dec 8 10:12:04 2006 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RC1 (my) #0: Thu Dec 7 17:48:21 UTC 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@192.168.15.21
Password: Password: Last login: Fri Dec 8 10:12:04 2006 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RC1 (my) #0: Thu Dec 7 17:48:21 UTC 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#su - user
![]() |
#su - user
![]() |
#su - user
|
$wall
![]() screen Broadcast Message from root@fbsd1.unix.nt (/dev/ttyp8) at 10:13 UTC... screen wall: /dev/:0: No such file or directory |
$wall
![]() screen Broadcast Message from root@fbsd1.unix.nt (/dev/ttyp8) at 10:13 UTC... screen wall: /dev/:0: No such file or directory |
$wall
screen Broadcast Message from root@fbsd1.unix.nt (/dev/ttyp8) at 10:13 UTC... screen wall: /dev/:0: No such file or directory |
$screen -x
![]() |
$screen -x
![]() |
$screen -x
![]() |
#ls -l /var/cron/tabs/
![]() total 0 |
#ls -l /var/cron/tabs/
![]() total 0 |
#ls -l /var/cron/tabs/
total 0 |
#grep -r ad0 t
![]() Binary file /boot/kernel/kernel matches Binary file /boot/kernel/if_ct.ko matches Binary file /boot/kernel/if_cx.ko matches Binary file /boot/kernel/nfsclient.ko matches Binary file /boot/GENERIC/kernel matches Binary file /boot/GENERIC/if_ct.ko matches Binary file /boot/GENERIC/if_cx.ko matches Binary file /boot/GENERIC/nfsclient.ko matches Binary file /boot/kernel.old/kernel matches Binary file /boot/kernel.old/if_ct.ko matches Binary file /boot/kernel.old/if_cx.ko matches Binary file /boot/kernel.old/nfsclient.ko matches |
#grep -r ad0 t
![]() Binary file /boot/kernel/kernel matches Binary file /boot/kernel/if_ct.ko matches Binary file /boot/kernel/if_cx.ko matches Binary file /boot/kernel/nfsclient.ko matches Binary file /boot/GENERIC/kernel matches Binary file /boot/GENERIC/if_ct.ko matches Binary file /boot/GENERIC/if_cx.ko matches Binary file /boot/GENERIC/nfsclient.ko matches Binary file /boot/kernel.old/kernel matches Binary file /boot/kernel.old/if_ct.ko matches Binary file /boot/kernel.old/if_cx.ko matches Binary file /boot/kernel.old/nfsclient.ko matches |
#grep -r ad0 t
Binary file /boot/kernel/kernel matches Binary file /boot/kernel/if_ct.ko matches Binary file /boot/kernel/if_cx.ko matches Binary file /boot/kernel/nfsclient.ko matches Binary file /boot/GENERIC/kernel matches Binary file /boot/GENERIC/if_ct.ko matches Binary file /boot/GENERIC/if_cx.ko matches Binary file /boot/GENERIC/nfsclient.ko matches Binary file /boot/kernel.old/kernel matches Binary file /boot/kernel.old/if_ct.ko matches Binary file /boot/kernel.old/if_cx.ko matches Binary file /boot/kernel.old/nfsclient.ko matches |
#ls -l /boot/
![]() total 618 drwxr-xr-x 2 root wheel 9728 2 ÄÅË 19:22 GENERIC -r--r--r-- 1 root wheel 7638 16 ÎÏÑ 02:11 beastie.4th -r--r--r-- 1 root wheel 8192 16 ÎÏÑ 02:11 boot -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot0 -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot0sio -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot1 -r--r--r-- 1 root wheel 7680 16 ÎÏÑ 02:11 boot2 -r--r--r-- 1 root wheel 1200 16 ÎÏÑ 02:11 cdboot drwxr-xr-x 2 root wheel 512 2 ÄÅË 19:22 defaults ... -r-xr-xr-x 1 root wheel 217088 16 ÎÏÑ 02:11 loader -r--r--r-- 1 root wheel 7772 16 ÎÏÑ 02:11 loader.4th -rw-r--r-- 1 root wheel 0 7 ÄÅË 19:17 loader.conf -r--r--r-- 1 root wheel 15219 16 ÎÏÑ 02:11 loader.help -r--r--r-- 1 root wheel 389 16 ÎÏÑ 02:11 loader.rc -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 mbr drwxr-xr-x 2 root wheel 512 16 ÎÏÑ 02:09 modules -r--r--r-- 1 root wheel 219136 16 ÎÏÑ 02:11 pxeboot -r--r--r-- 1 root wheel 692 16 ÎÏÑ 02:11 screen.4th -r--r--r-- 1 root wheel 36440 16 ÎÏÑ 02:11 support.4th |
#ls -l /boot/
total 618 drwxr-xr-x 2 root wheel 9728 2 ÄÅË 19:22 GENERIC -r--r--r-- 1 root wheel 7638 16 ÎÏÑ 02:11 beastie.4th -r--r--r-- 1 root wheel 8192 16 ÎÏÑ 02:11 boot -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot0 -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot0sio -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 boot1 -r--r--r-- 1 root wheel 7680 16 ÎÏÑ 02:11 boot2 -r--r--r-- 1 root wheel 1200 16 ÎÏÑ 02:11 cdboot drwxr-xr-x 2 root wheel 512 2 ÄÅË 19:22 defaults ... -r-xr-xr-x 1 root wheel 217088 16 ÎÏÑ 02:11 loader -r--r--r-- 1 root wheel 7772 16 ÎÏÑ 02:11 loader.4th -rw-r--r-- 1 root wheel 0 7 ÄÅË 19:17 loader.conf -r--r--r-- 1 root wheel 15219 16 ÎÏÑ 02:11 loader.help -r--r--r-- 1 root wheel 389 16 ÎÏÑ 02:11 loader.rc -r--r--r-- 1 root wheel 512 16 ÎÏÑ 02:11 mbr drwxr-xr-x 2 root wheel 512 16 ÎÏÑ 02:09 modules -r--r--r-- 1 root wheel 219136 16 ÎÏÑ 02:11 pxeboot -r--r--r-- 1 root wheel 692 16 ÎÏÑ 02:11 screen.4th -r--r--r-- 1 root wheel 36440 16 ÎÏÑ 02:11 support.4th |
Время первой команды журнала | 10:43:37 2006-12- 8 | |||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:48:27 2006-12- 8 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 25.74 | |||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.50 | |||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.12 | |||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008