要显示系统中已安装的内存量,请使用 prtconf 命令。
以下示例显示 prtconf 命令的样例输出。grep Memory 命令选择 prtconf 命令的输出,以便只显示内存信息。
$ prtconf | grep Memory Memory size: 128 Megabytes