목록전체 글 (850)
변군이글루

아파치 모니터링 명령어 #아파치 메모리 사용량 $ ps -ylC httpd | awk '{x += $8;y += 1} END {print "Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}' Memory Usage (MB): 1618.67 Average Proccess Size (MB): 323.734 # 아파치 프로세스 개수 $ ps -ef | grep httpd | wc -l 6 #아파치 동시접속자 개수 $ netstat -an | egrep :80 | egrep ESTABLISHED | wc -l 7 #아파치 커넥션 개수 $ netstat -n | grep -F :80 | egrep '(ESTAB|SYN)'..

htop 설치 및 htop 명령어 실행 : Interactive process viewer htop 설치 $ yum install -y htop htop 명령어 실행 $ htop F1(F1 키 입력) F4 filtering F5 tree view F6 sort : P(CPU%) M(MEM%)

dstat 설치 및 dstat 명령어 실행 : Versatile resource statistics tool dstat 설치 $ yum install -y dstat dstat 명령어 실행 $ dstat $ dstat -tcdml $ dstat -tal --top-io --top-cpu --top-mem dstat --help $ dstat --help Usage: dstat [-afv] [options..] [delay [count]] Versatile tool for generating system resource statistics Dstat options: -c, --cpu enable cpu stats -C 0,3,total include cpu0, cpu3 and total -d, --disk..

ssacli(Smart Storage Administrator) 다운로드 URL Repository Listing https://downloads.linux.hpe.com/SDR/repo/mcp/centos HPE Software Delivery Repository downloads.linux.hpe.com Smart Storage Administrator (ssacli) 다운로드 Array Configuration Utility(acucli) 다운로드 ssacli 설치 $ cat /etc/redhat-release CentOS Linux release 8.2.2004 (Core) $ wget https://downloads.linux.hpe.com/SDR/repo/mcp/centos/8/x86_64/c..