How to get the amount of free physical memory?

How to get the amount of free physical memory?
(without sudo or root)

vmstat will give it to you.
Although the question depends a bit on what you mean by free memory.
The figure vmstat labels free (in any reasonably recent version of solaris) actually represents memory mostly filled with cached file contents. So it represents memory that can be easily released if needed by something more important.
Like most unix versions, solaris will use any free memory to cache files thats have been read/written previously just in case they are needed again

Similar Messages

  • How can I get the amount of free space that is on my drive to show at the bottom of the drive in Lion.

    How can I get the amount of free space that is on my drive to show at the bottom of the drive in Lion.
    This is a must feature for me and I may have to go back to Snow Leopard.
    Please help!

    Right click on your desktop and choose "viewer options". Adjust the spacing and the size of your icons and you should be able to see the size of your drive(s) and the free space available on each drive with the exception of your bootcamp drive which will only show the overall size of the drive you have it on.  This may be different if you only have one system drive (like on a Mac Book Pro) with a partition containing bootcamp on it. this may only show you the overall capacity, I can't say for sure though as I only use a Mac Pro with 4 seperate Hard Drives which are showing both overall capacity and free space available. Hope this helps
    Denisimo

  • Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

    Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

    Upgraded to IO6, seems like the amount of system memory to run is higher, this causes issues with some Apps. I can't get SIRI to work because the amount of free system memory is not enough. how can I tell what is eating the system memory?

  • How Can I Get the Amount of Free Disk Space Using space using windows 7 please share example using GetDiskSpace

    How Can I Get the Amount of Free Disk Space  using windows 7 please share example using GetDiskSpace i have already studied http://digital.ni.com/public.nsf/allkb/9958B8E473C4EF1786256BBC0053B64F

    Reading your question a bit more in detail, I doubt whether you are using Win32 API GetDiskFreeSpace function (for which my previous post is the solution) of Programmer's Toolbox GetDiskSpace function.
    With reference to the second one, it works even with disks larger than 2GB but you need to use the proper formatting code to display the returned value. I updated my example to show total free space in the debug output window and added a comparison with 3GB value using UInt64TypeCompareUInt from the Programmer's Toolbox.

  • How to find the amount of free disk space on my pc....... in java of course

    how to find the amount of free disk space on my pc

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+disk+space&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

  • The amount of free SGA memory available in the database

    Hi,
    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.If the sga_max_size is set for a particular value and the db_cache_size and the shared_pool and all other components are specified,how can one determine whether all the memory allocated for SGA is in use?

    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.When the SGA is allocated, the memory is fixed, and none of it is "free" really.
    how can one determine whether all the memory allocated for SGA is in use? Are you asking about usage WITHIN the pools? If so, shortly after startup the database buffer and shared_pool will fill-up and stay full . . . . .
    Here is the script that I use to see inside the data buffer contents:
    set pages 999
    set lines 80
    spool blocks.lst
    ttitle 'Contents of Data Buffers'
    drop table t1;
    create table t1 as
    select
    o.object_name object_name,
    o.object_type object_type,
    count(1) num_blocks
    from
    dba_objects o,
    v$bh bh
    where
    o.object_id = bh.objd
    and
    o.owner not in ('SYS','SYSTEM')
    group by
    o.object_name,
    o.object_type
    order by
    count(1) desc
    column c1 heading "Object|Name" format a30
    column c2 heading "Object|Type" format a12
    column c3 heading "Number of|Blocks" format 999,999,999,999
    column c4 heading "Percentage|of object|data blocks|in Buffer" format 999
    select
    object_name c1,
    object_type c2,
    num_blocks c3,
    (num_blocks/decode(sum(blocks), 0, .001, sum(blocks)))*100 c4
    from
    t1,
    dba_segments s
    where
    s.segment_name = t1.object_name
    and
    num_blocks > 10
    group by
    object_name,
    object_type,
    num_blocks
    order by
    num_blocks desc
    Hope this helps. . ..
    Don Burleson
    Oracle Press author

  • How to read the amount of free memory available?

    I need a tool to tell me the amount of free memory left, at any given time. I want to tell my user in advance, and as the experiment proceeds, how much experiment time can remain before we will run out of memory. Yes I know, in a more perfect world the data would be written to disk and not stay in memory; but for now this solution would really help.
    Please be clear: I'm not looking for the performance profiling tool. I need something that will tell my program, at runtime, how much memory is left available to it. Is there any such tool?
    Thanks,
    Ken

    Hey Ken,
           I think this article discusses what you're looking for:
    How Can I Programmatically Find Information About My Computer's Memory Usage?
    http://digital.ni.com/public.nsf/allkb/B5889EB5349FAC478625723E00090265
    Hope this helps!
    --Ryan S.

  • How to get the amount of memory available programmatically?

    Hello,
    Out of memory is a very common situation occures in most applications. I was wondering if there is a way to find the amount of free memory available programmatically, it can atleast help a little. There are System class's functions but are not very full-proof. So can there be any other way?
    THanks

    Out of memory is a very common situation occures in most applications.Really? ;)

  • How to get the size of free memory in unix?

    I have one oracle database running in unix, and I want to tune the memory used.
    additional, I want to create another database in this server.
    I don't know how many memory left in it.
    Could you tell which unix commands can be used to find out the size of free memory?
    Thanks

    %vmstat 3
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 -- -- -- in sy cs us sy id
    0 0 0 3025816 994456 4 19 6 0 0 0 0 8 0 0 0 459 253 139 1 1 99
    0 0 0 2864688 777408 0 2 0 0 0 0 0 3 0 0 0 428 134 175 0 1 99
    0 0 0 2864688 777408 0 0 0 0 0 0 0 7 0 0 0 448 112 166 0 0 100
    one interesting observation about vmstat I found out is (mostly on Solaris)
    the first line of information always off chart, so I usually do a few interval to get constant result.
    if you use linux
    just
    cat /proc/meminfo

  • How to get the amount in local currency in GRPO transaction

    Dear Frndz,
    I am doing a GRPO transaction for a vendor whose currency is Euro.After making the transaction,will I be able to see the amount in local currency also? I know that it can be seen in the JV, but I want to see in the GRPO screen itself.
    Regards,
    SRini

    Yes Srini you can do. You have to go GRPO screen currency field which will be under vendor reference No. field. Here you have to change local currency instead of BP currency. Now you can see row total as well as  document total will be Local currency. But Unit Price would be Euro.
    Regards

  • How to get the total number of pages printed in a report?

    Hi All,
    I have a requirement where I need to print a frame of fields only in the last page. Unfortunately I cannot use the 'Print Object On' property as it doesnt work in my case. So, I am planning to write a format trigger on the frame to return TRUE if the page is the last physical page. Now, I need to know how to get the total number of physical pages that will get printed in the report so that I can use this to manipulate the frame. I was planning to use the 'Total Physical Pages' built-in, but it seems like I can just use it to print in a field and I can't use this field's value anywhere in the plsql code (formula column function/format trigger) in the report. Is there anyway to get the total number of pages printed in the report which can be used in the report plsql code?
    Thanks,
    Srini.

    i found the solution, thanks

  • How to get the size of physical memory by using system call ?

    how to get the size of physical memory by using system call ?What system call can be used for me to get the size of physical memor? thanks.

    %vmstat 3
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 -- -- -- in sy cs us sy id
    0 0 0 3025816 994456 4 19 6 0 0 0 0 8 0 0 0 459 253 139 1 1 99
    0 0 0 2864688 777408 0 2 0 0 0 0 0 3 0 0 0 428 134 175 0 1 99
    0 0 0 2864688 777408 0 0 0 0 0 0 0 7 0 0 0 448 112 166 0 0 100
    one interesting observation about vmstat I found out is (mostly on Solaris)
    the first line of information always off chart, so I usually do a few interval to get constant result.
    if you use linux
    just
    cat /proc/meminfo

  • I bought a movie...verified my payment,but have nooo idea how to get the movie downloaded or where to even find it. did not purchase coud. that ought to be a free feature

    I bought a movie...verified my payment,but have nooo idea how to get the movie downloaded or where to even find it. did not purchase coud. that ought to be a free feature

    Go to Settings>General>Usage. How much space does it show you have?
    If you connect your phone to your computer, what does iTunes say is on your phone? Do you see a large amount of "Other"? If so, you may have a corrupted database. You'll need to sync your phone then restore it as NEW (not from back up) then re-sync your data).

  • How can I know the amount of free RAM when my VI is running?

    I need to know the amount of free RAM when my VI is running.

    If you are using Windows NT/2000/XP, monitoring free memory is very easy. Simply right click on the task bar and open the Task Manager. Click on the Performance tab, and you'll be able to monitor the physical memory total and available on your PC.
    If you are using Windows 9X, you will have to add some optional resources. Open Control Panel, then select Add/Remove Programs. Click on the Windows Setup Tab, and select System Tools, then click the Details... button. Check the boxes to install System Monitor and System Resource Meter. Click OK, and you will be prompted for your Windows CD. Insert the CD and Windows will add the monitoring tools. You can then use them to watch your free resources.

  • Regarding: How to Get the Tax Amount

    Hai Friends,
                            I have the Input of  Amount + Tax Group.
                           I  need the amount for every Tax from Tax group.
                           How to get the Tax amount for differnt tax type.
    Please help me.
    Regards,
    K Sakthivel

    Hai Sakthi,
    As you want the report for different tax types  you can differentiate different tax types by tax rate and tax code  you can  refer the below query and modify  according to your requirement and you can add as many tax codes/tax type based on your needs.
    BASED ON TAX CODE AND TAX RATE :
    SELECT distinct  M.DocNum AS 'AR Inv. #', M.DocDate as 'Date', M.CardName as 'Customer Name',M.NumAtCard as 'Bill No. & Dt.',M.DiscSum,M.RoundDif,
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',M.VATSUM,
    t.statype,
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=5  AND TAXCODE='CHVAT5' ) as 'CHENNAI VAT5  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =5 and DocEntry=M.DocEntry  AND STCCODE='CHVAT5' ) as ' CHENNAI VAT5 COLLECTED ',
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=0.00  AND TAXCODE='CHTAXEXE' ) as 'EXEMPTED  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =0.00 and DocEntry=M.DocEntry  AND STCCODE='CHTAXEXE' ) as 'EXEMPTED COLLECTED ',
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=14.50  AND TAXCODE='CHVT14.5' ) as 'CHENNAI VAT14.5  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =14.50 and DocEntry=M.DocEntry  AND STCCODE='CHVT14.5' ) as ' CHENNAI VAT14.5 COLLECTED ',
    (Select Sum(LineTotal) FROM INV3 Q Where Q.DocEntry=M.DocEntry) as 'FREIGHT',
    M.DocTotal as 'Total (Rs.)'
    FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    INNER JOIN NNM1 T4 ON M.SERIES=T4.SERIES
    where (t4.series ='1' ) AND TARGETTYPE !='14'
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,M.Series,T4.SeriesName,M.RoundDif,M.VATSUM,T.STATYPE,T.TAXRATE,Q.LINETOTAL,t4.series,
    Regards,
    P.V

Maybe you are looking for

  • Formula interpreter logical operator

    Dasylab 10 I'm capturing voltage from a daq, using formula interpreter to make calculations and then generating a XY graph. As the values are being generated I am wanting to display in a digital display the Y peak value and the corresponding X value.

  • Connecting to new wireless internet makes macbook stop functioning?

    When i connect my mac book pro to wifi internet it stops functioning. When airport is switched off it works fine. Anybody know why? The strange thing is i recently moved and when i take the laptop back to my original home it connects to the wireless

  • Apps keep crashing after upgrade to ios 7 ipad2

    After upgrading to ios 7 most of my apps keep crashing on ipad2 why? Do i need to re-install them? Please help

  • Game constantly shut because of "problem"

    I purchased a copy of the game Portal 2 yesterday. Once I relized that it wouldn't play at full speed on my Pavillion 4G,  I quickly switched a few of the video options in the game,  for the rest of the day, it ran just fine. I was playing the game t

  • Saving photoshop elements 7 slideshow as .wmv file

    I have tried to export my slideshow from pse7 to pe7 and it wasn't working so i tried to save the slideshow as a .wmv file and it gets halfway through saving and it encounters a problem and needs to close what can i do about this new problem that i n