Таск менеджер для линукс

Аналог диспетчера задач в Linux

Программы имеют свойство зависать — никуда от этого не денешься, даже в Linux. Поэтому один из вопросов, через который обязательно проходит начинающий линуксоид: где в Linux диспетчер задач? Как завершить зависший процесс?

Используем консоль

Стоит сказать, что (как и в Windows, если Вы не знали) один из простейших способов завершить процесс в Linux — сделать это через консоль.

Для этого сначала придется узнать PID процесса, а затем выполнить специальную команду.

Для того, чтобы увидеть все процессы в системе введите:

Результат будет выглядеть так:

В выведенном списке процессов найдите нужный, видите его PID? Он идет вторым значением в каждой выведенной строке. Берем его, и выполняем вводим следующую команду:

Само собой, вместо букв PID надо ввести PID нужного процесса.

Вот, собственно, и все. Осталось добавить пару хитростей.

Если Вы заранее знаете, как называется процесс, можно воспользоваться командой:

ps axu | grep название-приложения

Например, если я захочу найти KTorrent (хотя он у меня ни разу не вис, просто под руку попался) я введу:

ps axu | grep ktorrent

Здесь у нас и представится возможность использовать вторую хитрость — как видите, у KTorrent несколько процессов, чтобы завершить их все, я использую команду killall:

Эта команда завершит их все.

В завершении разговора о консоли осталось только порекомендовать интересующимся почитать про различные сигналы завершения процесса и их использование.

Для любителей графического интерфейса

Графические решения для просмотра и завершения процессов в Linux, конечно же, тоже существуют. Их наличие или отсутствие по-умолчанию зависит от Вашего дистрибутива. Если в Вашем дистрибутиве используется среда KDE — нажмите ctrl+escape, чтобы вызвать здешний «диспетчер задач» KRunner. В моем Linux Mint 17.2 KDE выглядит он вот так:

В Linux Mint 17.2, использующем в качестве DE Cinnamon, ничего такого «сходу» не нашлось, однако, установив пакет mate-system-monitor я обрел желаемое.

sudo apt-get install mate-system-monitor

После установки программу можно найти в меню, а выглядит она вот так:

В Ubuntu 14.04 программа System Monitor оказалась сразу включена в дистрибутив, осталось только найти ее в меню.

Ну и наконец, если в Вашем дистрибутиве ничего такого не нашлось, а орудовать в консоли не хочется, можете установить Htop. Хотя работает программа в консоли, интерфейс все-таки вполне можно назвать если не графическим, то псевдо-графическим точно:

Установить в Ubuntu-подобных дистрибутивах можно командой:

Источник

Диспетчер задач в Ubuntu

Многих новых пользователей Linux, только-только перешедших с Windows, интересует, где же диспетчер задач в Ubuntu. Да и вообще, что делать, если какая-либо программа не отвечает. Но такая вот штука — нет в Ubuntu диспетчера задач, зато есть системный монитор и пара очень полезных консольных команд.

Да и сама система виснет очень редко, зависнуть может только окружение рабочего стола, да и то, если что-то намудрить с настройками. Подробнее о том, что делать в таких случаях, читайте в статье что делать если зависла Ubuntu, а пока поговорим про диспетчер задач.

Диспетчер задач Ubuntu

Чтобы запустить системный монитор, откройте главное меню системы и наберите в поиске monitor или монитор:

Здесь так же как и диспетчере задач вы можете просмотреть список запущенных процессов, завершать процессы, следить за использованием памяти, центрального процессора и файловых систем. Для этого у программы есть три вкладки:

Чтобы завершить программу кликните, по ней в списке правой кнопкой мыши и выберите:

Если программа после этого не завершилась, можете выбрать в том же меню пункт Убить. Подробнее об этом читайте в статье как убить процесс Linux.

Читайте также:  Утилиты для windows 10 описание

Но если зависло окружение рабочего стола то системный монитор уже не поможет, в этом случае можно воспользоваться всей мощностью терминала Linux. По умолчанию в системе открывается 7 независимых терминалов, в одном из которых запускается окружение рабочего стола. Обычно это седьмой терминал. Переключаться между ними можно с помощью сочетания клавиш Ctrl+ Alt + номер терминала, чтобы открыть первый терминал, нужно нажать Ctrl+Alt+1 и т д:

Здесь нужно авторизоваться, указав сначала логин, затем пароль. После авторизации можно делать всё что угодно, например, перезапустить графическое окружение командой:

sudo systemctl restart display-manager

Если вам нужен аналог диспетчера задач в терминале, можете воспользоваться утилитой htop. Для её установки выполните:

sudo apt install htop

Затем её можно запустить одноимённой командой:

Если вам нужно завершить конкретное приложение, его легче найти командой:

ps aux | grep имя_приложения

Затем завершить его командой:

sudo kill -TERM pid_приложения

Где pid_приложения — уникальный идентификатор приложения в системе, который вы узнали в предыдущей команде, во второй колонке:

На этом всё. Желаю вам, чтобы ваша система никогда не зависала.

Источник

7 More of the Best Free Linux Task Management Tools

Task management tools are a branch of computer software which enable users to create a list of tasks to be completed. This list is sometimes known as a to-do list or things-to-do. For the purposes of this article, the term ‘task manager’ should not be confused with monitoring software which provides information about programs and processes running on a computer.

The list of activities that may form a to-do list include chores, grocery lists, reminders for important events (such as purchasing wedding presents or birthday gifts), self management, software development, project / business management, and so on. Task managers help to organise your day, ensuring that you know in an instant what you need to do.

Our article entitled 6 of the Best Free Task Managers identified our personal picks in task management. Following feedback from our readership, we have identified additional tools which are definitely worth exploring. We have broadened the scope of this article to include software which employs the organisational method ‘Getting Things Done’. This method provides a framework for managing tasks, projects, objectives, and more.

To provide an insight into the quality of software that is available, we have compiled a list of 7 more of the finest Linux task management tools. We have included both graphical and command line based software. Hopefully, there will be something of interest here for anyone looking to collate, process, organise, and review information relating to tasks that need to be completed.

Now, let’s explore the 7 task management tools at hand. For each title we have compiled its own portal page, a full description with an in-depth analysis of its features, a screenshot, together with links to relevant resources and reviews.

Источник

Use Task Manager Equivalent in Linux

Last updated April 11, 2020 By Abhishek Prakash 9 Comments

These are some of the most frequently asked questions from Linux beginners: “Is there a task manager for Linux?” “How do you open the task manager on Linux?” “Where do I find the Ubuntu task manager?”

People who are coming from Windows know how useful the task manager is. You press Ctrl+Alt+Del to get to the task manager in Windows. This task manager shows you all the running processes and their memory consumption. You can choose to end a process from this task manager application.

When you’re just starting out with Linux, you may look for a task manager equivalent on Linux as well. An expert Linux user prefers the command-line way to find processes and memory consumption, etc., but you don’t have to go that way, at least not when you’re just starting out with Linux.

All the major Linux distributions have a task manager equivalent. Usually, it’s called System Monitor, but it actually depends on your Linux distribution and the desktop environment it uses.

Читайте также:  При обновление windows 10 не запускается компьютер

In this article, we’ll see how to find and use the task manager on Ubuntu and other Linux distributions that use GNOME as the desktop environment.

System Monitor: The Task Manager of Linux distributions

If you’re using the GNOME desktop, press the Super key (Windows key) and look for System Monitor. In other desktop environments, search for System Monitor in the menu.

This will start the GNOME System Monitor. It shows you all the running processes and their memory consumption.

You can select a process and click on End process to kill it. You can also select multiple entries here and kill the processes in one click.

You can also see some statistics about your system in the Resources tab, such as CPU consumption per core basis, memory usage, network usage, etc.

You can watch this video to see it in action:

There are more ways to manage tasks

That was the graphical way. If you want to go the command line way, just run the top command in terminal and you can see all the running processes and their memory consumption. You can easily kill processes in the Linux command line.

If you want a command-line based task manager on Linux, I recommend using htop. You can see running processes, memory usage, and more, and you can easily use hotkeys to end processes. And it looks good as well.

This is all you need to know about task manager equivalents on Linux. I hope you found this quick tutorial helpful. If you have questions or suggestions, feel free to comment.

Like what you read? Please share it with others.

Источник

6 best task managers for Linux

Whether you need a tool for killing an unresponsive app or for monitoring what’s going on in your system, you need a task manager app. This article focuses on the best free and open-source task manager available for Linux.

O ne of the essential tools in any Linux distribution is a Task Manager. It is a system monitor application that gives you a report of all programs running on your computer and the status of your RAM and CPU usage.

It also comes in handy when you need to kill/stop freezing processes or applications that are consuming too many system resources. With advanced task-manager tools, you can even change the scheduling priority.

There are many Linux task manager programs available in the market today. Furthermore, every Linux distribution comes with a preinstalled task manager program depending on the Desktop environment.

We have both CLI (Command Line) and GUI task-manager programs. With CLI, these programs run on the Linux terminal and give you a full report of all running applications. You can stop running programs by running a command like “kill 13356”, which means ; kill a process with id 13356 . For GUI task-managers, these programs provide the user with an interactive graphical user interface.

In this post, we will look at both CLI based task-managers and GUI based task-managers.

CLI-based Linux Task Managers

Most Linux users like command-line tools. Since you don’t need to load a GUI, these tools consume fewer system resources and load much faster. Also, if you are a server admin, you need to use a CLI based task manager.

1. Top

“top” is one of the most common task managers used by Linux users. Unlike other tools, the top task-manager comes preinstalled on all Linux distributions. You can launch it by just typing the word “top” on the terminal. It gives you a dynamic view of all the programs running on the computer with other parameters like; user running the process, process-id, CPU usage, memory(RAM) utilization, and more. You can kill running processes using the kill command and PID (process id); kill -p 13356 or kill -9 13356 if it’s a persistent process.
To navigate up and down the top window, use (alt + k) to scroll up and (alt + j) to scroll down. For beginners, type the command “man top,” and it will give you all details and guidelines to using top.

Читайте также:  Как форматировать флешку через консоль линукс

Top Task manager

2. Glances

“glances” is a cross-platform task manager written in python. It makes use of open architecture in that, and developers can add their custom plugins. Unlike most other system monitoring tools, glances make use of a client-server architecture, which enables remote monitoring of a system. It is achieved via an interactive web UI, terminal (command line), or through an API (XML-RPC and RESTful).
With glances, you can also view additional information like; upload and download internet speeds, Disk read and write details, and the mounted disks/drives.

glances Linux Task Manager

Glances use different colors to list the process running with “red,” indicating a process consuming much of the system resources.

3. Htop

“htop” is quite similar to Top only with several additional features. Unlike Top, Htop allows you to scroll both vertically and horizontally. You can, therefore, view all running processes together with their command-line parameters.
Htop also makes use of several Function keys displayed at the bottom, with each one performing different tasks. To start this system monitoring tool, type the command “htop” in the command-line. You can also add different parameters to this command.
E.g., htop -u –user=USERNAME, shows only the process under a particular user.

Other popular CLI task managers available are ps and, pstree.

htop Linux task manager

GUI-based Linux Task Managers

We have looked at some of CLI based task managers, now let’s put our focus on GUI based system monitor tools. These tools come with an interactive user interface that displays all activities taking place in the system.

1. Gnome System Monitor

This tool is one of the many software by GNOME family. It comes available with all Linux distributions that make use of the GNOME desktop. At the top of this application, there are three primary tabs, Processes, Resources, and File Systems. You can navigate around by clicking on any of these buttons.

GNOME gives system information like all running processes and their properties, CPU-Memory-Network and swap memory usage, mounted disks, and available space.

Gnome System Monitor

2. Mate System Monitor

Just like the GNOME system monitor, the Mate task manager is a default tool for any Linux distributions using the Mate desktop environment. It allows you to monitor and manage all running processes on your system. It also generates a general view on Memory usage, CPU utilization, and network usage.

With the Mate system monitor, you can identify processes and kill or stop them in case. You can also change process priority as you wish.

mate-system-monitor

3. KSysGuard

KSysGuard is the default system monitor tool for the KDE desktop environment. It supports both GUI and CLI user interaction.

With its advanced Client/Server architecture, KSysGuard can be used to monitor the system on a remote machine. KSysGuard is regarded as a powerful task manager since you can kill/stop any persistent/problematic process with ease.

ksysguard task manager

Conclusion

In this post, we looked at both CLI and GUI based task managers. For experienced Linux users and network/system administrators, you can use command-line based task-managers.

These tools have the advantage of not using much system resources, and some of the parameters used can be passed using scripts like bash or python. Otherwise, you can go for GUI-based task managers.

Источник

Оцените статью