HI NG,
I need to find out how nuch RAM is still available on the system. Is
there a command that gives me ONLY the availably RAM (not including
swap-space!) ?
TIA,
Henning
|
|
0
|
|
|
|
Reply
|
kielhd (28)
|
5/28/2010 7:18:45 AM |
|
On 05/28/10 07:18 PM, kielhd wrote:
> HI NG,
>
> I need to find out how nuch RAM is still available on the system. Is
> there a command that gives me ONLY the availably RAM (not including
> swap-space!) ?
How do you define "available RAM"?
--
Ian Collins
|
|
0
|
|
|
|
Reply
|
Ian
|
5/28/2010 7:47:03 AM
|
|
On 28.05.2010 09:18, kielhd wrote:
> HI NG,
>
> I need to find out how nuch RAM is still available on the system. Is
> there a command that gives me ONLY the availably RAM (not including
> swap-space!) ?
>
> TIA,
> Henning
- prtconf display the physically installed memory
- vmstat display the amount of available virtual memory
- sysstat [1] displays both available physical memory and available swap
HTH,
Thomas
[1]: www.maier-komor.de/sysstat.html
|
|
0
|
|
|
|
Reply
|
Thomas
|
5/28/2010 8:06:55 AM
|
|
Ian Collins wrote:
> On 05/28/10 07:18 PM, kielhd wrote:
> > HI NG,
> >
> > I need to find out how nuch RAM is still available on the system. Is
> > there a command that gives me ONLY the availably RAM (not including
> > swap-space!) ?
>
> How do you define "available RAM"?
In case that's free physical RAM not in use by the OS and applications
(I'm inferring this from the phrase "still available"), then there's a
script which can give that information.
http://www.brendangregg.com/K9Toolkit/sysperfstat
--
.-. .-. Yes, I am an agent of Satan, but my duties are largely
(_ \ / _) ceremonial.
|
| dave@fly.srk.fer.hr
|
|
0
|
|
|
|
Reply
|
Drazen
|
5/28/2010 8:23:27 AM
|
|
> - prtconf display the physically installed memory
Thank you for your answer, but I am actually looking for RAM, that is
available for processing, not for the installed RAM.
sysstat [1] is not available on the system, unfortunately.
Is there another way to get this information?
TIA,
Henning
|
|
0
|
|
|
|
Reply
|
kielhd
|
5/28/2010 8:26:45 AM
|
|
On 28.05.2010 10:26, kielhd wrote:
>
>> - prtconf display the physically installed memory
>
> Thank you for your answer, but I am actually looking for RAM, that is
> available for processing, not for the installed RAM.
> sysstat [1] is not available on the system, unfortunately.
>
> Is there another way to get this information?
>
> TIA,
> Henning
then this would be option 3:
sysstat [1] displays both available physical memory and available swap.
Get it there: www.maier-komor.de/sysstat.html
or on opencsw.org
- Thomas
|
|
0
|
|
|
|
Reply
|
Thomas
|
5/28/2010 9:45:07 AM
|
|
On 28 Mai, 09:18, kielhd <kie...@freenet.de> wrote:
> HI NG,
>
> I need to find out how nuch RAM is still available on the system. Is
> there a command that gives me ONLY the availably RAM (not including
> swap-space!) ?
>
> TIA,
> Henning
Hi Henning,
the command
echo "::memstat" | mdb -k
gives some information how the physical memory
is used. Unfortunately this command is very slow
and only usable as user root.
BR
--
Roland
|
|
0
|
|
|
|
Reply
|
Roland
|
5/28/2010 9:56:51 AM
|
|
Ian Collins wrote:
> On 05/28/10 07:18 PM, kielhd wrote:
>> HI NG,
>>
>> I need to find out how nuch RAM is still available on the system. Is
>> there a command that gives me ONLY the availably RAM (not including
>> swap-space!) ?
>
> How do you define "available RAM"?
>
Lacking any further info I'd have to assume he's asking how much RAM is
installed.
The OP might find this to be of some interest:
http://catb.org/~esr/faqs/smart-questions.html
A well posed question is more likely to get a useful answer than one to
which no thought has been given.
|
|
0
|
|
|
|
Reply
|
Richard
|
5/28/2010 12:19:17 PM
|
|
Hi,
kielhd wrote:
>> - prtconf display the physically installed memory
>
> Thank you for your answer, but I am actually looking for RAM, that is
> available for processing, not for the installed RAM.
> sysstat [1] is not available on the system, unfortunately.
>
> Is there another way to get this information?
>
> TIA,
> Henning
I think that that is not easy to find out since not all memory is
returned until it is needed thats the whole point of having a efficient
memory system, not wast CPU cycles until there is a need for it.
Is it not enough to know total amount of memory and then use start the
app or not.
Using other counters like sr(in vmstat 1) will once started tell you if
you are in any need of more physical RAM or not.
/michael
|
|
0
|
|
|
|
Reply
|
Michael
|
5/28/2010 2:29:30 PM
|
|
In article <17753f80-d78b-4fa7-8664-9ad51ee33bc2@o1g2000vbe.googlegroups.com>,
kielhd <kielhd@freenet.de> writes:
>
>> - prtconf display the physically installed memory
>
> Thank you for your answer, but I am actually looking for RAM, that is
> available for processing, not for the installed RAM.
> sysstat [1] is not available on the system, unfortunately.
>
> Is there another way to get this information?
The question is too imprecise to provide any answer.
However, I suspect that even if you asked a more precise
question, it's still not going to have a simple answer;
you really need to go and read up on how system memory
allocation works. Thinking that the system keeps memory
free for you to use is misleading. A better way to think
of it (but still too simplistic) is that the system will
find you some memory when you need it, by taking it from
other things that need it less than you do. After all,
why keep it free - that's just wasting the memory you
purchased. As you need more memory, the system will take
it from increasingly important other things, and this
will eventually start to impact their performance
noticably, and eventually the performance of your
application and the whole system. It's a sliding scale,
and you might not hit any hard limit until the system
is performing too poorly to be effective. There are
copious resource controls available in Solaris which you
can use to impose limits if you need to protect aspects
of system performance from such degradation.
--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
|
|
0
|
|
|
|
Reply
|
andrew
|
5/28/2010 10:26:26 PM
|
|
On 28/05/2010 2:26 AM, kielhd wrote:
>
>> - prtconf display the physically installed memory
>
> Thank you for your answer, but I am actually looking for RAM, that is
> available for processing, not for the installed RAM.
> sysstat [1] is not available on the system, unfortunately.
>
> Is there another way to get this information?
>
> TIA,
> Henning
Why would you need another way? Isn't going to change the results.
--
I would rather be a paid up Conservative nut job than a Liberal with no
nuts, no job in debt and living off of other people like a leach.
|
|
0
|
|
|
|
Reply
|
Canuck57
|
5/29/2010 12:46:15 AM
|
|
On Fri, 28 May 2010 01:26:45 -0700 (PDT), kielhd
<kielhd@freenet.de> wrote:
>
>> - prtconf display the physically installed memory
>
>Thank you for your answer, but I am actually looking for RAM, that is
>available for processing, not for the installed RAM.
>sysstat [1] is not available on the system, unfortunately.
>
>Is there another way to get this information?
If you need a certain amount of memory for processing, try to
allocate that amount. The allocation will succeed if the amount
you request is available, it will fail if it's not. Usually it
will not fail. Your allocation may cause swapping (which can be
measured), that's what vitual memory management is for.
Best regards,
--
( Kees Nuyt
)
c[_]
|
|
0
|
|
|
|
Reply
|
Kees
|
5/29/2010 1:58:45 PM
|
|
On Fri, 28 May 2010, kielhd wrote:
> I need to find out how nuch RAM is still available on the system. Is
> there a command that gives me ONLY the availably RAM (not including
> swap-space!) ?
Why do you care? The amount of free RAM varies from millisecond to
millisecond, so any info you can gain will be history before long
anyway.
Just write your app to ask for as much memory as it needs, and deal
with memoryallocation errors as they occur.
--
Rich Teer, Publisher
Vinylphile Magazine
www.vinylphilemag.com
|
|
0
|
|
|
|
Reply
|
Rich
|
5/29/2010 5:10:44 PM
|
|
On Fri, 28 May 2010 10:06:55 +0200, Thomas Maier-Komor
<thomas@maier-komor.de> wrote:
>On 28.05.2010 09:18, kielhd wrote:
>> HI NG,
>>
>> I need to find out how nuch RAM is still available on the system. Is
>> there a command that gives me ONLY the availably RAM (not including
>> swap-space!) ?
>>
>> TIA,
>> Henning
>
>- prtconf display the physically installed memory
>- vmstat display the amount of available virtual memory
>- sysstat [1] displays both available physical memory and available swap
>
>HTH,
HAND?
>Thomas
|
|
0
|
|
|
|
Reply
|
Barry
|
6/4/2010 7:18:11 AM
|
|
On May 28, 8:18=A0am, kielhd <kie...@freenet.de> wrote:
> HI NG,
>
> I need to find out how nuch RAM is still available on the system. Is
> there a command that gives me ONLY the availably RAM (not including
> swap-space!) ?
>
> TIA,
> Henning
## How much memory is being used
#echo "`prtconf | grep 'Memory size' | awk '{print $3}'` - (`vmstat 1
2 | tail -1 | awk '{print $5}'` /1024)" | bc
## Workout total server memory
# prtconf | grep 'Memory size' | awk '{print $3}'
|
|
0
|
|
|
|
Reply
|
Darkjest
|
6/4/2010 9:26:11 AM
|
|
|
14 Replies
883 Views
(page loaded in 0.234 seconds)
Similiar Articles: Allocating RAM to Solaris 10 Zones - comp.sys.sun.adminAvailable RAM on SunOS 5.10 - comp.unix.solaris If you need a certain amount of memory for processing, try to allocate ... SunOS azalin 5.10 ... questions - comp.unix ... e1000g on sparc (solaris 10 update1) - comp.unix.solaris ...Available RAM on SunOS 5.10 - comp.unix.solaris Available RAM on SunOS 5.10 - comp.unix.solaris e1000g on sparc (solaris 10 update1) - comp.unix.solaris ... how to check installed RAM module and free slots - comp.unix ...Available RAM on SunOS 5.10 - comp.unix.solaris... Sol9.. - comp.unix.solaris Are Solaris 8 and Solaris 9 available for download for free now for eval(both for SPARC and ... Solaris 10 10/09 zpool upgrade - comp.unix.solarisAvailable RAM on SunOS 5.10 - comp.unix.solaris Solaris 10 10/09 zpool upgrade - comp.unix.solaris... Use 'zpool upgrade -v' for a list of available ... number. >> root ... Solaris 9 available for download - comp.unix.solarisAvailable RAM on SunOS 5.10 - comp.unix.solaris Sol8 and Sol9.. - comp.unix.solaris Are Solaris 8 and Solaris 9 available for download for free now for eval(both for SPARC ... which SUNOS log (solaris 8?) has more information? - comp.unix ...Available RAM on SunOS 5.10 - comp.unix.solaris As you need more memory, the system will take it ... :Sparc 5 Solaris 1.1/SunOS 4.1.3 - comp.unix ..... sparc 1.4 ... Installing Solaris 450 on a Sun 450 - help! - comp.unix.solaris ...Available RAM on SunOS 5.10 - comp.unix.solaris Can anyone help? :Sparc 5 Solaris 1.1/SunOS 4.1.3 ... sun netra t1 105 - comp.unix.solaris Hello, I bought a used Sun ... No more memory available - comp.soft-sys.math.mathematica ...Available RAM on SunOS 5.10 - comp.unix.solaris As you need more memory, the system will take it from increasingly important ... - Stack Overflow The memory available and ... Looking For SunOS 4.1.3 Or 4.1.4 - comp.sys.sun.adminAvailable RAM on SunOS 5.10 - comp.unix.solaris... installed memory > > Thank you for your answer, but I am actually looking for ... :Sparc 5 Solaris 1.1/SunOS 4.1.3 ... Find out the memory status of machine using java ? - comp.lang ...Available RAM on SunOS 5.10 - comp.unix.solaris... think that that is not easy to find out since not all memory ... insufficient memory in current partition for java ... NFS performance tuning help - comp.unix.solarisSolaris 10 10/09 zpool upgrade - comp.unix.solaris NFS performance tuning help - comp.unix.solaris Solaris 10 10/09 zpool upgrade - comp.unix.solaris... 10 Cache devices ... swap information under Linux - comp.unix.programmerCompare and Swap instruction native to Solaris 2.10 - comp.unix ... swap information under Linux - comp.unix.programmer Compare and Swap instruction native to Solaris 2.10 ... Recommended disk layout for Solaris 10 - comp.unix.solaris ...The requirement is as follows: - Solaris 10 with Companion CD - /export/home all available remaining ... disk layout for Solaris 10 - comp.unix.solaris ..... of ram or 4GB ... Limiting max swap for a group of processes - comp.unix.solaris ...On Solaris 10, resource_controls(5) man page says: zone.max-swap Total ... PHP, Perl, Python) which have a tendency to eat all available memory (RAM ... Solaris SunOS 5.9 Generic Terminal types - comp.unix.solaris ...Is toe still the command to get a list of the available terminal ... Account and session management in Solaris 10 - comp.unix.solaris ... Solaris SunOS 5.9 Generic Terminal ... Solaris Troubleshooting and Performance TuningLock Contention. Four types of locking are available on Solaris: Mutexes; Semaphores (counters) (not the same as IPC semaphores) Condition variables (generalized ... Solaris 10 memory usage analysis , 02/05/08, Secret Plans and ...Solaris 10 memory usage analysis It so happens that I need to get a bit more insight into what’s eating all the RAM on one of my ... 7/24/2012 8:18:31 AM
|