0
0
Total number of cores Linux:
$ lscpu | grep -E ‘^Thread|^Core|^Socket|^CPU(‘
CPU(s): 4
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Total number of cores Solaris:
~$ kstat cpu_info|grep core_id|sort -u|wc -l|awk ‘{print “Total cores=”$1}’
Total cores=2
Memory(RAM) Information Linux:
$ cat /proc/meminfo | grep MemTotal |awk ‘{print “Memory Of the Server=”$2/1024/1024 ” gb”}’
Memory Of the Server=62.669 gb
Memory(RAM) Information Solaris:
$ prtdiag -v | grep Memory |awk ‘{print “Memory Of the Server=”$3/1024 “gb”}’
Memory Of the Server=32gb
$ prtconf | grep Memory |awk ‘{print “Memory Of the Server=”$3/1024 “gb”}’
Memory Of the Server=32gb
Average Rating