在Linux上查看多核或mlti-cpu实用程序 [英] view multi-core or mlti-cpu utlization on linux

查看:189
本文介绍了在Linux上查看多核或mlti-cpu实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Linux上运行的程序,我需要确定它如何利用所有CPU/内核.是否有用于查看此信息的程序?

I have a program running on Linux and I need to determine how it is utilizing all the CPUs/cores. Is there any program for viewing this information?

推荐答案

在运行top命令时,除了按f键后,按j键还显示P列(进程使用的最后一个CPU).在顶部的1命令中,您应该查看一些多核职业信息:)

When runnging the top command, press f then j to display the P column (last CPU used by process), in addition to the 1 command in top, you should view some multi core occupation informations :)

这篇关于在Linux上查看多核或mlti-cpu实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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