LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2014, 11:07 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Rep: Reputation: 48
How to tell RAM and Processor in a RHEL server


What commands should I run to tell me how many processors and cores, as well as RAM, are in an existing server? We want to virtualize some servers but not sure how to tell what the current specs are from the command line.
 
Old 04-10-2014, 11:36 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
cat /proc/cpuinfo
cat /proc/meminfo
 
1 members found this post helpful.
Old 04-10-2014, 11:40 AM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Thanks Emerson. So looks like in cpuinfo it says number of processors and number of cores. Can I take those numbers for what they are worth, or do I then need to look up the processor model to see if they're hyperthreaded or anything like that?

then in meminfo I just want that first line of output MemTotal for physical RAM, right? There's a lot of numbers in there :-)
 
Old 04-10-2014, 11:47 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Yea, two cores with hyperthreading will show up as four. You can use free command to get simpler output on RAM.
 
1 members found this post helpful.
Old 04-10-2014, 11:50 AM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
oh ok, so really it's all in that output then, just have to be smart about reading it.

thanks for telling me about free too, that output is definitely simpler!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change processor and add RAM asipper Linux - Laptop and Netbook 24 11-22-2011 05:02 AM
How to verify effective RAM speed on running RHEL 5 Server..? pkhera_2001 Linux - Newbie 0 03-04-2009 02:14 AM
Processor/RAM speed an_sush Linux - Newbie 3 01-09-2009 11:57 AM
All RAM not being recognized on Linux RHEL after adding RAM manouche Linux - Enterprise 4 04-18-2008 10:31 AM
Processor and RAM command line question yxonks Solaris / OpenSolaris 7 11-13-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration