曾经有一个程序冻结(program freeze)你拒绝关闭或消失吗?一个恼人的问题(annoying problem) 是当一个写得不好的应用程序崩溃并拒绝关闭时。或者您可能已经注意到您的计算机突然运行缓慢,但没有明确的指示说明原因?在这种情况下,您的系统上可能正在运行一个进程,该进程占用了所有CPU 时间(CPU time)或占用了大量内存。
那么,Windows 任务管理器(Windows Task Manager)可以帮助您在其中一些情况下确定原因并杀死问题应用程序(problem application)。首先(First),任务管理(task manger)器的目的 是提供计算机性能信息(computer performance information)以及有关当前运行的程序、进程和服务的详细信息。如果您连接到网络,它还提供监控网络流量的能力。(network traffic)
打开任务管理器
因此,让我们开始了解Windows 10中这个非常有用的工具。您可以通过以下几种方式访问任务管理器:(Task Manager)
1. 在按住每个键的同时按Ctrl + Shift + ESC就像(Just)你会做Ctrl + Alt + Delete一样,我认为大多数人现在已经这样做了。
2. 另一种方法是按上面提到的第二个组合键Ctrl + Alt + Delete,然后单击任务管理器(Task Manger) 链接。
3. 按Windows Key + X或右键单击开始按钮(Start button),您将获得电源菜单(power menu),其中包含指向任务管理器(task manager)的链接。
任务管理器概述
现在您应该在计算机屏幕(computer screen)上看到任务管理器对话框(Task Manager dialog)。默认情况下,在Windows 10中,您会看到精简版,它只会为您提供正在运行的应用程序列表。
要关闭无响应的程序,只需单击它并单击结束任务(End Task)按钮。由于大多数人实际上只会为此目的使用任务管理器,因此(task manager)微软(Microsoft)决定隐藏所有额外的细节,除非有人真的想看到它。
由于我们想查看的不仅仅是计算机上正在运行的应用程序,请单击更多详细信息(More details)。这将调出包含所有选项卡的任务管理器。(task manager)
流程、详细信息和服务选项卡
默认情况下,将显示“进程(Processes)”选项卡。进程列表分为三个主要类别:应用程序(Apps)、后台进程( Background processes)和Windows 进程( Windows processes)。应用程序(Apps)将为您提供 PC 上所有当前正在运行的程序的列表。这些是显示在您的任务栏或系统托盘(system tray)中的那些。
后台进程是系统上运行的所有Windows 应用商店应用(Windows Store apps)和第三方应用。您可能会看到这里的一些进程在系统托盘(system tray)中运行。其他大多数是后台进程,在您打开程序或计划任务运行之前,它们将处于空闲状态。
Windows进程部分包含(Windows)Windows 10正常运行所需的所有核心进程。它主要由许多服务主机(Service Host)(svchost.exe) 进程组成。我之前写过关于 svchost.exe 有时如何导致CPU 使用(CPU usage)率高的文章,但要解决这个问题,您必须知道哪个 Windows 服务在该特定 svchost.exe 进程中运行(which Windows service is running inside that particular svchost.exe process)。
您可以使用此选项卡获取系统上运行的每个进程的详细资源使用信息(resource usage info)。例如,如果一个进程占用了您的CPU的 95%,这是诊断慢速计算机的一种快速方法。或者,如果某个程序导致您的磁盘使用率(disk usage)达到 100%,您将能够在此处看到它。
Processes 选项卡也适用于重新启动 Explorer(restarting Explorer)。您所要做的就是右键单击Windows Explorer并选择Restart。在以前的Windows版本中,您必须终止进程,然后运行新的explorer.exe 任务(explorer.exe task),这很痛苦。
当您右键单击某个进程时,您将获得可以对该进程执行的操作列表。
您可以结束任务、创建转储文件(dump file)、转到详细信息、打开文件位置(file location)、在线搜索(search online)或查看属性。结束任务(End task)将继续并终止该进程。创建转储文件(Create dump file)仅供开发人员使用,您无需担心。转到详细信息(Go to details)将带您到详细信息(Details)选项卡,您可以在其中查看进程 ID。
在描述(Description)标题下,您将获得有关与该流程关联的公司或计划的更多信息。(company or program)另一个不错的选择是搜索在线( Search online)链接。如果您不确定某个进程的用途或来源,请单击在线搜索(Search online),它将执行对该EXE 文件(EXE file)的搜索以及说明。如果您想知道计算机上EXE 文件的位置,(EXE file)打开文件位置(Open file location)很有用。
最后,在“详细信息”选项卡(Details tab)上,如果您右键单击某个进程,您还会看到一个转到“服务”选项卡的选项。请注意,您可以在此处设置进程的优先级和亲和性(priority and set affinity)。除非您知道自己在做什么,否则您永远不应该真正更改任何流程的这些值。
如果该进程有与之关联的服务,它将带您进入“服务”(Services) 选项卡并突出显示(tab and highlight)该特定服务。但是,并非所有进程都有与之关联的服务。
您可以在此处右键单击以启动或停止服务,也可以从此处打开服务(Services)控制台。此屏幕将显示系统上的所有服务,并显示(system and show)哪些正在运行,哪些已停止。
希望(Hopefully)这能让您对Windows 10中的(Windows 10)任务管理器(Task Manager)及其用途有一个很好的了解。在第二部分(Part II)中,我们将讨论Performance 和 App History 选项卡(Performance and App History tabs)。享受!
Guide to Windows 10 Task Manager – Part I
Ever had a program freeze on you that refuses to close or disappear? Оne annoyіng problem is when a poorly written application crashes and refuses to be shut dоwn. Or maуbe you’ve noticed thаt your computer is suddenly running verу slow, but there’s no clear indication aѕ to why? In that case, yoυ might have a process running on your system that is hogging all of the CРU time or taking up loadѕ of memory.
Well, the Windows Task Manager can help you out in some of these situations to determine the cause and to kill the problem application. First off, the purpose of the task manger is to provide computer performance information along with details about currently running programs, processes and services. It also provides the ability to monitor your network traffic if you are connected to a network.
Opening Task Manager
So let’s get started with learning about this very useful tool in Windows 10. You can get to the Task Manager in a few ways:
1. Press Ctrl + Shift + ESC while holding each key down. Just like you would do Ctrl + Alt + Delete, which I think most people have done by now.
2. The other way is to press the second key combination mentioned above, Ctrl + Alt + Delete, and then clicking on the Task Manger link.
3. Press Windows Key + X or right-click on the Start button and you’ll get the power menu, which has a link to the task manager.
Task Manager Overiew
Now you should see the Task Manager dialog on your computer screen. By default, in Windows 10, you’ll see the slimmed down version, which just gives you a list of running applications.
To close a non-responsive program, simply click on it and click on End Task button. Since most people will really only use the task manager for this purpose, Microsoft decided to hide all of the extra details unless someone really wants to see it.
Since we want to see more than just the running apps on our computer, click on More details. This will bring up the task manager with all the tabs.
Processes, Details & Services Tabs
By default, the Processes tab will be shown. The list of processes is broken down into three main categories: Apps, Background processes and Windows processes. Apps will give you a list of all the currently running programs on your PC. These are the ones that show up on your taskbar or in the system tray.
Background processes are all Windows Store apps and third-party apps running on the system. Some of the processes here you might see running in the system tray. Most of the others are background processes that will sit idly until you open the program or when a scheduled task runs.
The Windows processes section consists of all the core processes that are needed for Windows 10 to run properly. It mostly consists of many Service Host (svchost.exe) processes. I’ve written previously about how svchost.exe can sometimes cause high CPU usage, but to solve the problem you have to know which Windows service is running inside that particular svchost.exe process.
You can use this tab to get detailed resource usage info for each process running on the system. It’s a quick way to diagnose a slow computer if one process is taking up 95% of your CPU, for example. Or if one program is causing your disk usage to up to 100%, you’ll be able to see it here.
The Processes tab is also good for restarting Explorer. All you have to do is right-click on Windows Explorer and choose Restart. In previous versions of Windows, you had to kill the process and then run a new explorer.exe task, which was a pain.
When you right-click on a process, you’ll get a list of actions you can perform on that process.
You can end the task, create a dump file, go to details, open the file location, search online or see the properties. End task will go ahead and kill the process. Create dump file is only used by developers and you’ll never need to worry about it. Go to details will take you to the Details tab, where you can see the process ID.
Under the Description heading, you’ll get more information about the company or program that is associated with that process. Another good option is the Search online link. If you’re not sure what a process does or where it came from, click Search online and it will perform a search for that EXE file along with the description. Open file location is useful if you want to know the location of the EXE file on your computer.
Finally, while on the Details tab, if you right-click on a process, you’ll also see an option to go to the services tab. Note that you can set the priority and set affinity for the process here. You should never really change these values for any process unless you know what you are doing.
If the process has a service associated with it, it will bring you to the Services tab and highlight that particular service. However, not all processes have a service associated with them.
Here you can right-click to start or stop a service and you can also open the Services console from here. This screen will show you all services on the system and show you which ones are running and which ones are stopped.
Hopefully, that gave you a good overview of the Task Manager in Windows 10 and what it can be used for. In Part II, we’ll talk about the Performance and App History tabs. Enjoy!