목록Linux (3)
구멍가게 IT 공부방
1. 방화벽 해제 systemctl stop firewalld 2. 리부팅시 방화벽 실행 하지 않게 하기 systemctl disable firewalld
cat /etc/redhat-release [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) cat /etc/*release* [root@localhost ~]# cat /etc/*release* CentOS Linux release 7.4.1708 (Core) Derived from Red Hat Enterprise Linux 7.4 (Source) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_N..
ps -e와 ps ax를 모든 프로세스를 보여준다는 의미에서 같다. ps -f와 ps u는 보여주는 필드를 정하는데 아래와 같은 소소한 차이가 있다. ps -ef 프로세스의 식별 정보를 더 잘 보여준다. * PPID : 부모 PID ps aux 프로세스의 상태 정보를 더 잘 보여준다. * %CPU : CPU 사용율 * %MEM : 메모리 사용율 * VSZ : 가상 메모리 크기 * RSS : 실제 메모리 크기 * STAT : 프로세스 상태 부모 프로세스와 자식 프로세스의 관계를 보려면 ps -ef가 프로세스 상태를 보는 용도로는 ps aux가 더 적당하다.