LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-15-2001, 04:36 AM   #1
jolly
Member
 
Registered: Mar 2001
Posts: 63

Rep: Reputation: 15
how to check processor, ram and hard disk?


I don't have to tell you that I am new to *nix.
I have three doubts in my mind reagarding configuration of server.
If someone don't have the physical access to the computer.
Is there any way or command in telnet through which we can check what is the processor speed and brand of the processor.
Like how can we find out between brand and CPU speed.
Celeron 800
Pentium 800
Amd 800
all the above processors are of 800Mhz?

How can we check if ram is working fine in server or not. And how can we increase the virtual memory?
How to find out if the HDD is SCSI or IDE?
 
Old 09-15-2001, 05:24 AM   #2
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
Answers to some of your questions

to check the proc speed and get info type "cat /proc/cpuinfo"

Most installations have a program called top which will allow you to monitor your memory usage. As well you can CAT another file from /proc out to the screen but its not near as helpfull as top because top updates the info.

To check if a hard drive is SCSI or IDE you can look in /etc/fstab and see what device it is if its /dev/hda1 or /dev/hdaX or /dev/hdbX then its IDE if you are seeing /dev/scdX then its SCSI. You can run hdparm on the devices and get even more info on the drives such as CHS and serial numbers and the like. Also to check HD size and usage you can use "df -h <drive name>"

Hope this helps....

Brett
 
Old 09-15-2001, 06:44 AM   #3
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
I got this

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 4492448 593124 3668924 14% /

For HDD.
Is it SCSI or IDE
 
Old 09-15-2001, 06:48 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,394

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
hda is IDE, as he said in his reply...

"To check if a hard drive is SCSI or IDE you can look in /etc/fstab and see what device it is if its /dev/hda1 or /dev/hdaX or /dev/hdbX then its IDE if you are seeing /dev/scdX then its SCSI."
 
Old 09-15-2001, 07:13 AM   #5
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
What is the processor speed here

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 852.629094
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 psn mmx osfxsr kni
bogomips : 691.40
 
Old 09-15-2001, 07:16 AM   #6
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Re: Answers to some of your questions

Quote:
Originally posted by bretthoward
to check the proc speed and get info type "cat /proc/cpuinfo"

Most installations have a program called top which will allow you to monitor your memory usage. As well you can CAT another file from /proc out to the screen but its not near as helpfull as top because top updates the info.

To check if a hard drive is SCSI or IDE you can look in /etc/fstab and see what device it is if its /dev/hda1 or /dev/hdaX or /dev/hdbX then its IDE if you are seeing /dev/scdX then its SCSI. You can run hdparm on the devices and get even more info on the drives such as CHS and serial numbers and the like. Also to check HD size and usage you can use "df -h <drive name>"

Hope this helps....

Brett
How to run hdparm like this
#hdparm

and how can I check the RAM and VIRTUAL MEMORY of the server.
 
0 members found this post helpful.
Old 09-15-2001, 08:46 PM   #7
bobthebat
Member
 
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82

Rep: Reputation: 15
That processor above would be a Pentium III, 800 mHz. For checking RAM and virtual memory (swap space) try this command:
free -h
Hope this helps.
 
Old 09-15-2001, 08:47 PM   #8
bobthebat
Member
 
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82

Rep: Reputation: 15
Sorry, that free command is this:
free -m
It prints out stats on memory in megabytes
 
Old 09-16-2001, 02:08 AM   #9
bobthebat
Member
 
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82

Rep: Reputation: 15
idiot am I. When I said 800 I meant 850.
 
Old 09-18-2001, 11:16 PM   #10
jolly
Member
 
Registered: Mar 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Get following results. But I have one question. How can we increase virtual memory to get max of the RAM

free -m
total used free shared buffers cached
Mem: 384 54 329 0 0 0
-/+ buffers/cache: 54 329
Swap: 0

----------------------------------------------------------------------------It

OK guys tell me is it PIII or CELERON

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 852.629094
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 3
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 psn mmx osfxsr kni
bogomips : 691.40
------------------------------------------------------
 
Old 02-10-2014, 10:48 AM   #11
ipphony
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
If you are just trying to get specs for the hardware you can use dmidecode command. I have used this several times to get linux server specs including memory bank info when there is a RAM failure, it saved me a lot of time. Just make sure you man the command so that you can identify which types you want information on.

From man dmidecode page:
"dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision."

Code:
dmidecode -t4
The -t is for the type and the types are listed in the man page and the 4 is for the CPU and the output will look like:
Quote:
# dmidecode 2.9
SMBIOS 2.6 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Xeon
Manufacturer: Intel
ID: E5 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 30, Stepping 5
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Xeon(R) CPU X3480 @ 3.07GHz
Voltage: Unknown
External Clock: 133 MHz
Max Speed: 3066 MHz
Current Speed: 3066 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 4
Core Enabled: 4
Thread Count: 8
Characteristics:
64-bit capable
Hopefully this will help...
 
Old 02-10-2014, 02:10 PM   #12
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,899

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by jolly View Post
Like how can we find out between brand and CPU speed.
Celeron 800
Pentium 800
Amd 800
all the above processors are of 800Mhz?
Well, it depends. Back in that era, when intel processors had that kind of number attached, it was, IIRC, always a clock speed. That doesn't apply to AMD, who went over to 'performance ratings', the definition of which was 'this is the clock speed of some particular Intel processor, which may or may not exist, which would give the same performance as this processor'. These ratings are often a little optimistic, particularly later in the period in which this applied.

This was when AMD processors of a particular clock speed tended to be that bit faster than Intel processors of the same clock speed; later, once the Intel Core 2 Duo range had become available, and AMD processors of a given clock rate tended to be rather slower than Intel processors of the same clock rate and core count, this tended to stop rather rapidly.

But this all irrelevant iof a utility actually tells you the clock speed (and you do realise, don't you, that 'clock speed' only has a slightly loose correlation with 'throughput' or 'speed as experienced by the user', don't you?) and that's what you've got.

Quote:
What is the processor speed here

model name : Pentium III (Coppermine)
cpu MHz : 852.629094
I'm sorry, but can you please explain to me what part of that wasn't obvious (provided that as speed, you mean clock speed; if not, explain further, please)?

Quote:
OK guys tell me is it PIII or CELERON

vendor_id : GenuineIntel
model name : Pentium III (Coppermine)
Go on, you guess! (Hint; do either Pentium III or Celeron get mentioned? Which is it?)

Quote:
And how can we increase the virtual memory?
Well, you'll need some disk space to use. Do you have that? Is there a partition that you can use as swap (without breaking anything)? If not, you have either make one, or use a swap file (which used to be clearly worse, but is alleged not to be noticeably worse, these days...are you using an even vaguely recent version of Linux {for which the use of a swap file might be good enough})?

In any case, look at the man page for the swapon command, but, before you do, is there any specific reason that you want to do this? That is, what evidence do you have that this is going to be a good thing to do, or even what even what evidence is there that the current situation is sub-optimal (as you clearly hadn't run 'free -m' before coming to this conclusion)?

And jumping on a step or two, you might want to read 'Linux ate my RAM', which might turn out to be relevant.

Do you see where you posted this data?
Code:
free -m
 total used free shared buffers cached
 Mem: 384 54 329 0 0 0
 -/+ buffers/cache: 54 329
 Swap: 0
When posting data like this, please always use the code tags; in this case, it hasn't helped much (although might have, if you had padded some of the data with spaces).

In any case, you can see that you are using 0 swap; in this case, the likelihood is that, if you add more, you'll just have more swap that you aren't using. If so, performance will not be improved noticeably (if that is the issue - if the issue is resiliency, that might be different, but, again you'll have to explain a bit more about the issue that you are seeing).
 
Old 02-10-2014, 02:14 PM   #13
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,983

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
wow you resurrected a 12.5 year old thread... is this a new record ?
 
Old 02-10-2014, 02:16 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,890

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
salasi, Do you realize this is ~12.5 year old thread...
 
Old 02-10-2014, 02:20 PM   #15
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,849

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
Quote:
Originally Posted by michaelk View Post
salasi, Do you realize this is ~12.5 year old thread...
Actually, it was ipphony who performed said miracle...
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
how to check processor configuration imezsons Linux - Hardware 1 12-28-2004 08:21 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
Processor and RAM command line question yxonks Solaris / OpenSolaris 7 11-13-2003 10:22 AM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration