How do I kill processes in Ubuntu?

djangofan

How do I kill all processes running by my own non-root account?

I have some spinning smbd processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill those spinning processes. I don't have authority to restart services or reboot the machine.

ste_kwr

To kill all the processes that you have the permission to kill, simply run the command

kill -15 -1 or kill -9 -1 depending on the desired behavior (use man kill for details)

To kill a specific process, say, firefox, simply run

pkill firefox or killall firefox depending on the behavior you want: What's the difference between 'killall' and 'pkill'?

If you want to see what processes are running use the command

ps -ef

If you want to look up all processes by user bob, this might help

pgrep -l -u bob

or

ps -ef | grep bob

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How do I kill all processes except PID 1?

分類Dev

How do I kill a task / coroutine in Julia?

分類Dev

How do I stop all processes in a chroot?

分類Dev

How do I kill zombie/phantom scheduler jobs in laravel forge?

分類Dev

How do I kill the Windows 10 Upgrade window?

分類Dev

How to kill a process on a port on ubuntu

分類Dev

when parent process is killed by 'kill -9', how to terminate child processes

分類Dev

How to kill all processes owned by `user` on Centos 7?

分類Dev

Unable to kill processes running concurrently

分類Dev

How do I install ubuntu from windows?

分類Dev

How do I sync contacts on Ubuntu Touch?

分類Dev

How do I install pybonjour on Ubuntu 14.04

分類Dev

How do I register as a Ubuntu developer?

分類Dev

How do I get to the shell on ubuntu tablet?

分類Dev

How do I block all other processes on a Linux machine for XXX milliseconds?

分類Dev

How can I see what processes are running?

分類Dev

How do I remove KDE from Ubuntu if I decide not to stick with it?

分類Dev

Why do I see multiple processes with the same name

分類Dev

How Do I remove minimize, maximize, and close buttons in Ubuntu 18.04?

分類Dev

How do I install libwebkitgtk-1.0-0 on Ubuntu 19.04

分類Dev

How do i configure samba on my Ubuntu Server 14.04

分類Dev

How do I install qps from repositories on ubuntu 13?

分類Dev

How do I setup another monitor with Ubuntu VM (virtualbox)?

分類Dev

How do I install QEMU 3.0 on Ubuntu 18.04?

分類Dev

How do I re-bind a key in ubuntu?

分類Dev

How do I pre-install Ubuntu for someone (OEM install)?

分類Dev

How do I add a network printer in Ubuntu 12.04?

分類Dev

How do I install the Tor Browser Bundle in Ubuntu?

分類Dev

How do I remotely access my ubuntu virtual machine?

Related 関連記事

  1. 1

    How do I kill all processes except PID 1?

  2. 2

    How do I kill a task / coroutine in Julia?

  3. 3

    How do I stop all processes in a chroot?

  4. 4

    How do I kill zombie/phantom scheduler jobs in laravel forge?

  5. 5

    How do I kill the Windows 10 Upgrade window?

  6. 6

    How to kill a process on a port on ubuntu

  7. 7

    when parent process is killed by 'kill -9', how to terminate child processes

  8. 8

    How to kill all processes owned by `user` on Centos 7?

  9. 9

    Unable to kill processes running concurrently

  10. 10

    How do I install ubuntu from windows?

  11. 11

    How do I sync contacts on Ubuntu Touch?

  12. 12

    How do I install pybonjour on Ubuntu 14.04

  13. 13

    How do I register as a Ubuntu developer?

  14. 14

    How do I get to the shell on ubuntu tablet?

  15. 15

    How do I block all other processes on a Linux machine for XXX milliseconds?

  16. 16

    How can I see what processes are running?

  17. 17

    How do I remove KDE from Ubuntu if I decide not to stick with it?

  18. 18

    Why do I see multiple processes with the same name

  19. 19

    How Do I remove minimize, maximize, and close buttons in Ubuntu 18.04?

  20. 20

    How do I install libwebkitgtk-1.0-0 on Ubuntu 19.04

  21. 21

    How do i configure samba on my Ubuntu Server 14.04

  22. 22

    How do I install qps from repositories on ubuntu 13?

  23. 23

    How do I setup another monitor with Ubuntu VM (virtualbox)?

  24. 24

    How do I install QEMU 3.0 on Ubuntu 18.04?

  25. 25

    How do I re-bind a key in ubuntu?

  26. 26

    How do I pre-install Ubuntu for someone (OEM install)?

  27. 27

    How do I add a network printer in Ubuntu 12.04?

  28. 28

    How do I install the Tor Browser Bundle in Ubuntu?

  29. 29

    How do I remotely access my ubuntu virtual machine?

ホットタグ

アーカイブ