IT/Unix

HP-UX tcpdump 사용법 (nettl)

By HKEBI | 2011. 3. 2. 18:01

hp-ux 에서는 tcpdump 가 nettl 이라는 command 로 제공 됩니다.. 간단하게 사용 할수 있는 방법 입니다. # cd /tmp # vi start nettl -tn pduin pduout -e ns_ls_ip -size 1024 -f /tmp/trace -tm 20000 - tn : trace on - size : Set the size in kilobytes (KB) of the trace buffer used to hold trace messages until they are written to the file. The default size for this buffer is 68 KB. Examples of LAN subsystems: ns_ls_driver ns_ls_loopba..

IT/Unix

HP-UX FIN_WAIT_2 제거 script

By HKEBI | 2011. 2. 7. 16:17

hp-ux 에서 FIN_WAIT_2 가 발생해 제거가 않될경우 제거해주는 script 입니다. #!/bin/ksh # Hewlett-Packard Corporation # This script is UNSUPPORTED. Use at own risk. # @(#)$Revision: 1.3 $ $Author: scotty $ $Date: 98/08/25 17:55:01 $ # # This script will query the system for any TCP connections that # are in the FIN_WAIT_1 state and forcibly disconnect them. It # uses netstat(1) to find the FIN_WAIT_1 connections and ca..