본문 바로가기

반응형

Server/UNIX

(6)
[UNIX] AIX 프로세스 확인 1. 메모리를 가장 많이 사용하는 10개의 프로세스 나열(%MEM) ps aux | head -1; ps aux | sort -m +3 | head   2. 프로세스 추적 (lsof 명령어) lsof -i TCP:[port] PID 값 확인 후 프로세스 추적 ps -ef | grep [PID 값]   3. AIX 사용중인 포트의 프로세스 확인 netstat -Aan | grep [port] | grep LIS rmsock [1열 프로세스 값] tcpcb ps -ef | grep [PID값]
[UNIX] AIX 디렉토리 압축하는 방법 AIX 디렉토리 압축하는 방법 - AIX 디렉토리 내 심볼릭링크 설정까지 압축하는 방법 $cd /test $tar cvf - ./ | (cd /test_new ; tar xvf -)
[UNIX] NAS 마운트 정보 확인 방법 NAS 마운트 정보 확인 방법 - 파일시스템 마운트 정보는 아래 명령어를 통해 확인 가능합니다. $ mount $ mount | grep nfs
[UNIX] AIX Core 확인 명령어 아래 3개 확인 명령어를 통해 AIX Core를 확인할 수 있다. $ lsdev -Cc processor $ topas $ lparstat -i Entitled Capacity :14.00 (이 숫자가 core수)
[UNIX] AIX OS 버전 확인 AIX는 oslevel 명령어를 이용하여 OS 버전 확인 $ oslevel -s [oslevel command] https://www.ibm.com/docs/nl/aix/7.2?topic=o-oslevel-command oslevel Command Purpose Reports the latest installed level (technology level, maintenance level and service pack) of the system. Syntax oslevel [ -l Level | -g Level | -q ] [-r | -s ] [-f] Description The oslevel command reports the technology level and service pack of th ww..
[UNIX] AIX CC 버전 확인 명령어 AIX CC 버전 확인 명령어 1. IBM CC # cc -qversion 2. GCC # gcc -v

반응형