Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • How to fix if Microsoft Store is not downloading apps? 11 ways to fix Windows 10
  • Yarışda kim qalacaq: Avropa Liqasının pley-off oyunları Dasinmaz emlak elanlari, ev elanlari, ev alqi satqisi, kiraye evler, torpaq, obyekt, bina, bina ev, mənzil, villa, kreditle satilan evler - 814
  • S2M Explains: What Is iTunes Match & How You Set It Up iTunes
  • How To Change Margins & Double Space In Google Docs How-To
  • 2022’s 7 Best Wearable Electronics Gadgets
  • Best ti-nspire calculator 2020

    Best ti-nspire calculator 2020. 1 - Texas Instruments TI-NSpire Math and Science Handheld Graphing Calculator Top Reviews

  • How To Link Instagram To Facebook & Why You Should Computer Tips
  • Add Shortcuts to the Right-Click Context Menu in Ubuntu Linux Tips

How To Quit Frozen Programs In Linux

Posted on October 7, 2020October 30, 2020 By bilal 1983 No Comments on How To Quit Frozen Programs In Linux

How To Quit Frozen Programs In Linux. Even on an operating system as reliable as Linux, sometimes there can be problems causing applications or programs to freeze.

There are several ways to kill or exit a frozen program in Linux. This article will explain how to do this.

How To Quit Frozen Programs In Linux

Use the kill command

Before you can use the kill command, your system must know the process identifier (PID) of the unresponsive program.

The PID is a number that automatically identifies each process when created on any Linux OS. The advantage of this method is that it works on all Linux systems.

Find process and PID

If you don’t know which process is blocked on Linux, two tools can help you find the process: top and ps.

Top is a command-line based system monitor. At the command prompt, enter the following:

– /

$ top

How To Quit Frozen Programs In Linux

The screenshot above shows a lot of information. For example, let’s say Chrome is a frozen program on your computer.

You can see that there are four instances of Chrome that work with the following PIDs:

  • 3827
  • 3919
  • 10764
  • 11679

To identify the specific instance of Chrome you want to kill, use ps command and grep to filter the output.

The command below will show you running processes related to Chrome:

ps aux | grep chrome

How To Quit Frozen Programs In Linux

Kill the process

Kill Operation

You now have two pieces of information you need to kill a hung process on Linux: its name and ID. Use the commands below:

  • kill – kill process by id
  • killall – kill process by name

There are other signals that you can send to both commands, depending on the desired results.

For example, if you want to kill an unresponsive process and then restart it, you will use the HUP (hang up) signal.

How To Quit Frozen Programs In Linux

Other kill signals include:

    • SIGSTOP to stop the process
    • SIGINT to interrupt the keyboard
    • SIGKILL to kill the signal

From the above ps command, we learned that the PIDs for Chrome instances are 3827, 3919, 10764, and 11679.

To send a kill signal, run the following commands to successfully kill all four instances of Chrome:

      • kill -9 3827
      • kill -9 3919
      • kill -9 10764
      • kill -9 11679

You can also use one command below using killall to send the same signal:

killall -9 chrome

Click the X

Nonresponsive programs and applications usually have disabled buttons or disabled options. Sometimes it is not even possible to move the application window around the screen.

The simplest solution is to click the X button in the upper corner. Depending on your OS, the button may be in the upper left or upper right corner.

After pressing X, you will see a dialog box with two options: “Wait” or “Force Quit”. To end the program, click “Force Quit”.

How To Quit Frozen Programs In Linux

Killed a Linux process on Linux using System Monitor

The default system monitor in Ubuntu is called Gnome. It gives an overview of all the processes running on Ubuntu Linux operating systems.

Users can perform a variety of tasks using a graphical user interface (GUI), including Stop, Continue, and Kill.

How To Quit Frozen Programs In Linux

If your system does not include the Gnome system monitoring application, install it by following these steps. This process works for all active versions of Ubuntu Linux as well as Linux Mint and Debian.

      • Use the keyboard shortcut CTRL + ALT + T in Terminal. Then use the command below to download and install the Gnome performance monitor.

sudo apt-get install gnome-system-monitor

      • Open system monitor with a command terminal with the following:

gnome-system-monitor

      • Or, using the GUI, go to Applications, type system monitor in the search box and click the icon to open it.
      • Open in System Monitor, look in the Processes column and find the program that is not responding or is blocked, select it and right-click it.

How To Quit Frozen Programs In Linux

You will see several options, including:

      • End Process to terminate the application when clearing temporary files.
      • Stop a process to pause the process so you can continue working on it later.
      • Kill Process is the most extreme option that will help you exit a frozen program if the attempt to terminate it does not work.

Use the xkill command

Xkill is a pre-installed Ubuntu kill utility that can be used to force kill a non-responding Linux process. It is a tool that comes pre-installed in Ubuntu.

You can also install it via Terminal on other distributions using the following command:

sudo apt install xorg-xkill

Then run it by typing xkill. Your mouse will turn into a skull or cross. Left-click a frozen program to close it.

Use pgrep and pkill

Some Linux systems offer shortcuts called pkill and pgrep to perform the same tasks as kill and ps described above.

Pgrep will show the process name and ID. For example, launching pgrep chrome to view the id of the running Chrome process. Then you can use this identifier with the kill command.

pkill 7012

Or you can skip this step and use the command below to kill all instances of Chrome:

pkill chrome

This solution works well if you only have one instance of the application running. However, if you have multiple windows of the same program open and only want to kill one, use XKill instead.

When a program freezes, rebooting the system is not always the most convenient option. This is especially true if you are working on several projects at the same time and have not saved your work.

Try one of the above options as an alternative to quickly and safely exit frozen or unresponsive programs on Linux.

-How To Quit Frozen Programs In Linux

Share this:

  • Facebook
  • X
Linux Tips

Post navigation

Previous Post: HDG Explains: What Is An API?
Next Post: 8 Safe Sites to Discover New Fonts for Windows 10

Related Posts

  • HDG Explains : What Is Sudo & Root On Linux? Linux Tips
  • Top 10 Best Linux Apps For Ubuntu Users Linux Tips
  • Configure Ubuntu to Not Dim or Turn Off An Inactive Display Linux Tips
  • Linux Live USB Creator Lets You Create Linux OS’ On The Fly Linux Tips
  • Display a List of Recently Installed Software Packages in Ubuntu Linux Tips
  • Add Shortcuts to the Right-Click Context Menu in Ubuntu Linux Tips

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • – 436
  • – 939
  • 1Win AZ Bonuslar, Mobil Tətbiq və Mərc Marketləri – 376
  • 1xbet Azerbaycan,1xbet az merc saytı, en yaxsi bukmeker 1xbet Azerbaycan merc oyunlari, 1xbet az, Azerbaycan merc saytlari – 280
  • 1xBet giriş, güzgü 1 xBet Azərbaycanda rəsmi sayt – 413
  • AI Tools & Guides
  • Amazon Web Services
  • Apple Watch
  • B1 Bet Aviator: Jogo de Cassino Online Tutorial Passo a Passo 202 – 14
  • Calculator
  • Computer Tips
  • Cool Websites
  • Dasinmaz emlak elanlari, ev elanlari, ev alqi satqisi, kiraye evler, torpaq, obyekt, bina, bina ev, mənzil, villa, kreditle satilan evler – 814
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorial
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress
  • бонусы до 250%, официальный сайт в Узбекистане – 69
  • Мостбет Уз Ставки на спорт и казино в букмекерской конторе Mostbet Uz – 527
  • ベラジョンカジノの出金方法一覧【2023年 最新】出金限度額・出金の流れ・出金手数料・出金条件 – 466
  • How to Convert a Screenshot to a Jpeg on a Mac
  • Angie Brand – Best OnlyFans Nudes!
  • How to Listen to YouTube with Screen OFF (Android & iOS)
  • Discover the thrill of a foot fetish hookup
  • (no title)
DMCA.com Protection Status

Recent Posts

  • How to Convert Video on Android with FFmpeg Using Termux
  • Now Upload Photos To Instagram From Computer Without any Software
  • Samsung email not showing images? Try These 3 Fixes Now
  • 5 ways to check an image for copyright
  • Instagram DMs not working: 8 ways to fix it

Recent Comments

  1. Instagram stories not working/loading? Try These 9 Fixes on Can’t update PS5 system software? Try These 10 Fixes
  2. How to Link to a Specific Part Of A Webpage & Share it on Best PDF to Word Converter Online (Free Without Email)
  3. See What’s Taking up Space on Your Hard Drive on 7 best 3D scanning apps for Android and iOS
  4. Make your Devices Read Out Text, With Text to Speech on 9 Best 10K Running Apps for 2023
  5. How to Find your Router’s IP Address on How to Fix Apple CarPlay Not Working? 7 Possible ways
  • How to View and Delete Reddit History Computer Tips
  • How to Block Certain Websites From Google Search Results Google Software/Tips
  • 12 Best Slack Alternatives for Team Communication Software Reviews
  • How to Schedule Downloads on Chrome Android How-To
  • How to Fix Your Disabled Account in the App Store and iTunes iPad
  • 10 Ubuntu Keyboard Shortcuts To Speed Up Your Workflow Linux Tips
  • How to request a refund for Xbox games and subscriptions Gaming
  • How to Fix Hulu Error Code RUNUNK13 Computer Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version