Search code examples
solarisopensolarisopenindiana

analogue to /proc/cpuinfo and /proc/meminfo in OpenSolaris


I'm trying to figure out the way to see number of CPU cores available, its frequency, cpu flags etc. as well as RAM amount, i.e. what I can get in Linux via /proc/cpuinfo and /proc/meminfo.

Both OpenSolaris and OpenIndiana only maintain process IDs in /proc.


Solution

  • The methods in this document will be pretty close.

    CPU data can be found using psrinfo -v. Installed memory via prtconf | grep Memory.