'Linux'에 해당되는 글 15건

  1. 2014.08.27 mpstat
  2. 2014.08.27 sysctl.conf
  3. 2014.08.26 OS 버전 확인
  4. 2014.08.26 db connection
  5. 2014.08.22 쉘 프로그래밍
2014. 8. 27. 18:30

1. chkconfig --list | grep filter

2. chkconfig --list

3. sysctl -l | more

4. who -r

'Linux' 카테고리의 다른 글

SCSI, RAID  (0) 2014.08.30
netstat  (0) 2014.08.29
sysctl.conf  (0) 2014.08.27
OS 버전 확인  (0) 2014.08.26
db connection  (0) 2014.08.26
Posted by 아도니우스
2014. 8. 27. 14:21

sysctl.conf 명령은 커널 변수의 값을 제어하여 시스템을 최적화 할 수 있는 명령

 

현재 커널의 매개변수값을 출력 : sysctl -a

 

sysctl 환경변수파일 (default : /etc/sysctl.conf)의 설정 상태 표시

'Linux' 카테고리의 다른 글

netstat  (0) 2014.08.29
mpstat  (0) 2014.08.27
OS 버전 확인  (0) 2014.08.26
db connection  (0) 2014.08.26
쉘 프로그래밍  (0) 2014.08.22
Posted by 아도니우스
2014. 8. 26. 14:07

1. OS 버전 확인 하기

   Redhat 계열 → cat /etc/redhat-release

   Debian 계열  → cat /etc/debian_version

   CentOS 계열 → cat /etc/*-release

 

※  참고사이트 : http://faq.hostway.co.kr

'Linux' 카테고리의 다른 글

netstat  (0) 2014.08.29
mpstat  (0) 2014.08.27
sysctl.conf  (0) 2014.08.27
db connection  (0) 2014.08.26
쉘 프로그래밍  (0) 2014.08.22
Posted by 아도니우스
2014. 8. 26. 08:13

 

'Linux' 카테고리의 다른 글

netstat  (0) 2014.08.29
mpstat  (0) 2014.08.27
sysctl.conf  (0) 2014.08.27
OS 버전 확인  (0) 2014.08.26
쉘 프로그래밍  (0) 2014.08.22
Posted by 아도니우스
2014. 8. 22. 14:15

 

 int1 -eq int2

int1이 int2와 같다면 True 리턴 

 

 int1 -ge int2

int1이 int2보다 크거나 같은면 True 리턴

 

 int1 -gt int2

int1이 int2보다 크면 True 리턴

 

 int1 -le int2

int1이 int2보다 작거나 같으면 True 리턴

 

 int1 -lt int2

int1이 int2보다 작으면 True 리턴

 

 int1 -ne int2

int1이 int2과 다르면 True 리턴

 

 

 -d filename

 filename이 디렉토리면 True 리턴

 

 -f filename

 filename이 파일이면 True 리턴

 

 -r filename

 filename이 프로세스에 의해 읽혀진다면 True 리턴

 

 -s filename

 filename이 길이가 0이 아니면 True 리턴

 

 -w filename

 filename이 프로세스에 의해 쓰여질 수 있다면 True 리턴

 

 -x filename

 filename이 수행 가능하다면 True 리턴

 

논리

If...then

if [ expression ]

then

commands

fi

반복(루프, loop)

for var1 in list

do

commands

done

------------------------------------------------------------------------

for a in 1 2 3 4 5 6

do

cd /app/domains/cuiSvr?$a/bin

./startNode.sh

sleep 5

done

함수

fname(){

commands

}

'Linux' 카테고리의 다른 글

netstat  (0) 2014.08.29
mpstat  (0) 2014.08.27
sysctl.conf  (0) 2014.08.27
OS 버전 확인  (0) 2014.08.26
db connection  (0) 2014.08.26
Posted by 아도니우스