1. 일반 프로세스

 

안녕하세요, 이번 강좌에서는 리눅스에서 프로세스를 종료하는 방법을 알아보겠습니다.

 

일반적으로 프로세스를 종료할 때는 kill 명령을 이용하는데 아래와 같은 형식으로 사용합니다. PID는 프로세스 고유 ID(숫자)를 말합니다.

 

 

[root@localhost ~]# kill PID

 


 

그런데, PID를 알아내려면 어떻게 해야 할까요? 가장 쉬운 방법은 프로세스 리스트에서 해당 프로세스의 PID를 확인하는 것입니다.

프로세스 리스트를 보려면 ps 명령을 이용하고 리스트가 너무 기니 grep 명령을 이용하여 필요한 라인을 찾습니다.

 

 

[root@localhost ~]# ps -A |grep processname

 

 

그러면 왼쪽에서 PID를 확인할 수 있습니다.

 

 

2. 데몬

 

데몬의 경우를 나눈 이유는 스레드가 여러개여서 그런데, 위 명령대로 확인해 보면 많으면 10개까지 프로세스가 떠있는 경우가 있습니다.

그래서 이런 경우는 일일이 종료할 필요가 없는데, 데몬을 종료하는 방법은 3가지가 있습니다.

 

먼저, 가장 일반적이고 정상적인 방법입니다.

 

 

[root@localhost ~]# service daemonname stop

 

 

강제로 종료하려면 killall 명령을 이용하면 됩니다.

 

 

[root@localhost ~]# killall daemonname

 

 


 

또, 마지막으로 모든 데몬이 지원하는 건 아니지만,

 

 

[root@localhost ~]# cat /var/run/daemonname.pid

[root@localhost ~]# kill PID

 

를 입력하시면 됩니다.

/var/run 디렉토리에는 실행중인 메인 데몬의 PID가 있습니다. 그래서 첫번째 줄을 실행하면 메인 PID가 나옵니다.


출처 : http://kjvvv.kr/14174

리눅스에서 프로세스 종료하기 - 리눅스 포럼
1. 일반 프로세스 안녕하세요, 이번 강좌에서는 리눅스에서 프로세스를 종료하는 방법을 알아보겠습니다. 일반적으로 프로세스를 종료할 때...
kjvvv.kr
본문으로 이동
 


'Linux' 카테고리의 다른 글

리눅스 CPU (32bit,64bit 확인 법)  (0) 2015.06.16
linux iptables 적용방법  (0) 2015.06.16
linux iptables start, stop  (0) 2015.06.14
리눅스 CPU (32bit,64bit 확인 법)  (0) 2015.06.14
CentOS 6.4 Minimal 설치  (0) 2014.03.11

handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure 

    <h3 style="border: none; font-style: inherit; font-family: 'Segoe UI Semibold', 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; margin: 0px; outline: 0px; padding: 0px; clear: both; color: rgb(58, 62, 67); font-size: 1em; list-style-type: none;">Question</h3>
  • Hi,

     

    I am continuously getting this alert in our database.

    SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure

     

    At the back end all the jobs and processes are running fine. Can anyone suggest me the steps to troubleshoot this problem?

    Thanks,

     

    Preetha

    Wednesday, September 18, 2013 8:30 AM
    0 Points




All replies

 

 

출처 : http://social.msdn.microsoft.com/Forums/en-US/2038b6b5-38dc-4c5f-ba49-14866fc1272e/sspi-handshake-failed-with-error-code-0x8009030c-state-14-while-establishing-a-connection-with?forum=sqlsecurity

 


'DataBase' 카테고리의 다른 글

DB 생성 쿼리문  (0) 2015.09.17
MySQL 기본 명령어 정리  (0) 2015.09.17
MSSQL 대,소문자 변환 치트키  (0) 2015.09.17
MySQL 캐릭터셋 utf8 설정  (0) 2015.09.17
erwin 평가판  (0) 2014.03.11

+ Recent posts