Knowing the Total Swap size in solaris

Dear all
can anyone help me finding out Total Swap size(constant) value in solaris 10
I tried swap -s and used (Used+available as TOTAL swap)
its keep changing, as its is a current swap size at that time.
actually My intention is to used this forumula in the script,as I found that solaris uses memory as physical+SWAP
(Physcial Memory +swap size)
Total physical+Total swap
what is the best way to find out Actual Total Swap size in solaris ??

I tried swap -s and used (Used+available as TOTAL swap)
its keep changing, as its is a current swap size at that time.
That's to be expected. See "How does Solaris Operating System calculate available swap? (Doc ID 1010585.1)"
actually My intention is to used this forumula in the script,as I found that solaris uses memory as physical+SWAP
(Physcial Memory +swap size)
Total physical+Total swap
what is the best way to find out Actual Total Swap size in solaris ??
If you want to know the size of the swap device, then look at the device(s) being used for swap and check the size of the slice or zvol. That'll tell you the starting value. The available will fluctuate with system usage. See Doc ID 1010585.1
What exactly are you trying to achieve with your script?

Similar Messages

  • Total Swap Size decreasing dynamically?

    We have a problem with the size of our swap slice decreasing by itself. I've never seen anything like this and I'm not finding any information on the net. How do I find out what is changing the total swap size? How do I stop it? Thanks.

    TonyBrickner wrote:
    Sorry, I'm asking the wrong question then. And thanks for the clarification.
    Before we rebooted we had this for the swap filesystems
    swap 103M 32K 103M 1% /var/run
    swap 119M 16M 103M 14% /tmp
    After a reboot it went back up to 9.9G and after an hour we are left with this as the current.
    swap 3.0G 32K 3.0G 1% /var/run
    swap 3.0G 3.4M 3.0G 1% /tmpYou should see similar information in running 'swap -s' at those times (but with a little more information).
    In other words, the amount of available swap has decreased over time until you ran the first command. After reboot, you have much more VM available. Neither 'swap -s' nor 'df' has detail to tell you where that space has gone. There are other tools to do that.
    I'd start with 'echo "::memstat" | mdb -k' and review what it says.
    # swap -l
    swapfile dev swaplo blocks free
    /dev/md/dsk/d30 85,30 16 8395184 8395184
    # swap -s
    total: 405080k bytes allocated + 8036560k reserved = 8441640k used, 2575184k availableI don't know if you ran these commands very close together in time with the ones above, but you can see that there is about 3GB of swap available in both the 'df' and the 'swap -s' output.
    so now I am just confused. the far left numbers in the df command can fluctuate?Yes. Whereas an on-disk filesystem is normally static in size (or is resized with explicit commands), the tmpfs filesystem makes use of available virtual memory (swap) for it's storage. The amount of available VM goes up and down during the lifetime of the machine. So the "size" given to statvfs is calculated based on that.
    If swap was using that filesystem for storage shouldn't the used and available numbers reflect that and the total size (far left number) never change?It's the other way around. Swap isn't using a filesystem for storage. It's a virtual filesystem that is using swap for storage. In the df output, the storage is the thing on the left (swap) and the filesystem is the thing on the right (/tmp).
    Darren

  • Why has the total library size gone from my itunes

    I downloaded the latest iTunes the other day and now the total library size is missing and the window size is actually too large for my monitor too, though I've not altered any settings.  
    I HATE not having the library size showing at the bottom of the page when my iTunes library is open.  Anyone know what's happened?

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library as iTunes Library (Corrupt) and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be renamed as iTunes Library.itl to restore the library to a recent state.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    tt2

  • With a contract number, how to know the total PO release value against it?

    Usually one contract corresponds to multiple PO records, now we know the contract number, then how to know the total PO release value against this contract.  In other word, we would like to know the total release value of all the POs with the same contract number.  To just input the contract number in EKPO table? but then look for which field in this table to add these PO release values up?
    We will give you reward points!
    Thanks!

    hi Mohammad,
    By following your instruction, input the contract number 4800000112 into Document number field, then hit Enter, get the following (only copy two records here for example), but kind of a mess.  Could you let us know which one is the PO release value for this contract?
    Contract   Type Vendor     Name                                 PGp Agmt. date
      Item  Material           Short text                               Mat. group
      D I A Plnt SLoc                 Targ.qty. Un       Net price  Curr.   per Un
    4800000112 WK   2000012012 GULF INTERSTATE FIELD SERVICES       QBH 06/20/2006
    Agreement start06/20/2006 Agreement end 12/31/2007
    Tgt. val.        1,000,000.00  USD   Open          1,000,000.00 USD   100.00 %
      00001                    Inspection Svcs, Construction            R3VNI
      L   U                                  0  UL            0.00  USD       1 EA
      00002                    Chief Inspector                          R3VNI
      L   U                                  0  DAY         390.00  USD       1 DAY

  • Is there a way where in i can know the total page of report?

    guys, i would like to know the total page of the report, i am using vb6 calling the report using RDC .
    below is the code why i am on a hurry to know the total page of the report.  i just want to add a loop that will process until a number of total hasn't been reach.
        '   picImage is your report picture object name.
        If Dir("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg") <> "" Then  
            'Replace Your Picture Path Value
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg", vbLPCustom, vbLPColor)
        Else
            'Fill Blank Picture
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\" & "blank.jpg", vbLPCustom, vbLPColor)
        End If
        Set oSectionGH = Nothing
    as you can see. i want the vb6 go to the last line "Set oSectionGH = Nothing" as soon as the loop reached the total page.  i will much more thankful, if you could modify this code for me and include the loop process.
    thanks in advance..

    Hi;
    I think we are not sure what it is you are trying to do. Could you explain a bit more what you are looking to accomplish? Do you want a specific image to appear on different pages, or something else?
    Regards,
    Jonathan

  • In the Itunes Wishlist there is no price button that you can psuh to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    In the Itunes Wishlist there is no price button that you can push to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    Both the button and the total cost appear to have been removed in the current version of iTunes - I don't have them either and other people have posted about it as well. You can try leaving feedback for Apple and maybe they'll be added back in a future update : http://www.apple.com/feedback/itunesapp.html

  • How to know the total page number of the standard report

    How to know the total page number of the standard report?
    If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?

    Hello Net,
    Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
    Excel Page Numbering with ActiveX:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=194479&requireLogin=False
    Number Pages in Word Report:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=162972&requireLogin=False
    There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
     http://msdn2.microsoft.com/en-us/library/aa223048(​office.11).aspx
    Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
    Thank you
    Best Regards,
    Dominic L.

  • How to know the "minimum panel size" property

    I want to know the "Minimum Panel Size" specified in the "VI properties" by programming. It's very important to get this information, because my panel size changes over the execution and I need the minimum panel size available. I can’t use the panel bound property because it return me the actual size of the panel.
    Any idea?
    Thanks for your help.
    Solved!
    Go to Solution.

    There is no property to directly return the minimum panel size that you set.
    You can however trick it into giving it to you. Since you can't use the "Panel Bounds" property to make a window smaller than it's set minimum, You can try to set it to 0,0 size, then read the size and subtract the left from right and top from bottom to get the size. The panel will actually resize to the minimum, but will return an error if you try to go below that.
    The attached VI shows this working. I only tried this 7.1, so if you have an earlier version, let me know and I'll save it back.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Get minimum panel size setting.vi ‏40 KB

  • How to know the total purchase of the year.

    Hi all,
    One of our client wants to know the total purchase he made for the whole year for different materials only,i suggest them for ME51N but this gives PO based entry only which is different(higher)then actual purchase made,i think it should be MIRO based entery
    can anyone suggest is there any standard report in SAP or T.codee which give me total my client has made which hit the excise register also.
    Rishi Diwan

    Rishi,
    Check ME80 and MC$I transaction. This will help you get the details about purchasing quantities in a period.
    If helps reward points and close this thread.
    Regards
    TAJUDDIN

  • How to know the total string length of a range of cell in excel sheets

    Hi,
           I am working on Excel automation. I want to read data of collection of cells from excel for that i need to know the total string length in one shot.
    Can anyone suggest me the answer for this

    Still not sure about your requirements, but how about this
    SQL> CREATE OR REPLACE FUNCTION get_max_length(p_table in varchar2, p_col in varchar2) return pls_integer
      2  is
      3    v_cnt pls_integer;
      4  begin
      5    execute immediate 'select max(length('||p_col||')) from '||p_table into v_cnt;
      6    return v_cnt;
      7  end get_max_length;
      8  /
    Function created.
    SQL>
    SQL> SELECT COLUMN_NAME,
      2         DATA_LENGTH,
      3         get_max_length(TABLE_NAME, COLUMN_NAME) max_length
      4  FROM USER_TAB_COLUMNS
      5  WHERE TABLE_NAME='EMP'
      6  AND DATA_TYPE like '%CHAR%'
      7  ;
    COLUMN_NAME                    DATA_LENGTH MAX_LENGTH
    ENAME                                   10          6
    JOB                                      9          9
    SQL>

  • Hi This is Rezwan from Bangladesh. I requests to my aunty who lives in Virginia to buy an iphone 5s country unlocked for me and send to Bangladesh. Now i want to know the total costing of iphone 5s country unlocked phone and how can she send it to BD?

    Hi This is Rezwan from Bangladesh. I requests to my aunty who lives in Virginia to buy an iphone 5s country unlocked (Without Contract) for me and send to Bangladesh. Now i want to know the total costing of iphone 5s country unlocked phone and how can she send it to Bangladesh?

    Note: When you buy an iPhone from another country, you do not have warranty in your country of residence. Any warranty and sevices are only valid in country of purchase.
    For prices, ask your aunty or go online yourself.

  • How to know the total items inside the rowSetInfo.

    How can i know the total items inside the rowsetInfo. I have only 1 column of table for the rowSetInfo. It's called "BankrowSetInfo". How to know how many items are there inside the rowSetInfo.

    Need more information.
    How do you want to display the info? Are you creating an applet/application/jsp/file output or what? Are you using DACF?
    Also, You said you only have 1 column. If you actually have more than 1 column ( more than 1 AttributeInfos for your RowSetInfo ) and are using DACF, use the InfoSwing GridControl or set up multiple TextFieldControls, one for each column.
    Hope I answered the right question.
    Cheers

  • Command to be executed in solaris machine to know the existing heap size

    Hi,
    I want to know the command to get the existing heap size of JVM. Java version is 1.5 and runs in solaris machine.
    Thanks
    Regards,
    Nanda

    Hi,
    one way to do this would be to run "jstat -gc <pid>" where <pid> is the PID of your JVM. jstat is part of the JDK >= 1.5, located in the bin directory. This will give you several columns with the current sizes of all generations of the JVM. The last character "U" always indicates the current usage, "C" the capacity. The current "heap capacity" (which can be adjusted with -Xms and -Xmx) is the sum of S0C, S1C, EC and OC.
    Nick.

  • Another trash question...checking the total trash size...

    Is it possible to check the file size of trash... i want to know how many mb i am deleting off my mac without having to check hd size before and after...
    thanks in advance!!

    Click on Trash in Dock, once the Trash Finder window opens hit ⌘ + I, (that is: Command and letter 'eye' for Info). A further window opens with the total size of the Trash in the top right corner, as with getting Info on any file or folder.
    Have fun,
    Adrian

  • How to know the OS block size ?

    Hi all
    I want to know how to get the OS block size of my server ?
    For example if my server is Windows 2000 Professionnal , how can I get the size of my OS block size ?
    Thank you

    One way to find is to right click the drive in Windows Explorer and click Format (Not actually formatting it).
    In the popup window, you would see the "Allocation unit size" for the selected drive. Click "Close" to exit when done.

Maybe you are looking for