If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > memory on Unix box

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-03, 11:16
ramshree ramshree is offline
Registered User
 
Join Date: Nov 2002
Posts: 90
memory on Unix box

Hi,

I have a simple question , how to find out total memory on a unix machine.

pl reply.

Thanks,
Ram
Reply With Quote
  #2 (permalink)  
Old 12-30-03, 11:57
fla5do fla5do is offline
Registered User
 
Join Date: Oct 2003
Location: Germany
Posts: 138
in my SCO Open Server I can see it in the Bootfile /usr/adm/message as
following:
mem: total = 65140k, kernel = 11384k, user = 53756k

With the command sar 1 10 I can see the performance of the machine.
It test for 10 times in distance from 1 second the power of CPU-Working . Like this :
17:57:34 %usr %sys %wio %idle (-u)
17:57:35 0 0 0 100
17:57:36 0 0 2 98
__________________
Greetings from germany
Peter F.
Reply With Quote
  #3 (permalink)  
Old 01-06-04, 09:50
astralvoid astralvoid is offline
Registered User
 
Join Date: Feb 2003
Posts: 4
Re: memory on Unix box

Quote:
Originally posted by ramshree
Hi,

I have a simple question , how to find out total memory on a unix machine.

pl reply.

Thanks,
Ram
PLease specify your flavor of UNIX.

on AIX: lsattr -El sys0|grep realmem
Reply With Quote
  #4 (permalink)  
Old 01-06-04, 11:10
sundialsvcs sundialsvcs is offline
Registered User
 
Join Date: Oct 2003
Posts: 706
Re: memory on Unix box

Quote:
Originally posted by ramshree
I have a simple question , how to find out total memory on a unix machine.
Commands like "top" may tell you. On a Linux system, "cat /proc/meminfo" is one way.

But remember to articulate your question carefully: do you mean real-memory or virtual? Is there a particular motivation for your question and will simply "knowing how many SIMMs are installed" tell you that?
__________________
ChimneySweep(R): fast, automatic
table repair at a click of the
mouse! http://www.sundialservices.com
Reply With Quote
  #5 (permalink)  
Old 01-15-04, 08:43
marc0 marc0 is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
Re: memory on Unix box

Hi,

you can use the command "prtconf", on the begening of the output you have the memory installed.

Regards to all.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On