()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-09-05 17:17
linux
 ۾ :
ȸ : 18,607  


1 . Ȯ.


  - #more /etc/issue     ( cat /etc/issue)


  - #more /proc/version  (cat /proc/version)


 


2. ý ϵ Ȯ. ( /proc)


 


  - #more /proc/cpuinfo     ( cpu Ȯ )


  - #more /proc/meminfo    (memory Ȯ)


  - #more /proc/pci         (ϵ Ȯ)


 


3. ý α Ȯ.


 


  - #more /var/log/messages   (#tail -f /var/log/messages)


    ý α Ȯ


 


- #more /var/log/secure      (#tail -f /var/log/secure)


      Console α ( IP Ȯ )


 ) α


Sep  5 15:27:24 test sshd[24780]: Could not reverse map address 211.187.90.4.


Sep  5 15:27:24 test sshd[24780]: Accepted password for root from 211.187.90.4 port 1457 ssh2


 


  - #more /var/log/boot.log


    ý Ȱȭ Ȯ


 


  - #more dmesg


    ޽ ̽ Ȯ.


 


  - #lastlog


    /etc/passwd ϵ ֱ ̵ Ȯ


  - #last | more


    Ȯ


 


 


4.Ʈũ Ȯ


 


  - #ifconfig   ( ī Ȯ)


 


  - #netstat –an | more  ( #netstat –an | more LISTEN )


     ýۿ Ʈ Ȯ


 


  - #netstat –an | grep SYN_RECV


     SYN Flooding ݿ ɼ


 


- #mii-tool -v


     Ʈũ Ȯ


     [root@mapo log]# mii-tool -v


eth0: negotiated 100baseTx-FD, link ok  (ӵ)


  product info: vendor 00:08:18, model 22 rev 2


  basic mode:   autonegotiation enabled 


  basic status: autonegotiation complete, link ok  (Ʈũ ũ )


  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


  advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control


  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


eth1: no link


  product info: vendor 00:08:18, model 22 rev 2


  basic mode:   autonegotiation enabled


  basic status: no link


  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control


[root@mapo log]#


 


  - #tcpdump -i eth0 (eth1)


     Eth0 ó Ŷ Ȯ


 


- #tcpdump -i eth0 –c 22


     Eth0 ó Ư Ʈ (22) Ŷ Ȯ


 


- # ping ش   ( Ȯ)


 


5. ý Ȯ


 


  - #df -h


    Ƽ Ȯ


 


  Fdisk -l


    ũ Ƽ Ȯ


 


6. cpu , memory Ȯ


 


  #top


3:58pm  up 61 days, 19:03,  1 user,  load average: 0.00, 0.00, 0.00


          (uptime)           ()


131 processes: 130 sleeping, 1 running, 0 zombie, 0 stopped


 


CPU0 states:  0.0% user,  0.2% system,  0.0% nice, 99.3% idle


(cpu 0 )


CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle


(cpu 0 )


Mem:  2064692K av, 2052536K used,   12156K free,       0K shrd,   56816K buff


( ޸)


Swap: 2097112K av,    5564K used, 2091548K free                 1916536K cached


( swap ޸)      ()      ()


 


7. swap Ȯ


 


  #free


total       used       free     shared    buffers     cached


Mem:       2064692    2052368      12324          0      56844    1916536


-/+ buffers/cache:      78988    1985704


Swap:      2097112       5564    2091548


 


8. processes Ȯ


 


  #ps –ef | more


   ýۿ μ Ȯ.


9. hostname


 


# vi /etc/sysconfig/network


ϳ hostname


 


  #/etc/rc.d/init.d/network restart ( Ʈ )


 


10. network ip


 
 

Total 106
ȣ     ۾ ¥ ȸ
46 UDP flooding å
2006/12/19 6374
45 ý ý Ǵ ޽
2006/11/27 6150
44 ý ͸ II
2006/11/23 10233
43 ý ͸
2006/11/23 7556
42 ߰ unable to lock password file ϴ.
2006/11/23 4313
41
2006/11/23 7943
40 LAN ī尡
2006/11/23 4634
39 linux /proc
2006/10/31 7607
38 disk to disk ũ ( dump & restore )
2006/09/20 9688
37 linux
2006/09/05 18608
36 insmod modprobe []
2006/08/14 17963
35 [] ..⺻
2006/08/14 11395
34 Ʈ - route
2006/08/11 4080
33 kernel panic --- no init found
2006/08/04 7348
32 Red Hat Linux ϵ
2006/08/04 6101
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login