How to kill a program or process in OS X 어떻게 프로그램이나 OS X에서 프로세스를 죽이고

by Ross McKillop on June 4, 2007 로스 McKillop 2007년 6월 4일에 의해

맥

The following tutorial will show you how to kill programs/processes in OS X. 다음 튜토리얼 프로그램을 죽일 방법 / 프로세스를 OS X에 표시됩니다

Use the following information very carefully. 매우 조심스럽게 다음과 같은 정보를 사용합니다. Killing processes in OS X can cause system instability and full scale OS crashes. OS X에서 프로세스를 죽여도 시스템 불안정 및 풀 스케일 운영 체제에 충돌이 발생할 수있습니다. With that said, this tutorial will show you how to ‘quit’ a program or process when it’s not listed in the dock, “Force Quit” menu etc. 그렇게 말한다면,이 튜토리얼의 방법 '프로그램이나 프로세스가되면 도크에서 "강제 종료"메뉴에서 표시되지 않는 등 종료하는 방법을 보여줍니다

  1. Typically when you’re looking to force something to quit, it’s because the program or process is eating up a ton of CPU. 때문에 프로그램이나 프로세스가 CPU의 톤은를 먹는 게 일반적 그만둘 때 강제를 찾고, 그것. To identify the program/process, open an OS X terminal by going into your Applications -> Utilities and selecting Terminal . 프로그램을 식별하려면 / 공정, 귀하의 응용 프로그램으로 들어간다하여 OS X에서 터미널을 열고 -> 유틸리티터미널을 선택합니다. Once a terminal has opened, you can get a list of the running programs by entering the command top . 한 번 터미널을 개설하고있다, 당신은 가기 명령을 입력하여 실행중인 프로그램의 목록을 얻을 수있습니다.
  2. 한 OSX에서는 터미널에 가기 명령
    click to enlarge 클릭하시면 확대됩니다

  3. To quit the top program simply hit the q key on your keyboard. 가기 프로그램을 단순히 당신의 키보드에서 키를 누르면 q를 종료합니다. As seen above, the default “sorting” for the top command is by PID (Process ID). 위에서 본, 기본 ""가기 명령을 정렬하여 PID (프로세스 ID)에 의해있습니다. Since this doesn’t always help identify which program is hogging your CPU, run top with the following string: top -o cpu 이후이 항상 프로그램의 CPU, 다음 문자열과 함께 가기를 실행 : hogging 가기 - O를 CPU가있는가 식별하는 데 도움이되지 않습니다

    That will launch top and sort the processes by which ones are using the most CPU. 가기 시작되며 그런 것들은 대부분의 CPU를 사용중인 프로세스를 정렬합니다. In the example below you’ll see that top itself is actually using the most CPU. 아래 예제 코드에서는 그 자체가 실제로는 대부분의 CPU를 사용하는 가기가 나타납니다.

  4. 한 OSX 용 단말기 CPU에 의해 정렬에 가기 명령
    click to enlarge 클릭하시면 확대됩니다

  5. Again, hit the letter q to quit top . 다시 가기 그만두고 편지 q를 기록했다. If you’ve identified the program you want to end, make note of it’s PID . 만약 당신이 말하고자하는 프로그램을 만들어 그것의 PID를 메모를 발견했습니다. In the screenshot below I’m using MozyBackup as my example, and it has a PID of 1488 아래의 스크린샷에서 나는 내 MozyBackup 사례로 사용하고 있는데, 그리고 1488의 PID를하고있다
  6. 한 OSX 용 단말기 CPU에 의해 정렬에 가기 명령
    click to enlarge 클릭하시면 확대됩니다

  7. To quit MozyBackup, enter the command kill -9 1488 . MozyBackup, -9 1488 죽일 명령을 입력을 종료합니다. Broken down, that’s kill (the command to ‘kill’ a program) -9 (the “non-catchable, non-ignorable kill” - basically it means kill this program no matter what) and 1488 (the PID that you want killed). 깨진 내려, 그 '프로그램) -9 죽일 (명령을 죽인 ( "비 -, 이외의 어떻게 잡을 - ignorable 죽여"- 기본적으로이 프로그램에 상관없이 원하는 무엇을) 및 1488 (PID를 죽여도 사망).
  8. the OSX에서는 터미널에서 프로세스를 죽이고
    click to enlarge 클릭하시면 확대됩니다

  9. As you’ll see in the above screenshot, I was unable to kill the PID 1488. 위의 스크린샷으로 볼 수있을거야, 나는 1488 PID를 죽일 수없습니다. That’s because the program in question wasn’t owned (being run) by me - rather, it was being run by the root user. 때문에 문제의 프로그램은 ()에 의해 실행되는 날 - 소유하지 않고 있었는데, 이것은 루트 사용자로 실행되고있는 상황 이었어. To get around this, and use this command with care , enter sudo kill -9 1488 . , 주위에 신경이 좀하려면이 명령을 사용하여, sudo를 -9 1488 죽일를 입력하십시오. You’ll be asked for your password, and after entering it, the process 1488 will be killed. 귀하의 비밀 번호에 대한, 그리고 질문 오겠을 입력한 후, 1488 프로세스를 죽인 것입니다.
  10. 운영 체제에서 X 터미널 프로세스를 죽이고
    click to enlarge 클릭하시면 확대됩니다

  11. For detailed information on the top and kill programs, enter man top or man kill from the terminal to view the manual pages for each program. 가기에 대한 자세한 정보 및 죽일 프로그램, 남자는 상단이나 터미널에서 각 프로그램에 대한 매뉴얼 페이지를 볼 수 죽일 사람을 입력하십시오.
Related Posts: 관련 게시물 :
  • How to get detailed information on each running process in Windows Windows에서 어떻게 실행 프로세스에 대한 자세한 정보를 얻으려면 각
  • How to allow a program through the Windows Vista Firewall 어떻게 Windows Vista 방화벽을 통해 프로그램을 허용하도록
  • Did you know.. 당신은 아시나요 .. How to use your favorite email program with Gmail Gmail과 이메일 프로그램을 사용하는 방법을 즐겨찾는
  • How to keep any Windows program “always on top” 어떻게 "항상 위에는"모든 Windows 프로그램을 계속
  • How to automatically launch programs when OS X starts OS X를 시작하면 자동으로 프로그램을 시작하는 방법
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! 귀하의 이메일받은 편지로 매일 - 자유에 대한 간단한 도움말 튜토리얼이 하나처럼 들어가! Just enter your email address below: 바로 아래에 귀하의 이메일 주소를 입력 :

    You can always opt out of this email subscription at any time. 당신은 항상 언제든지이 이메일 구독의 선택을 취소할 수있습니다.

    { 1 trackback } (1 trackback를)

    Kill command on OS X at Rage on Omnipotent OS X에서 무소불위의에 대한 분노에서 명령을 죽여라
    10.17.07 at 5:17 am 10.17.07 일 오전 5:16

    { 0 comments… (0 코멘트 ... add one now 지금 하나 추가 } )

    Leave a Comment 코멘트를 남겨주세요

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 HTML 태그와 특성 : title="">은 <a href="" 사용할 수있습니다 <abbr title=""> <acronym title="">의 <b> <blockquote cite=""> <cite>의 <code> <del datetime="">의 <em>가 <i> <q cite=""> <strike>의 <strong>