mirror of https://github.com/jumpserver/jumpserver
添加搜索功能
parent
c84f124511
commit
5f2e2a808e
|
@ -1,8 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sun Jan 4 13:30:11 2015 from 192.168.199.162
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ ls
|
||||
[halcyon@192.168.196.73 ~]$
|
|
@ -1,42 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 05:19:23 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:607 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:62277 (60.8 KiB) TX bytes:52684 (51.4 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:28140 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:1908800 (1.8 MiB) TX bytes:20462 (19.9 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ hah
|
||||
-bash: hah: command not found
|
||||
[halcyon@192.168.196.73 ~]$
[K[halcyon@192.168.196.73 ~
~]$
[K[A[halcyon@192.168.196.73 ~]$
[K[halcyon@192.168.196.73 ~]$
[K[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,44 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 06:59:23 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ifocnfig[K[K[K[K[K[Kconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:32903 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:261 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:2226913 (2.1 MiB) TX bytes:31635 (30.8 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,8 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:15:07 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,10 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:37:41 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,8 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:38:42 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,8 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:42:24 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,8 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:50:33 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,10 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 07:54:52 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ exit
|
||||
logout
|
|
@ -1,169 +0,0 @@
|
|||
PS1='[\u@192.168.196.73 \W]\$ '
|
||||
Last login: Sat Jan 24 08:04:04 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ '
|
||||
[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m
|
||||
[halcyon@192.168.196.73 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.196.73 ~]$ heh
|
||||
-bash: heh: command not found
|
||||
[halcyon@192.168.196.73 ~]$ ls
|
||||
[halcyon@192.168.196.73 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:53473 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:3543072 (3.3 MiB) TX bytes:72052 (70.3 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ls
|
||||
[halcyon@192.168.196.73 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.196.73 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:54022 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:560 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:3583036 (3.4 MiB) TX bytes:73616 (71.8 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:54145 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:569 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:3593530 (3.4 MiB) TX bytes:74598 (72.8 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:63814 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:609 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:4187378 (3.9 MiB) TX bytes:78400 (76.5 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.196.73 ~]$ ifconfgi[K[Kig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63001 (61.5 KiB) TX bytes:53086 (51.8 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.196.73 Bcast:192.168.199.255 Mask:255.255.248.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:64147 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:631 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:4208452 (4.0 MiB) TX bytes:80576 (78.6 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.196.73 ~]$
|
|
@ -1,48 +0,0 @@
|
|||
PS1='[\u@192.168.199.158 \W]\$ '
|
||||
Last login: Sat Jan 24 08:06:24 2015 from 192.168.192.84
|
||||
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
|
||||
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.199.158 done. Enjoy it.[0m
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:584 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:61072 (59.6 KiB) TX bytes:50796 (49.6 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:629 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:41737 (40.7 KiB) TX bytes:8573 (8.3 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ [H[J[halcyon@192.168.199.158 ~]$ python
|
||||
Python 2.6.6 (r266:84292, Nov 22 2013, 12:11:10)
|
||||
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> import os
|
||||
>>> os.system[K[K[K[K[K[Kkill()1)1)1)1)1),) )9)
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
OSError: [Errno 3] No such process
|
||||
>>>
|
|
@ -1,9 +0,0 @@
|
|||
PS1='[\u@192.168.199.158 \W]\$ '
|
||||
Last login: Sun Jan 25 08:43:07 2015 from 192.168.199.162
|
||||
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
|
||||
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.199.158 done. Enjoy it.[0m
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$
|
|
@ -1,9 +0,0 @@
|
|||
PS1='[\u@192.168.199.158 \W]\$ '
|
||||
Last login: Sun Jan 25 09:46:01 2015 from 192.168.199.162
|
||||
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
|
||||
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.199.158 done. Enjoy it.[0m
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$
|
|
@ -1,382 +0,0 @@
|
|||
Last login: Sun Jan 25 09:55:21 2015 from 192.168.199.162
|
||||
PS1='[\u@192.168.199.158 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[halcyon@localhost ~]$ PS1='[\u@192.168.199.158 \W]\$ '
|
||||
[halcyon@192.168.199.158 ~]$ clear;echo -e '\033[32mLogin 192.168.199.158 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.199.158 done. Enjoy it.[0m
|
||||
[halcyon@192.168.199.158 ~]$ ls
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:585 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:61132 (59.6 KiB) TX bytes:50850 (49.6 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:3607 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:233475 (228.0 KiB) TX bytes:33863 (33.0 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ [H[J[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ls
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ whoami
|
||||
halcyon
|
||||
[halcyon@192.168.199.158 ~]$ whoami
|
||||
halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4126 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:299 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:267291 (261.0 KiB) TX bytes:39201 (38.2 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4174 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:316 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:270969 (264.6 KiB) TX bytes:40987 (40.0 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ ls
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ haha
|
||||
-bash: haha: command not found
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:292122 (285.2 KiB) TX bytes:45145 (44.0 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ heh [K[K[K[Khah [K[K[K[Khaha
|
||||
-bash: haha: command not found
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pe[K[Kifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4772 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:312810 (305.4 KiB) TX bytes:51037 (49.8 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4797 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:314898 (307.5 KiB) TX bytes:52223 (50.9 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ 了[Kl l l
|
||||
-bash: l: command not found
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:620 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:404 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63648 (62.1 KiB) TX bytes:52568 (51.3 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:6033 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:458 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:391245 (382.0 KiB) TX bytes:55319 (54.0 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:622 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:406 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63768 (62.2 KiB) TX bytes:52664 (51.4 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:8105 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:517625 (505.4 KiB) TX bytes:58821 (57.4 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ ifconfig
|
||||
eth0 Link encap:Ethernet HWaddr 08:00:27:AE:97:4F
|
||||
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feae:974f/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:622 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:406 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:63768 (62.2 KiB) TX bytes:52664 (51.4 KiB)
|
||||
|
||||
eth1 Link encap:Ethernet HWaddr 08:00:27:B6:17:22
|
||||
inet addr:192.168.199.158 Bcast:192.168.199.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::a00:27ff:feb6:1722/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:8127 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:506 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:519597 (507.4 KiB) TX bytes:60123 (58.7 KiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||
|
||||
[halcyon@192.168.199.158 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ hah
|
||||
-bash: hah: command not found
|
||||
[halcyon@192.168.199.158 ~]$ chown [K[K[K[K[K[Kcd /home/user[K[K[K[K
|
||||
halcyon/ vagrant/
|
||||
[halcyon@192.168.199.158 ~]$ cd /home/halcyon/
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.199.158 ~]$ toc[K[K[Ktouch 123
|
||||
[halcyon@192.168.199.158 ~]$ touch 123456
|
||||
[halcyon@192.168.199.158 ~]$ vim 123456
|
||||
[?1h=[1;32r[m[m[0m[H[J[32;1H"123456" 0L, 0C[2;1H[1m~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~[0m[32;118H0,0-1[9CAll[1;1H[32;1H[1m-- INSERT --[0m[32;14H[K[32;118H0,1[11CAll[1;1Ht[32;118H1,2[1;2Hth[32;120H3[1;3Hhi[32;120H4[1;4His[32;120H5[1;5H[32;120H6[1;6H i[32;120H7[1;7His[32;120H8[1;8H[32;120H9[1;9H a[32;120H10[1;10H[32;121H1[1;11H t[32;121H2[1;12Hte[32;121H3[1;13Hes[32;121H4[1;14Hst[32;121H5[1;15H[32;1H[K[1;14H[32;118H1,14[10CAll[1;14H[32;118H[K[32;1H:wq
"123456" 1L, 15C written
[?1l>
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 4
|
||||
-rw-rw-r--. 1 halcyon halcyon 0 Jan 25 14:00 123
|
||||
-rw-rw-r--. 1 halcyon halcyon 15 Jan 25 14:00 123456
|
||||
[halcyon@192.168.199.158 ~]$ hah[K[K[Kpwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.199.158 ~]$ ll
|
||||
total 4
|
||||
-rw-rw-r--. 1 halcyon halcyon 0 Jan 25 14:00 123
|
||||
-rw-rw-r--. 1 halcyon halcyon 15 Jan 25 14:00 123456
|
||||
[halcyon@192.168.199.158 ~]$ maybe
|
||||
-bash: maybe: command not found
|
||||
[halcyon@192.168.199.158 ~]$ zhunixingfu
|
||||
-bash: zhunixingfu: command not found
|
||||
[halcyon@192.168.199.158 ~]$
|
||||
Display all 948 possibilities? (y or n)
|
||||
[halcyon@192.168.199.158 ~]$ p[Kzhuni
|
||||
-bash: zhuni: command not found
|
||||
[halcyon@192.168.199.158 ~]$ jf
|
||||
-bash: jf: command not found
|
||||
[halcyon@192.168.199.158 ~]$ hahahahah
|
||||
-bash: hahahahah: command not found
|
||||
[halcyon@192.168.199.158 ~]$ maybe
|
||||
-bash: maybe: command not found
|
||||
[halcyon@192.168.199.158 ~]$
|
|
@ -1,110 +0,0 @@
|
|||
Last login: Tue Dec 30 22:03:42 2014 from 192.168.8.59
|
||||
PS1='[\u@192.168.8.63 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[halcyon@hadoop03 ~]$ PS1='[\u@192.168.8.63 \W]\$ '
|
||||
[halcyon@192.168.8.63 ~]$ clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.8.63 done. Enjoy it.[0m
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ cat /etc/fstab
|
||||
|
||||
#
|
||||
# /etc/fstab
|
||||
# Created by anaconda on Wed Nov 26 01:40:31 2014
|
||||
#
|
||||
# Accessible filesystems, by reference, are maintained under '/dev/disk'
|
||||
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
||||
#
|
||||
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
|
||||
UUID=9a5f99a4-0ae3-4c37-b4e4-150d4d8651a8 /boot ext4 defaults 1 2
|
||||
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
|
||||
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
|
||||
tmpfs /dev/shm tmpfs defaults 0 0
|
||||
devpts /dev/pts devpts gid=5,mode=620 0 0
|
||||
sysfs /sys sysfs defaults 0 0
|
||||
proc /proc proc defaults 0 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ tail -f /var/log/messages
|
||||
tail: cannot open `/var/log/messages' for reading: Permission denied
|
||||
[halcyon@192.168.8.63 ~]$ sud[K -
|
||||
Password:
|
||||
[root@hadoop03 ~]# ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4396510 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9329 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:334506919 (319.0 MiB) TX bytes:1887408 (1.7 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1294 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1294 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:69876 (68.2 KiB) TX bytes:69876 (68.2 KiB)
|
||||
|
||||
[root@hadoop03 ~]# tail -f /var/log/messages
|
||||
Jan 25 03:32:01 hadoop03 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="945" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
|
||||
^C
|
||||
[root@hadoop03 ~]# exit
|
||||
logout
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$
[K[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4399888 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9384 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:334782267 (319.2 MiB) TX bytes:1893490 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1294 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1294 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:69876 (68.2 KiB) TX bytes:69876 (68.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ maybe
|
||||
-bash: maybe: command not found
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ex[K[Kll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4419591 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9448 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:336219225 (320.6 MiB) TX bytes:1899369 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1300 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1300 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70200 (68.5 KiB) TX bytes:70200 (68.5 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$
|
|
@ -1,35 +0,0 @@
|
|||
Last login: Mon Jan 26 18:34:04 2015 from 192.168.8.59
|
||||
PS1='[\u@192.168.8.63 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[halcyon@hadoop03 ~]$ PS1='[\u@192.168.8.63 \W]\$ '
|
||||
[halcyon@192.168.8.63 ~]$ clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.8.63 done. Enjoy it.[0m
|
||||
[halcyon@192.168.8.63 ~]$ ls
|
||||
[halcyon@192.168.8.63 ~]$ python
|
||||
Python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
|
||||
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> exit()
|
||||
[halcyon@192.168.8.63 ~]$ ls
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4435390 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9526 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337415164 (321.7 MiB) TX bytes:1908969 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$
|
|
@ -1,191 +0,0 @@
|
|||
Last login: Mon Jan 26 23:36:06 2015 from 192.168.8.59
|
||||
PS1='[\u@192.168.8.63 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[halcyon@hadoop03 ~]$ PS1='[\u@192.168.8.63 \W]\$ '
|
||||
[halcyon@192.168.8.63 ~]$ clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.8.63 done. Enjoy it.[0m
|
||||
[halcyon@192.168.8.63 ~]$ ls
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4436319 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9571 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337484326 (321.8 MiB) TX bytes:1915263 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ heh[K[K[Kmaybe
|
||||
-bash: maybe: command not found
|
||||
[halcyon@192.168.8.63 ~]$ how
|
||||
-bash: how: command not found
|
||||
[halcyon@192.168.8.63 ~]$ huhu
|
||||
-bash: huhu: command not found
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4437537 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9615 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337578408 (321.9 MiB) TX bytes:1920203 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4437654 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9626 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337588208 (321.9 MiB) TX bytes:1921389 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4437694 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9641 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337591983 (321.9 MiB) TX bytes:1922967 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ vim /tmp/
|
||||
hadoop-root-datanode.pid wrapper.lock.httpstatus.root.20141125.130438.136186
|
||||
hadoop-root-tasktracker.pid wrapper.lock.httpstatus.root.20141125.131403.032406
|
||||
.ICE-unix/ wrapper.lock.httpstatus.root.20141125.131621.456149
|
||||
Jetty_0_0_0_0_50060_task____.2vcltf/ wrapper.lock.httpstatus.root.20141125.131847.452498
|
||||
Jetty_0_0_0_0_50075_datanode____hwtdwq/ wrapper.lock.httpstatus.root.20141126.025922.246937
|
||||
wrapper.lock.httpip.root.20141126.025845.557424 yum.log
|
||||
[halcyon@192.168.8.63 ~]$ vim /tmp/yum.log
|
||||
[?1h=[1;31r[m[m[0m[H[J[31;1H"/tmp/yum.log" [Permission Denied][2;1H[1m~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~
|
||||
~[0m[31;119H0,0-1[9CAll[1;1H[31;1H[K[31;1H:q
[?1l>[31;1H[K[31;1H[halcyon@192.168.8.63 ~]$ ls
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ p[Kcat /etc/fstab
|
||||
|
||||
#
|
||||
# /etc/fstab
|
||||
# Created by anaconda on Wed Nov 26 01:40:31 2014
|
||||
#
|
||||
# Accessible filesystems, by reference, are maintained under '/dev/disk'
|
||||
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
||||
#
|
||||
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
|
||||
UUID=9a5f99a4-0ae3-4c37-b4e4-150d4d8651a8 /boot ext4 defaults 1 2
|
||||
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
|
||||
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
|
||||
tmpfs /dev/shm tmpfs defaults 0 0
|
||||
devpts /dev/pts devpts gid=5,mode=620 0 0
|
||||
sysfs /sys sysfs defaults 0 0
|
||||
proc /proc proc defaults 0 0
|
||||
[halcyon@192.168.8.63 ~]$ ls
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4438782 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9702 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337675818 (322.0 MiB) TX bytes:1929961 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4438810 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:9714 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:337678202 (322.0 MiB) TX bytes:1931161 (1.8 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1304 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1304 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:70416 (68.7 KiB) TX bytes:70416 (68.7 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$
|
|
@ -1,13 +0,0 @@
|
|||
Last login: Mon Jan 26 23:43:44 2015 from 192.168.8.59
|
||||
PS1='[\u@192.168.8.63 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[halcyon@hadoop03 ~]$ PS1='[\u@192.168.8.63 \W]\$ '
|
||||
[halcyon@192.168.8.63 ~]$ clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.8.63 done. Enjoy it.[0m
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$
|
|
@ -1,158 +0,0 @@
|
|||
Last login: Wed Jan 28 22:40:12 2015 from 192.168.8.59
|
||||
PS1='[\u@192.168.8.63 \W]\$ '
|
||||
clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[halcyon@hadoop03 ~]$ PS1='[\u@192.168.8.63 \W]\$ '
|
||||
[halcyon@192.168.8.63 ~]$ clear;echo -e '\033[32mLogin 192.168.8.63 done. Enjoy it.\033[0m'
|
||||
[H[J[32mLogin 192.168.8.63 done. Enjoy it.[0m
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4942926 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:11998 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375187346 (357.8 MiB) TX bytes:2185924 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4942977 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12020 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375191826 (357.8 MiB) TX bytes:2188600 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4942990 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12027 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375192932 (357.8 MiB) TX bytes:2189322 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4942999 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12033 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375193748 (357.8 MiB) TX bytes:2189926 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4943007 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12039 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375194484 (357.8 MiB) TX bytes:2190498 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4943015 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12044 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375195234 (357.8 MiB) TX bytes:2190984 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78084 (76.2 KiB) TX bytes:78084 (76.2 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ifconfig
|
||||
eth1 Link encap:Ethernet HWaddr 00:0C:29:8E:55:19
|
||||
inet addr:192.168.8.63 Bcast:192.168.8.255 Mask:255.255.255.0
|
||||
inet6 addr: fe80::20c:29ff:fe8e:5519/64 Scope:Link
|
||||
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||
RX packets:4945950 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:12071 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:1000
|
||||
RX bytes:375405180 (358.0 MiB) TX bytes:2192946 (2.0 MiB)
|
||||
|
||||
lo Link encap:Local Loopback
|
||||
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||
inet6 addr: ::1/128 Scope:Host
|
||||
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||
RX packets:1448 errors:0 dropped:0 overruns:0 frame:0
|
||||
TX packets:1448 errors:0 dropped:0 overruns:0 carrier:0
|
||||
collisions:0 txqueuelen:0
|
||||
RX bytes:78192 (76.3 KiB) TX bytes:78192 (76.3 KiB)
|
||||
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ pwd
|
||||
/home/halcyon
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$ ll
|
||||
total 0
|
||||
[halcyon@192.168.8.63 ~]$
|
|
@ -1,202 +0,0 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% include 'nav_cat_bar.html' %}
|
||||
<style>
|
||||
.bootstrap-dialog-body {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
.bootstrap-dialog-message {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
.modal-content {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
.modal-dialog {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
width: 800px;
|
||||
}
|
||||
.modal-body {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
.modal-header {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="ibox float-e-margins">
|
||||
<div id="ibox-content" class="ibox-title">
|
||||
<h5> 用户日志详细信息列表 </h5>
|
||||
<div class="ibox-tools">
|
||||
<a class="collapse-link">
|
||||
<i class="fa fa-chevron-up"></i>
|
||||
</a>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-wrench"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-user">
|
||||
<li><a href="#">未启用 1</a>
|
||||
</li>
|
||||
<li><a href="#">未启用 2</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="close-link">
|
||||
<i class="fa fa-times"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ibox-content">
|
||||
<div class="panel blank-panel">
|
||||
<div class="panel-options">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a data-toggle="tab" href="#tab-1" class="text-center" onclick='log_fresh'><i class="fa fa-laptop"></i> 在线 </a></li>
|
||||
<li><a data-toggle="tab" href="#tab-2" class="text-center" onclick='log_fresh'><i class="fa fa-bar-chart-o"></i> 历史记录 </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="tab-content">
|
||||
<div id="tab-1" class="ibox float-e-margins tab-pane active">
|
||||
<table class="table table-striped table-bordered table-hover ">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center"> 用户名 </th>
|
||||
<th class="text-center"> 登录主机 </th>
|
||||
<th class="text-center"> 实时监控 </th>
|
||||
<th class="text-center"> 阻断 </th>
|
||||
<th class="text-center"> 登录时间 </th>
|
||||
<th class="text-center"> 结束时间 </th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for post in online %}
|
||||
<tr class="gradeX">
|
||||
<td id="username" class="text-center"> {{ post.user.name }} </td>
|
||||
<td id="ip" class="text-center"> {{ post.asset.ip }} </td>
|
||||
<td class="text-center"><a class="monitor" filename="{{ post.log_path }}"> 监控 </a></td>
|
||||
<td class="text-center"><input type="button" id="cut" class="btn btn-danger btn-xs" name="cut" value="阻断" onclick='cut("{{ post.pid }}")' /></td>
|
||||
<td class="text-center"> {{ post.start_time|date:"Y-m-d H:i:s" }} </td>
|
||||
<td class="text-center"> {{ post.end_time|date:"Y-m-d H:i:s" }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="tab-2" class="ibox float-e-margins tab-pane">
|
||||
<table class="table table-striped table-bordered table-hover ">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center"> 用户名 </th>
|
||||
<th class="text-center"> 登录主机 </th>
|
||||
<th class="text-center"> 命令统计 </th>
|
||||
<th class="text-center"> 登录时间 </th>
|
||||
<th class="text-center"> 结束时间 </th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for post in offline %}
|
||||
<tr class="gradeX">
|
||||
<td class="text-center"> {{ post.user.name }} </td>
|
||||
<td class="text-center"> {{ post.asset.ip }} </td>
|
||||
<td class="text-center"> <a href="/logHistory/?id={{ log.id }}" class="log_command">命令统计</a></td>
|
||||
<td class="text-center"> {{ post.start_time|date:"Y-m-d H:i:s"}} </td>
|
||||
<td class="text-center"> {{ post.end_time|date:"Y-m-d H:i:s" }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="http://{{ web_socket_host }}/socket.io/socket.io.js"></script>
|
||||
<script>
|
||||
$.fn.webSocket = function(opt){
|
||||
var st = {};
|
||||
st = $.extend(st,opt);
|
||||
var message = {};
|
||||
var $this = $(this);
|
||||
var genUid = function(){
|
||||
return new Date().getTime()+""+Math.floor(Math.random()*899+100);
|
||||
};
|
||||
var init = function(e){
|
||||
var socket = io.connect('ws://'+globalConfig.SOCKET_HOST);
|
||||
var node = $(e.target);
|
||||
message.id = genUid();
|
||||
message.filename = node.attr('filename');
|
||||
var username = $('#username')[0].innerText;
|
||||
var ip = $('#ip')[0].innerText;
|
||||
BootstrapDialog.show({message:function(){
|
||||
var escapeString = function (html){
|
||||
var elem = document.createElement('div')
|
||||
var txt = document.createTextNode(html)
|
||||
elem.appendChild(txt)
|
||||
return elem.innerHTML;
|
||||
}
|
||||
var tag = $('<div id="log" style="height: 500px;overflow: auto;background-color: rgba(0, 0, 0, 0);"></div>');
|
||||
//告诉服务器端有用户登录
|
||||
socket.emit('login', {userid:message.id, filename:message.filename});
|
||||
socket.on('message',function(obj){
|
||||
//去除log中的颜色控制字符
|
||||
var regx = /\x1B\[([0-9]{1,3}((;[0-9]{1,3})*)?)?[m|K]/g;
|
||||
// tag.append('<p>'+escapeString(obj.content.replace(regx,''))+'</p>');
|
||||
tag.append('<p>'+escapeString(obj.content)+'</p>');
|
||||
tag.animate({ scrollTop: tag[0].scrollHeight}, 1);
|
||||
});
|
||||
tag[0].style.color = "#00FF00";
|
||||
return tag[0];
|
||||
} ,
|
||||
title:'Jumpserver实时监控 '+' 登录用户名: '+'<span class="text-info">'+username+'</span>'+' 登录主机: '+'<span class="text-info">'+ip,
|
||||
onhide:function(){
|
||||
socket.emit('disconnect');
|
||||
}});
|
||||
}
|
||||
$this.on("click",function(e){
|
||||
init(e);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
$('.log_command').on('click',function(){
|
||||
var url = $(this).attr('href');
|
||||
$.ajax({url:url,success:function(data){
|
||||
BootstrapDialog.show({title:'命令统计',message:data});
|
||||
}});
|
||||
return false;
|
||||
})
|
||||
globalConfig = {
|
||||
SOCKET_HOST: "{{ web_socket_host }}"
|
||||
}
|
||||
$(".monitor").webSocket()
|
||||
|
||||
// function log_fresh(str){
|
||||
// $.ajax({
|
||||
// type: "GET",
|
||||
// url: "/jlog/log_list/",
|
||||
// data : $(".panel-body").serialize(),
|
||||
// success: function(data){
|
||||
// $("#tab-1").html(data);
|
||||
// }
|
||||
// });
|
||||
|
||||
function cut(num){
|
||||
var g_url = "/jlog/log_kill/"+num;
|
||||
console.log(g_url);
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: g_url,
|
||||
success: window.open("/jlog/","_self")
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
|
@ -1,110 +0,0 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% include 'nav_cat_bar.html' %}
|
||||
<style>
|
||||
.modal-dialog {
|
||||
width: 800px;
|
||||
}
|
||||
.modal-body {
|
||||
background-color: #000000;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="wrapper wrapper-content animated fadeInRight">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="panel-heading">
|
||||
<div class="panel-title m-b-md"><h4> 用户日志详细信息列表 </h4></div>
|
||||
<div class="panel-options">
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a data-toggle="tab" href="#tab-1"><i class="fa fa-laptop"></i> 在线 </a></li>
|
||||
<li class=""><a data-toggle="tab" href="#tab-2"><i class="fa fa-bar-chart-o"></i> 历史记录 </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="tab-content">
|
||||
<div id="tab-1" class="ibox float-e-margins tab-pane active">
|
||||
<div class="ibox-content">
|
||||
<table class="table table-striped table-bordered table-hover " id="editable" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center"> 用户名 </th>
|
||||
<th class="text-center"> 登录主机 </th>
|
||||
<th class="text-center"> 实时监控 </th>
|
||||
<th class="text-center"> 阻断 </th>
|
||||
<th class="text-center"> 登录时间 </th>
|
||||
<th class="text-center"> 结束时间 </th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for post in online %}
|
||||
<tr class="gradeX">
|
||||
<td class="text-center"> {{ post.user.name }} </td>
|
||||
<td class="text-center"> {{ post.asset.ip }} </td>
|
||||
<td class="text-center"><a class="monitor" href="{{ post.log_path }}" filename="{{ post.log_path }}" onclick="return false"> 监控 </a></td>
|
||||
<td class="text-center"><a href="/jlog/log_kill/{{ post.pid }}"> 阻断 </a></td>
|
||||
<td class="text-center"> {{ post.start_time|date:"Y-m-d H:i:s" }} </td>
|
||||
<td class="text-center"> {{ post.end_time|date:"Y-m-d H:i:s" }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tab-2" class="ibox float-e-margins tab-pane">
|
||||
<div class="ibox-content">
|
||||
<table class="table table-striped table-bordered table-hover " id="editable" >
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center"> 用户名 </th>
|
||||
<th class="text-center"> 登录主机 </th>
|
||||
<th class="text-center"> 命令统计 </th>
|
||||
<th class="text-center"> 登录时间 </th>
|
||||
<th class="text-center"> 结束时间 </th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for post in offline %}
|
||||
<tr class="gradeX">
|
||||
<td class="text-center"> {{ post.user.name }} </td>
|
||||
<td class="text-center"> {{ post.asset.ip }} </td>
|
||||
<td class="text-center"> 命令统计 </td>
|
||||
<td class="text-center"> {{ post.start_time|date:"Y-m-d H:i:s"}} </td>
|
||||
<td class="text-center"> {{ post.end_time|date:"Y-m-d H:i:s" }} </td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tab-2" class="tab-pane">
|
||||
<p>This is tab-2</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="http://{{ web_socket_host }}/socket.io/socket.io.js"></script>
|
||||
<script>
|
||||
$.fn.webSocket = function(opt){
|
||||
var url=$(this).attr("href");
|
||||
var st = {};
|
||||
st = $.extend(st,opt);
|
||||
var message = {};
|
||||
var $this = $(this);
|
||||
var ws = new WebSocket('ws://127.0.0.1:8888/tail' + "/?file_path=" + url);
|
||||
BootstrapDialog.show(function(ev){
|
||||
message: ev.data;
|
||||
});
|
||||
}
|
||||
|
||||
$(".monitor").webSocket()
|
||||
</script>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue