The following tutorial will show you how to kill programs/processes in OS X. O seguinte tutorial irá mostrar como matar programas / processos no OS X.
Use the following information very carefully. Utilize as seguintes informações com muito cuidado. Killing processes in OS X can cause system instability and full scale OS crashes. Matar processos no sistema OS X pode provocar instabilidade e escala completa OS falha. 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. Com isto dito, este tutorial irá mostrar como 'fechar' um programa ou processo, quando não está listado no banco dos réus, "Forçar Encerrar" no menu etc
- Typically when you’re looking to force something to quit, it’s because the program or process is eating up a ton of CPU. Normalmente quando você estiver procurando algo para forçar a sair, é porque o programa ou processo está comendo até uma tonelada de CPU. To identify the program/process, open an OS X terminal by going into your Applications -> Utilities and selecting Terminal . Para identificar o programa / processo, abra um terminal OS X por sua indo em Aplicativos -> Utilitários e selecione Terminal. Once a terminal has opened, you can get a list of the running programs by entering the command top . Assim que tiver um terminal aberto, você pode obter uma lista dos programas em execução, digitando o comando superior.
- To quit the top program simply hit the q key on your keyboard. Para fechar o início do programa q simplesmente bateu no teclado. As seen above, the default “sorting” for the top command is by PID (Process ID). Como se viu acima, o padrão "triagem" para o início comando é por PID (Process ID). Since this doesn’t always help identify which program is hogging your CPU, run top with the following string: top -o cpu Uma vez que este não semper ajudar a identificar qual o programa que está hogging seu CPU, corre topo com a seguinte seqüência: top-o cpu
That will launch top and sort the processes by which ones are using the most CPU. Que vai lançar início e ordenar os processos através dos quais os que estão utilizando as mais CPU. In the example below you’ll see that top itself is actually using the most CPU. No exemplo abaixo, você verá que o início propriamente dito é realmente utilizando os mais CPU.
- Again, hit the letter q to quit top . Mais uma vez, bateu a letra q para sair de cima. If you’ve identified the program you want to end, make note of it’s PID . Caso você tenha identificado o programa que pretende terminar, tome nota do que é PID. In the screenshot below I’m using MozyBackup as my example, and it has a PID of 1488 Na tela abaixo estou usando MozyBackup como exemplo o meu, e ele tem um PID de 1488
- To quit MozyBackup, enter the command kill -9 1488 . Para encerrar a MozyBackup, digite o comando kill -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). Discriminadas, que é matar (o comando para "matar" um programa) -9 (os "não-catchable, não Ignorar matar" - basicamente isso significa matar esse programa não importa o quê) e 1488 (o PID que você quer mortos).
- As you’ll see in the above screenshot, I was unable to kill the PID 1488. Como você vê na imagem acima, eu não era capaz de matar o PID 1488. That’s because the program in question wasn’t owned (being run) by me - rather, it was being run by the root user. Isso porque o programa em questão não era pública (a ser executado) por mim - sim, ele estava sendo executado pelo usuário root. To get around this, and use this command with care , enter sudo kill -9 1488 . Para resolver isso, e usar esse comando com cuidado, entra sudo kill -9 1488. You’ll be asked for your password, and after entering it, the process 1488 will be killed. Você será solicitado a sua senha, e depois de digitando ele, o processo de 1488 será morto.
- 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. Para informações mais detalhadas sobre os principais programas e matar, entra homem ou o homem matar início a partir do terminal para ver as páginas do manual para cada programa.

click to enlarge Clique na imagem para ampliar

click to enlarge Clique na imagem para ampliar

click to enlarge Clique na imagem para ampliar

click to enlarge Clique na imagem para ampliar

click to enlarge Clique na imagem para ampliar






















{ 1 trackback } (1) trackback
{ 1 comment… read it below or (1 comentário abaixo ou lê-lo ... add one adicionar um } )
Thank you so much I spent a LONG time trying to figure out why my macbook was running so slow and the fan was on full blast. Muito obrigada Passei muito tempo tentando descobrir por que o meu MacBook foi tão lento e correr o ventilador estava em plena explosão. I wish I had seen this site before i talked to that clueless tool on Apple’s tech support line Eu gostaria de ter visto esse site antes que eu falei com clueless ferramenta de suporte técnico da Apple linha
Leave a Comment Deixe um comentário