How do I work out how powerful a given machine is? [closed]
Want to improve this question? Update the question so it's on-topic for开发者_如何学Go Stack Overflow.
Closed 11 years ago.
Improve this questionI'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?
- 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.
- If you want to identify bottlenecks, have a look at
atop
.
You can run the command sysinfo
This returns a few things including
- Number of Processes
- Memory Size
Full List here
There are also files such as /proc/cpuinfo
, and /proc/meminfo
that hold CPU and memory info.
精彩评论