View CPU, RAM Number of Different Unix

zhaozj2021-02-16  50

Display the number of CPUs

HP-UNIX

ioscan -c processor | grep processor | wc -l

Solais

Psrinfo -v | grep "status of processor" | wc -l

linux

CAT / Proc / CPUInfo / Grep Processor | WC -L

AIX

Lsdev -c | grep -i processor | wc -l

Show memory quantity

Solaris

Prtconf | grep -i mem

AIX

root> LSDEV-C | GREP MEM

Memo Available 00-00 Memory

It can be seen that MEM0 is the memory device name on the AIX device, and now uses lsattr-ei to see the amount of memory on the server.

root> lsattr - Ei Memo

Linux

Free

HP-UNIX

Swapinfo -tm

Related Resources: Codingame-Code4Life: Codingame-Code4life Game Code - Source Code

转载请注明原文地址:https://www.9cbs.com/read-15479.html

New Post(0)