12-03-2012
Jim,
Thanks a lot for your quick response.
It's showing Total Physical Memory: 32768 MB , Total Configured Memory: 32768 MB, that means 32 GB.
Is my interpretation correct?
Thanks,
Venkat
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
Im currntly working on a digital unix machine and must know what is the amount of MB\GB instaled ( i do not have physical access to the machine).
can anyone help me here?
10x!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: dindan100
1 Replies
2. UNIX for Dummies Questions & Answers
Is it possible from the command line, or by looking at one of the log files to find out the amount of RAM installed on my SCO Unix 5.05 Server?
I also need to find out H/Disk size and Processor speed but I think i'll do a search of the forums for those ones.
Thanks
RamblasPro (2 Replies)
Discussion started by: RamblasPro
2 Replies
3. UNIX for Dummies Questions & Answers
Hello there,
I have a very basic question. It is so simple to find out all the information about system in windows environment. But I do not see any easy way to find it out in my Unix (Solaris 8) box.
All I want to find out how much RAM I have in my solaris 8 box.
Is there any command?
... (3 Replies)
Discussion started by: malikabid
3 Replies
4. Programming
Sir,
How can i get the RAM size .Is there is any predefined function ..Howsir???
Thanks In advance,
ArunKumar (6 Replies)
Discussion started by: arunkumar_mca
6 Replies
5. HP-UX
hi,
while i am working in hpux 11.23 using a telnet connection how do i check the RAM size and hard disk size? (4 Replies)
Discussion started by: sekar sundaram
4 Replies
6. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
7. Shell Programming and Scripting
Hi Friends,
i need a unix command to check the heap space availability on unix system as I am getting following error:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error occurred during initialization of VM
Could not reserve enough space for... (2 Replies)
Discussion started by: Anji
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
can anyone please help me, how to know RAM specification in unix? (4 Replies)
Discussion started by: palash2k
4 Replies
9. Red Hat
Can anyone let me know whether there is a command to know the RAM capacity in GB?
I have tried cat /proc/meminfo and free.But its not in GB. I need to use it in script.
Thanks and Regards (4 Replies)
Discussion started by: Rupaa
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
10 Replies
LEARN ABOUT REDHAT
sysinfo
SYSINFO(2) Linux Programmer's Manual SYSINFO(2)
NAME
sysinfo - returns information on overall system statistics
SYNOPSIS
#include <sys/sysinfo.h>
int sysinfo(struct sysinfo *info);
DESCRIPTION
Until Linux 2.3.16, sysinfo used to return information in the following structure:
struct sysinfo {
long uptime; /* Seconds since boot */
unsigned long loads[3]; /* 1, 5, and 15 minute load averages */
unsigned long totalram; /* Total usable main memory size */
unsigned long freeram; /* Available memory size */
unsigned long sharedram; /* Amount of shared memory */
unsigned long bufferram; /* Memory used by buffers */
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
char _f[22]; /* Pads structure to 64 bytes */
};
and the sizes were given in bytes. Since Linux 2.3.23 (i386), 2.3.48 (all architectures) the structure is
struct sysinfo {
long uptime; /* Seconds since boot */
unsigned long loads[3]; /* 1, 5, and 15 minute load averages */
unsigned long totalram; /* Total usable main memory size */
unsigned long freeram; /* Available memory size */
unsigned long sharedram; /* Amount of shared memory */
unsigned long bufferram; /* Memory used by buffers */
unsigned long totalswap; /* Total swap space size */
unsigned long freeswap; /* swap space still available */
unsigned short procs; /* Number of current processes */
unsigned long totalhigh; /* Total high memory size */
unsigned long freehigh; /* Available high memory size */
unsigned int mem_unit; /* Memory unit size in bytes */
char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding for libc5 */
};
and the sizes are given as multiples of mem_unit bytes.
sysinfo provides a simple way of getting overall system statistics. This is more portable than reading /dev/kmem. For an example of its
use, see intro(2).
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EFAULT pointer to struct sysinfo is invalid
CONFORMING TO
This function is Linux-specific, and should not be used in programs intended to be portable.
The Linux kernel has a sysinfo system call since 0.98.pl6. Linux libc contains a sysinfo() routine since 5.3.5, and glibc has one since
1.90.
SEE ALSO
proc(5)
Linux 2.0 1997-08-25 SYSINFO(2)