开发者

How do I work out how powerful a given machine is? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for开发者_如何学Go Stack Overflow.

Closed 11 years ago.

Improve this question

I'm confronted with a bewildering array of linux boxen.

How do I find out how many processors they have, how many cores, how much RAM they have, how fast their disks are, how heavily loaded they are by competing people etc, etc?


  1. If you want a static list, check for each characteristic with its own command and let your shell do the automation. That is, use /proc/cpuinfo for the CPU, /proc/meminfo for the memory, and /proc/loadavg for the computational load.
  2. If you want to identify bottlenecks, have a look at atop.


You can run the command sysinfo

This returns a few things including

  1. Number of Processes
  2. Memory Size

Full List here

There are also files such as /proc/cpuinfo, and /proc/meminfo that hold CPU and memory info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜