简体   繁体   English

在emacs23状态栏中显示cpu加载

[英]show cpu load in emacs23 status bar

I used to have a setting in my .emacs file which enabled the cpu load in my emacs23 status bar. 我以前在.emacs文件中有一个设置,它在我的emacs23状态栏中启用了cpu加载。 But I don't seem to be able to find the command anymore. 但我似乎无法再找到命令了。 It used to be on the emacs.wiki but somehow I couldn't find it. 它曾经在emacs.wiki上,但不知怎的,我找不到它。 Any ideas? 有任何想法吗?

The system load is shown right beside the time in the status bar. 系统负载显示在状态栏中的时间旁边。 You can display the time when you set the variable display-time-mode to t . 您可以显示将变量display-time-modet display-time-mode

There are a few options you can set, especially Display Time Load Average Threshold (set to 0.1, so load isn't showing up when it is beyond 0.1). 您可以设置一些选项,尤其是Display Time Load Average Threshold (设置为0.1,因此当超过0.1时,负载不会显示)。 You can set these options very easily via Mx customize-group RET display-time RET 您可以通过Mx customize-group RET display-time RET轻松设置这些选项

There are also some packages for further customization. 还有一些包可以进一步定制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM