prtdiag command for Solaris

When using a Solaris server, it’s always good to know about the command prtdiag. This command comes in handy when you’re unsure about what sort of hardware specifications come with the system.
Upon launching this, it will tell you the amount of slots there are for the CPUs, the type of CPUs, the type of memory, and the amount in each slot. This can give you an overview of how your system is set up and if there is a need to upgrade or if there are parts missing without having to open the case up.
Very useful when you think about it.