Need to find the free space on storage server

Hi,
I need to find the free space on storage server through Java code, and even find whether web server has access to the storage server.
So please tell me how do i do that.

This will be through an API for your "storage
server". It would be helpful if you at least
indicated what this "storage server" is: a NFS? an
FTP site? something else?I forgot to mention that. Its NFS. Please let me know
clearly, what APIs I need to use and in simple how.How am I supposed to clearly know this?
Consult the documentation for your NFS system and figure it out. That's what to do.

Similar Messages

  • Find the free space of autoextensible enabled tablespaces

    Hi All,
    I need to create a shell script to find the free space of an autoextensible tablespaces and send an alert when the free space is < 700MB.
    I tried checking with the dba_free_space, but I did not get the exact free space.
    Can someone tell me the logic to find the exact free space of autoextensible enabled tablespaces?
    Thanks,
    VBK

    You may want to look into dba_free_space_coalesced table.
    SQL> desc dba_free_space_coalesced;
    Name                                      Null?    Type
    TABLESPACE_NAME                                    VARCHAR2(30)
    TOTAL_EXTENTS                                      NUMBER
    EXTENTS_COALESCED                                  NUMBER
    PERCENT_EXTENTS_COALESCED                          NUMBER
    TOTAL_BYTES                                        NUMBER
    BYTES_COALESCED                                    NUMBER
    TOTAL_BLOCKS                                       NUMBER
    BLOCKS_COALESCED                                   NUMBER
    PERCENT_BLOCKS_COALESCED                           NUMBERTablespace Name - Name of tablespace
    Total Extents - Total number of free extents in tablespace
    Extents Coalesced - Total number of coalesced free extents in tablespace
    % Extents Coalesced - Percentage of coalesced free extents in tablespace
    Total Bytes - Total number of free bytes in tablespace
    Bytes Coalesced - Total number of coalesced free bytes in tablespace
    Total Blocks - Total number of free oracle blocks in tablespace
    Blocks Coalesced - Total number of coalesced free Oracle blocks in tablespace
    % Blocks Coalesced - Percentage of coalesced free Oracle blocks in tablespace
    so for getting the usage you can query like
    select     a.TABLESPACE_NAME,
      2     a.BYTES bytes_used,
      3     b.BYTES bytes_free,
      4     b.largest,
      5     round(((a.BYTES-b.BYTES)/a.BYTES)*100,2) percent_used
      6  from
      7     (
      8             select  TABLESPACE_NAME,
      9                     sum(BYTES) BYTES
    10             from    dba_data_files
    11             group   by TABLESPACE_NAME
    12     )
    13     a,
    14     (
    15             select  TABLESPACE_NAME,
    16                     sum(BYTES) BYTES ,
    17                     max(BYTES) largest
    18             from    dba_free_space
    19             group   by TABLESPACE_NAME
    20     )
    21     b
    22  where      a.TABLESPACE_NAME=b.TABLESPACE_NAME
    23  order      by ((a.BYTES-b.BYTES)/a.BYTES) desc
    24  ;I think this is what you were asking.

  • Find the free disk space of each volume using java

    Hi All,
    I new to advanced java. Can we Find the free space of each volume in our hard disk using java.
    regards,
    Maheshwaran Devaraj

    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

  • Query to find the the free space in raw disks

    I am new to ASM.
    What is the query to find the free space in the raw disks in ASM diskgroup.? Can i get space info about individual raw disks in the disk group?
    Is there an ip address for the ASM disk group? If so how can i find it?

    below query will give you total and free space for each raw disk from a disk group.
    select dg.name, d.name, d.total_mb, d.free_mb from v$asm_disk d, v$asm_diskgroup dg where dg.group_number=d.group_number order by 1;
    There no IP address attached to ASM disk group. Why do you want associate IP address with a Disk group?

  • I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    Thanks - Of Course the first thing I checked and did.
    Disc Utility reads as follows:
    Capacity : 159.18 GB (159,182,127,104 Bytes)
      Format : Mac OS Extended (Journaled)  Available : 11.47 GB (11,472,896,000 Bytes)
      Owners Enabled : Yes  Used : 147.71 GB (147,709,231,104 Bytes)
      Number of Folders : 139,540  Number of Files : 511,832
    Activity Monitor(Disc Usage) shows something quite interesting.  Mac HD and Ramanan (Main User) - My hard drive is only 160GB!  Would the retired engineer gentleman please note as well.  Many thanks. Rams

  • How to find block free space  and PCTUSED FOR THE TABLE

    HI all,
    Due to performance issues for my database , my management ask me to reset the PCTUSED and PCTFREE values , and my doubt is
    1)How to find the current PCTUSED and PCTFREE values.
    2)How to find block free space and PCTUSED FOR THE TABLE.
    Please help me out regarding this.
    Regards,
    Vamsi.

    1)version is 10.2.0.4
    2)output of query
    tablespace extent_management allocation_type segment_space_management
    SYSTEM     LOCAL     SYSTEM     MANUAL
    UNDOTBS1     LOCAL     SYSTEM     MANUAL
    SYSAUX     LOCAL     SYSTEM     AUTO
    TEMP     LOCAL     UNIFORM     MANUAL
    USERS     LOCAL     SYSTEM     AUTO
    UNDOTBS2     LOCAL     SYSTEM     MANUAL
    INS     LOCAL     SYSTEM     AUTO
    CONFTBS     LOCAL     SYSTEM     AUTO
    REINS     LOCAL     SYSTEM     AUTO
    ANALYST     LOCAL     SYSTEM     AUTO
    BI     LOCAL     SYSTEM     AUTO
    INTRFC     LOCAL     SYSTEM     AUTO
    COGNOS     LOCAL     SYSTEM     AUTO
    TS_INDX     LOCAL     SYSTEM     AUTO
    TS_CHOLAWEB     LOCAL     SYSTEM     AUTO
    TS_DASBOARD     LOCAL     SYSTEM     AUTO

  • Why when i delete photos and movies do i not get the free space back on my hard drive?

    I'm desparately trying to free up hard drive space.  I have deleted unwanted photos and videos, emptied iphoto trash, rebooted and emptied regular trash but there is no corresponding increase in available hard drive space!  Please help or the Mac gets it!!

    If you're using Time Machine to back up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of files you've recently deleted. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as "Backups." The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself.

  • My iPad 4 is needed 4.1 GB free space

    i tried to install iOS 7 ,that capacity 1.4 GB it's ok but device is needed 4.1 GB free space , why was that? if any one can give clear information to me ,it may be reason for i'm using alot of applications?

    Space is alwys needed during upgrading for temporary storage of installtion files during the upgrade.

  • After i empty trash (the secure empty doesn't work either), the system does not reclaim the free space.

    After i empty trash (the secure empty doesn't work either), the system does not reclaim the free space.
    I need to run the erase free space option from the disk utility every time...which is really annoying and time consuming.
    Any ideas how to solve this?
    Thanks in advance =)

    There is a thing in iPhoto whereby the first time you delete a photo it asks if you want to delete or just remove from the album, something like that.  Unfortunately it is one of these things with a "don't ask me again" checkbox.  Now, "deleting" photos only removes them from the album they are in.  To actually trash them I must then go to "all photos" and find them, to send them to the trash.   To help find them, what I do is rename them zzz or something, so sorting them will get them to the bottom of my collection.  Just maybe your photos are still lurking around?

  • After upgrading to Mavericks, the free space on my SSD keeps going down for no apparent reason

    I downloaded Mavericks and installed it on my macbookpro ( with Crucial M4 SSD) and the free space on my ssd keeps going down for no reason. I reinstalled it from a bootable flashdrive, and the free space went from 20G to 60. Since then it keeps going down and I am now on 48G. I cannot find the source of the drain. Anyone else with the same problem?

    http://reviews.cnet.com/8301-13727_7-20025542-263.html
    I have not tested the solution suggested in the article linked above.
    But hope it helps.

  • How do I erase the free space on macbook pro retina?

    I went to erase the free space on my MacBook Pro Retina in the Disk Utility but it says not available for this type of drive. Is there a way I can get around this?

    You can't use Disk Utility to securely erase a Solid State Disk drive, because of the fact that SSD's have limited write capability, unlike hard drives, thus have to protect the sectors from as little writes as possible.
    In fact TRIM (wear leveling) is enabled to write new data to the least used sectors on a SSD each time.
    The NSA guidelines for secure data destruction on SSD's is to grind them into a fine powder.
    If you don't require this level of data destruction, you can do this trick below, but not often or you'll premaurely wear out your SSD.
    Finder > Duplicate a small file repeatly in a folder until slightly more than 50% of the remaining free space on the SSD is used up, (use Activity Monitor) then delete this folder.
    Then duplicate a different small file repeatly in another folder in the same manner.
    What this will do is, because of the small file, OS X will fill the smallest unused spots on the SSD, the duplicates will fill the remaining free space half way, then the second folder will (because of TRIM) fill the other remaining 50% of the free space.
    You can't fill your boot drive or the machine can refuse to function or boot, but because of the wear leveling this should overwrite all your available free space on the SSD once.
    If you have a laptop and TimeMachine, there is a hidden database on the boot drive which will store a copy of the deleted data.
    Then there is "versions" and it's possible a copy of the deleted data is stored in that cache file still on the SSD.
    I can advise how to delete the TimeMachine backup file on the boot drive, but not the "versions" database or what it contains.
    How do I securely delete data from the machine?
    If your really paranoid it's likely best to reformat the entire MacintoshHD partition from recovery and then with a new user, then do the Finder > Duplicate procedure to overwrite the deleted data off the SSD, this way the "versions" and TimeMachine databases are also overwritten.
    Nothing is safe anymore.

  • Disk partition issue.Cant allocate the free space for windows.ls help.

    I have created a partition for OS X (200GB journaled, encrypted) and also left 51GB unallocated for Boot Camp later on.
    After I successfully installed OS X 10.9, I wanted to install Windows 8.1 with Boot Camp. But Boot Camp only wants to shrink the Macintosh HD partition, and doesn't want to use the free space left on the drive. So I switched to Disk Utility, to try it that way. But in Disk Utility I wasn't able to create a new partition (if I press the 'partition' button it just doesn't do anything).
    Next, I tried to switch of File Vault 2, let it decrypt itself, restart, and then try it again in internet recovery mode. But still, I cannot expand the Macintosh HD-partition or create a new partition.
    Disk Utility log:
    2014-09-04 00:42:31 +0200: Preparing partitioning: 'APPLE SSD SM256E Media'
    Also, Disk Utility tells me there is 200.000.000.000 bytes of 200.000.000.000 bytes used, and 0 bytes of free space. Even though not even half of the drive is colored blue (which displays the amount of data on the drive). Finder tells me only 88GB is used.
    I used the new installation for no longer than half a day, so there can't be issues that data is spread over the whole volume. Disk Utility can't find any problems, and tells me the disk and all of her volumes are okay (in green texts).
    I also tried to start from a windows-install-usb, and tried to make a partition of the 'unallocated space', but then Windows tells me that it fails because the volume is part of the 'GPT partition style'.
    What do I have to do to repartition my volumes!?
    I'm using a MacBook Pro Retina 15" (MacBook Pro 10,1) with a 256GB SSD (251GB according to OS X).

    As you're finding, a limitation of basic disk is that it only allows 4 primary partitions or 3 primary partitions and an extended partition.
    http://technet.microsoft.com/en-us/library/dd163549.aspx
    For information on converting basic to dynamic as well as considerations prior to doing so, consult this article.  It should help you make a decision whether or not you want to convert the disk:
    http://technet.microsoft.com/en-us/library/dd163552.aspx
    If you decide to convert, get a backup so that no matter what you're covered. Not that it's risky, but better safe than sorry.

  • Re: Oggetto: Re: Knowing the free space on a drive

    -----Original Message-----
    From: Luca Gioppo <[email protected]>
    To: [email protected] <[email protected]>
    Date: Friday, March 19, 1999 9:13 AM
    Subject: Oggetto: Re: Knowing the free space on a drive
    Obviously the solut

    I thanks people that gave their suggestion, but unfortunately these are not
    what I was looking for.
    The runcommand does not redirect output to a textdata but accept the name
    of an output file in a textdata, and in win95 it doesn't exists a grep
    command.
    The thing that bother me is that if I use the environment console, open the
    machine agent and look up the instruments i find the volumes into it,
    afterwards having done this operation I manage to find the volume agents
    form the machine one even from tool program.
    It is clear that the e-console issues some commands during the instrument
    menu of the machine that I miss, but perhaps are available from tool.
    Does someone from Forte knows how to reproduce the same commands of
    instrument menu in tool (I was told that e-console was written using forte
    so...)?
    TIA
    Luca Gioppo
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Need help finding the right codec to play QT files

    Like many others who have posted, all the quicktime files on my drive have turned to black. Previously when I opened the file, I saw picture and sound. Now every single file has only audio, but the picture is black.
    I am operation on Mac O.S. 10.4.11. I am using Quicktime Pro 7.5. I have been trying to fix this problem for a month now. Many people have suggested I need to find the right codec, but so far I have not found it. I have tried: A52codec.component, AC3codec, MacOS 8.x, 9.1.x, Apple Intermediate Codec.com, Apple MPEG2.codec.component, Avilmporter-r7.component, DivX Decoder.component, DivX Encoder.component, DivX Pro 6.8.0.19 + keymaker, EnsharpEncoderMacOsX.cmg, Fbx 20091quicktime_macemu.pkg.tar, Fbx QT.pkg, Flipsformac, WMV Advanced.component, Flipsformac WMV Advanced Exports.component, Flipsformac WMV Import.component, IMXCodec.component, LAAME Universal Installer.mpkg, LAAMEncoder.component, QSSP_2.1.dmg, QSXEssentials.component, QSXEssentials.dmg, QTFvx.component, Red Quicktime Codec v3.1.pkg, Red Code iedcod.qt.component, Spectrograph.component, TSCC.component xiphqt.component, XviD_codec-r58.component, XviDELEGATE.component
    Nothing worked!
    I also tried to install Perian. This did not work.
    What should I do? Should I re-install my operating system and start over? About a month ago, all the video clips played just fine. Is there any solution?
    Thanks

    Hi Wangerer!
    I haven't even heard of half of those! You may have reached overkill on codecs!
    Get rid of some of them and read this:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, 3.1, 3.1.1, QT 7.3, 7.4.x and 7.5 and OS 10.4.11.
    Assuming you already run Tiger versions OS 10.4.11 and have Quicktime 7.4 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 11 (which is no longer in beta) for Mac from:
    http://www.versiontracker.com/dyn/moreinfo/macosx/15540
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs.
    Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2
    and then the latest version obtained from here:
    http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    and installed.
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS, but please see my footnote if you are running Leopard.)
    In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    You should also ensure, if you are running Tiger 10.4.11, that you have downloaded and installed all the correct version for your Mac of Security Updates up to and including 2008-004. (N.B. Security Updates require both a restart and a permission repair.)
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
    Important: Now repair permissions and restart.
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.
    There is an additional 'fix' you could try if you are having problems with Flash and Quicktime, depending on which type of Mac you have:
    On Intel Macs, make sure that you are not running Safari in Rosetta. You can check this, and change it, in the Get Info window.
    On PPC Macs, go to the Hard Disk/Library/Internet Plug-Ins folder, and drag the file 'QuickTime Plugin.webplugin' to the desktop. Quit and restart Safari. If things have improved you can trash that file. If they haven't put it back, as the lack of this plug-in can cause QT content in some widgets to cease functioning.
    And now there is an additional kid on the block: SilverLight. Microsoft has created their own version of what a replacement for Flash should be. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards):
    http://silverlight.net/GetStarted/
    FOOTNOTE
    If you are running Leopard:
    Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1

  • Need help finding the best Mac for gf

    hi I need help finding the best desktop. I am looking to buy MAC for gf.
    she uses final cut program question is does the GB/RAM/STORAGE matter on performance?
    She has a 2009 Apple computer I want to upgrade her to a new one
    I Dont know much when it comes to specs. She edits tons of videos and pictures.
    what's recommended for a video/photo editor that's good in performance ?

    Pro consumer might go with iMac even.
    Final Cut Pro latest benefits from dual AMD graphics.
    Video is one animal, graphics a much different.
    Great site full of performance, buying and configuration ideas:
    MacPerformance Go to the main topics
    I think you need to get clear on budgets. start with mid range and add all the options and can spend $4,000 or $7,000.
    Go to the Mac Store and do some looking and Google for reviews of software, hardware of course.
    Barefeats
    Rumors Pro
    Visit the forum for FCP-X would be a place to start.
    Final Cut Pro X

Maybe you are looking for

  • ITunes and Quicktime quit unexpectedly before launch

    The icon bounces a few times then I get an error message. This happens with Quicktime too. I tried uninstalling both, but got error message 60008. This happened after fixing a permissions issue with images. Any help would be greatly appreciated. You

  • Virtual Provider on top of a Multiprovider

    HI BI Experts, Can we create a Virtual Provider on top of a Multiprovider? Please let us know if some one has come across such a requirement or have done this type of scenario? Many thanks in advance. Regards, Bala

  • ABAP REPORTS IN BW

    hi gurus, I have a client who implemented R/3)(about to go live) and they  want the reporting partin ABAp to be done in  Bw.And the thing is there is nothing done in Bw upto now.Everything has to be done from scratch.Can anybody guide me in this rega

  • How do I cancel a tabular model table from being validated?

    I made the mistake of clicking validate on the edit table properties window and it has been running for about 15 minutes now. I've tried everything short of killing VS in task manager. What is this thing doing that takes so long? And why can't I stop

  • My appleTv keeps rebooting, is there a fix?

    Every time I try to turn on my Apple TV, it cycles and reboots then does it over and over.  Maybe every 30 seconds, what can i do?