ram size in sun solaris


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ram size in sun solaris
# 8  
Old 01-04-2007
Use sar -r. The output is in pages available:
[quote
-r Reports unused memory pages and disk blocks:

freemem average pages avail-
able to user
processes.
[/quote]

You can check the pagesize on your system using the pagesize command and multiply that with the freemem to get the number of bytes free.
# 9  
Old 01-04-2007
ram size in sun solaris

00:00:00 freemem freeswap
00:05:00 55231 3516920
00:10:00 55697 3523353
00:15:01 55820 3525048
00:20:00 55831 3516405
00:25:00 56004 3527199
00:30:00 56557 3536617
00:35:01 56658 3537858
00:40:00 56096 3519500
00:45:00 56544 3533461
00:50:00 57110 3538281
00:55:00 56966 3526247
01:00:00 57622 3543673
01:05:00 58208 3544007
01:10:01 58125 3541247
01:15:00 58566 3540626
01:20:00 58934 3553958
01:25:00 59873 3570670
01:30:01 60686 3584695
01:35:00 60732 3574105
01:40:00 61099 3586523
01:45:01 60866 3579143
01:50:00 60587 3564594
01:55:00 60976 3579511
02:00:00 60993 3578550
02:05:01 63150 3567562
02:10:00 62358 3540240
02:15:00 62561 3547554
02:20:00 62368 3541880
02:25:00 63065 3557576
02:30:01 63227 3559676
02:35:00 62705 3542004
02:40:00 58721 3471088
02:45:00 60885 3509944
02:50:00 60637 3505715
02:55:00 57674 3443795
03:00:01 62115 3532625
03:05:00 62327 3525089
03:10:00 62911 3541438

Average 59487 3540225

freemem command is not working in sun solaris

the above are the output from sar -r
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Command for finding RAM size in HP-UX

I am trying to find RAM size in my HP-UNIX server. what command I should use for this? I am using top command but not clear about below line from top o/p Memory: 1517080K (471284K) real, 1877692K (751256K) virtual, 8078944K free Page# 1/6 (3 Replies)
Discussion started by: venkatababu
3 Replies

2. Red Hat

RAM Size

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

3. UNIX for Dummies Questions & Answers

how to know RAM size

Hi can anyone please help me, how to know RAM specification in unix? (4 Replies)
Discussion started by: palash2k
4 Replies

4. HP-UX

RAM size

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

5. Programming

getting RAM size

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

6. UNIX for Dummies Questions & Answers

How to find RAM size in my Solaris 8

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

7. Solaris

SUN Solaris 9 - Is there a 2GB file size limit?

Hi I am using SUN/Solaris 9 and I was told that some unix versions have 2GB size limit. Does this applies to SUN/Solaris 9? Thanks. (2 Replies)
Discussion started by: GMMike
2 Replies

8. UNIX Benchmarks

Sun E250 / 512MB Ram

============================================================== BYTE UNIX Benchmarks (Version 3.11) System -- SunOS xxxxx 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-250 Start Benchmark Run: Sun Jan 11 19:47:12 EST 2004 1 interactive users. Dhrystone 2 without register variables ... (0 Replies)
Discussion started by: kduffin
0 Replies

9. UNIX for Dummies Questions & Answers

Size of Installed RAM ?

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

10. UNIX for Dummies Questions & Answers

RAM size in Digital unix

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
Login or Register to Ask a Question