Windows 相当于“nice" [英] Windows Equivalent of 'nice'

查看:52
本文介绍了Windows 相当于“nice"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Windows 等效的 Unix 命令,不错?

Is there a Windows equivalent of the Unix command, nice?

我正在寻找可以在命令行中使用的东西,而不是任务管理器中的设置优先级"菜单.

I'm specifically looking for something I can use at the command line, and not the "Set Priority" menu from the task manager.

我在 Google 上找到这个的尝试遭到了那些想不出更好形容词的人的阻挠.

My attempts at finding this on Google have been thwarted by those who can't come up with better adjectives.

推荐答案

如果您想在启动进程时设置优先级,您可以使用内置的 START 命令:

If you want to set priority when launching a process you could use the built-in START command:

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/WAIT] [/B] [command/program] [parameters]

使用低到低于正常的选项来设置启动的命令/程序的优先级.似乎是最直接的解决方案.没有下载或脚本编写.不过,其他解决方案可能适用于已经运行的 proc.

Use the low through belownormal options to set priority of the launched command/program. Seems like the most straightforward solution. No downloads or script writing. The other solutions probably work on already running procs though.

这篇关于Windows 相当于“nice"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆