Checking OS disk space

Hi, everybody !
I would like to know, using a Oracle procedure, the Windows Disk Space.
For example, if my Oracle database have datafile in two drives (D: and E:) and I'd like to know the disk size and free disk space, is it possible using a procedure ?
I tried with a java program, compiled as java source but i am facing some errors.
Thanks in advance,
Joao Lanaro

Hi, everybody "
To me there is not wrong, but let me explain, I have an instance used to monitoring another Oracle instances, so one of these checks is how much free OS disk space is available in each server.
I am using the Oracle scheduler to execute it sometimes per day. Because this I thougth that a procedure is the better option, I found a java program but I do not know so much Java and I could not fix the errors.
If I use a batch file, as you said, How can I use it into a procedure, How can I get the return of dir and use it to subtract or sum with my datafiles size ?
Thanks in advance,

Similar Messages

  • Workshop 6u1 installation freezes when checking for disk space

    Hi!
    I've trying to install Workshop 6 update 1 but while installing and the application is checking for disk space it just freezes on me. One important thing, this system had Workshop 4, 6u1 and 6u2 installed. I removed the package for ws4 and untinstalled ws6u1 and ws6u2 from /var/sadm/prod/com.forte....... for each one of the versions.
    Do you have any idea what is going on, why it freezes when checking for disk space???
    thanks,
    Jorge

    Hi,
    command: cmd.exe /c D:\oracle e-business suite R12\oracle ebusiness suite\startCD\Disk1\rapidwiz\bin\adchkutl.cmd C:\cygwin C:\msvc
    'D:\oracle' is not recognized as an internal or external command,
    operable program or batch file.
    RW-50011: Error: - System Utilities Availability test has returned an error: 1Please do not use spaces in directory names, spaces are not allowed and it is expected to get such errors because of the spaces.
    Host/Domain
    command: ping -n 1 windows7-pc
    Pinging WINDOWS7-PC [fe80::4c7b:9a58:f4b2:e7c5%12] with 32 bytes of data:Please note that Windows 7 is not certified as a database/application tier node.
    Thanks,
    Hussein

  • How do I check my disk space

    I can't convert a newer microsoft word file from a thumb drive onto my imac because I don't have enough "disk space."  Any idea on how to get around this.

    Select the icon representing your startup volume on the Desktop or in the sidebar of a Finder window. Open the Info window. What is shown for "Available"?

  • Checking free disk space after setting up Boot Camp?

    Hi team,
    I've just gone thru the install process for putting Windows 8 on my MB Air.  Can anyone point me to info on keeping an eye on free disk space? 
    I have a 128Mb SSD drive, and prior to installing Win 8 I cleared a lot of media files off the SSD (which took ages to secure delete), but when I used the 'Get Info' option to see how much space had been freed up, the free space did not appear to increase by the amount I had deleted (we're talking about 22Gb of material deleted!).
    Anyway I created a Windows partition of 30Gb.  When I boot into Win8 it reports only a few Gb free of the 30Gb partition... When I boot into MacOS it reports 36Gb free of the 90Gb partition.
    Any help or links greatfully received!
    Cheers,
    Chris

    Which internal drive option did you pick? The 3TB Fusion, 1TB Fusion or the standard drive option. It Matters.
    If the 3TB Fusion model you can't install windows even with Boot Camp unless you jump through some Hoops and first brake apart the Fusion drive.
    If 1TB Fusion or standard drive then you will need a Windows PC to make  USB thumb drive containing the Win 7 install files. you do that with a tool MS has, Windows 7 USB DVD Download Tool, or Yumi Multiboot or ISO to USB. And you first may have to make an ISO from the DVD or go to My Digital Life and download the ISO file of the version of Win 7 you buy and have a License key for, Home Premium, Pro or Ultimate.
    Other then that you start Boot Camp Assistant, Found in the Utilities folder in Applications, and download the Win Support files and then partition the drive for Windows. It is all laid out in the Boot Camp help files and or online documentation.

  • Disk space problem on MeetingPlace Express

    I get the email below daily. I'm thinking it's ok to cat /dev/null the cma.log file?
    I also think I might be able to do the same thing to stdout.old?
    Anything else I should try other than the instructions?
    * Directory listing
    [mpxadmin@meeting ConfSchd]$ ls -la
    total 3036516
    drwxrwxr-x    2 mpxadmin mpx          4096 Aug  2 13:27 .
    drwxrwxr-x   17 root     mpx          4096 Nov  4  2009 ..
    -rw-rw-r--    1 mpxadmin mpx             0 Nov  4  2009 ActConf.lk
    -rw-rw-r--    1 mpxadmin mpx             0 Nov  4  2009 Attach.lk
    -rw-rw-r--    1 mpxadmin mpx             4 Dec 22  2012 confId
    -rw-rw-rw-    1 mpxadmin mpx           391 Apr  5  2010 pegstats
    -rw-rw-r--    1 mpxadmin mpx        255639 Aug  2 14:25 stderr
    -rw-rw-r--    1 mpxadmin mpx       1152127 Dec 22  2012 stderr.old
    -rw-rw-r--    1 mpxadmin mpx      516106727 Aug  2 16:50 stdout
    -rw-rw-r--    1 mpxadmin mpx      2588797008 Dec 22  2012 stdout.old
    -rw-rw-r--    1 mpxadmin mpx             0 Nov  4  2009 TCMap.lk
    [mpxadmin@meeting ConfSchd]$
    * EMAIL
    This is an automated message from the MeetingPlace Express system with
    hostname [meeting.afgrp.com] to inform you that disk space is low.
    Details on where the problem is and how to resolve it are indicated below.
    Low space in partition /. Percent used = [90].
    The following files might cause trouble. However, inspect each one to make sure.
    Look specifically for large files with old timestamps. Also, note that some of
    the files indicated might have been previously mentioned. In this case, use the
    prior instructions to handle these files rather than the instructions below.
    If you are uncertain, contact Cisco TAC for confirmation/advice.
    For the files below, use the following procedure to empty these files rather than
       delete them outright.
             1. For each file to be emptied do:
                 cat /dev/null > <filename>
             2. After all files that you wish to empty have been emptied, do:
                 su   // Enter 'root' password.
                 mpx_sys restart
    -rw-rw-r--   1 mpxadmin mpx     283120801 Apr 11 02:00 /var/mp/ConfSchd/stdout
    -rw-r-----   1 root     root     127007041 Dec 22 05:30 /var/spool/compaq/cma.log
    In general, to free up disk space where it is uncertain exactly what files are in question,
       do the following:
    1. In general, go to places like /root, /mpxadmin, /tmp and do "ls -la" to look
         for large files. If a file is large, old, and seems like some kind of log or
         error file, it could be a candidate for deletion.
    2. Generally files of type log (*.log), stderr, stdout, or txt (*.txt) are the
         best candidates to look for. A good command to look for these types of
         files with size of 10,000,000 bytes or larger is:
           find / -name "<file type>" -exec ls -la {} ; | awk '{if( >=10000000) {print} }'
         For example, to look for all log files 10,000,000 bytes or larger on
           the entire system:
             find / -name "*.log" -exec ls -la {} ; | awk '{if($5 >= 10000000) {print} }'
    3. If you have a specific problem partition that you are trying to reduce size
         for, do the following:
         1. Find out the directory name of the top of the partition from "df".
         2. "cd" to that location.
         3. Then do: du -x -b --max-depth=1
         4. Look for the directories that are really large.
         5. Then "cd" into the worst subdirectory (or subdirectories).
         6. Get a list of all large files from current directory location and lower:
               (This example assumes 10,000,000 bytes and a check for .log files.
                   Note the starting location of '.' (current location) rather
                   than '/' (entire disk) ).
               find . -name "*.log" -exec ls -la {} ; | awk '{if($5 >= 10000000) {print} }'
    Complete output of the 'df' command:
    Filesystem           1K-blocks     Used Available Use% Mounted on
    /dev/sda1             6048320   5111204   629876 90% /
    /dev/sda6             4032092   767336   3059932 21% /common
    /dev/sda2             8064304   6492268   1162380 85% /db
    /dev/sda9               256667     8416   234999   4% /grub
    /dev/sda7           122154520   110696 115838720   1% /mpx-record
    /dev/sda5             5036284   3577128   1203324 75% /opt
    /dev/sda3             6048352   109032   5632080   2% /partB
    none                   1026932     22624   1004308   3% /dev/shm

    Hi Josh,
    It seems that the root partition of the MeetingPlace Express server is almost full. I have attached a document for your reference which can be used to minimize the disk space issues.
    Once the steps mentioned in the attached document are completed, run the command "df" to check the disk space.
    If you do not see much improvement in the root partition, then in that case some other files might need to be removed from the server to increase the root partition space.
    If any of the partitions reach upto 90% or above, then the server might behave unexpectedly.
    Feel free to revert if you have face any issues or have any queries.
    Regards,
    Rishabh

  • Have a new computer with iMovie 11.  It won't let me create a project.  It says to check my disk and permission to write projhects.  What's with that?

    I have a new IMAC with iMovie 11.  I cannot create a project because I get a message saying to check my disk space and permissions to see if I can write projects.  How can I start a project??

    any luck finding answer? i have the same problem.

  • Increase  Free disk space for "rac1:/tmp"

    Hello All,
    I am trying to install Oracle 11gR2 RAC on Linux 5.5 32 bit.
    when i run to check the prerequisite steps i am getting the below error:
    Check: Free disk space for "rac2:/tmp"
      Path              Node Name     Mount point   Available     Required      Comment    
      /tmp              rac2          /             486MB         1GB           failed     
    Result: Free disk space check failed for "rac2:/tmp"
    Check: Free disk space for "rac1:/tmp"
      Path              Node Name     Mount point   Available     Required      Comment    
      /tmp              rac1          /             470.89MB      1GB           failed please can you help to increase the /tmp to 1 GB.
    Regards,

    NB wrote:
    Hello All,
    I am trying to install Oracle 11gR2 RAC on Linux 5.5 32 bit.
    when i run to check the prerequisite steps i am getting the below error:
    Check: Free disk space for "rac2:/tmp"
    Path              Node Name     Mount point   Available     Required      Comment    
    /tmp              rac2          /             486MB         1GB           failed     
    Result: Free disk space check failed for "rac2:/tmp"
    Check: Free disk space for "rac1:/tmp"
    Path              Node Name     Mount point   Available     Required      Comment    
    /tmp              rac1          /             470.89MB      1GB           failed please can you help to increase the /tmp to 1 GB.
    Regards,Set different directory for TMP and TMPDIR environment variables:
    TMP=/tmp_directory; export TMP
    TMPDIR=$TMP; export TMPDIR

  • Insufficient Disk Space error during installation of OEPE

    I tried to install OEPE under Oracle Linux 5. During the installation, I got the "Insufficient disk space error" saying there is only 0MB available at my home directory. I checked my disk space and found that was not the case. I have no clue why I got this error and how to solve the issue. Any help would be appreciated.
    [lixuxu@slc01pne ~/download]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/xvda1 144G 19G 118G 14% /
    tmpfs 5.8G 0 5.8G 0% /dev/shm
    slcnas411:/export/home1/lixuxu
    6.0T 3.5T 2.6T 59% /home/lixuxu
    slcavere01.us.oracle.com:/vol/ade_infra/prod/LINUX
    96G 5.9G 91G 7% /usr/dev_infra/platform
    slcavere01.us.oracle.com:/vol/ade_infra/prod/GENERIC
    96G 5.9G 91G 7% /usr/dev_infra/generic
    slc1001nap:/vol/local/x86/redhat/50_prod/packages
    1.1T 1023G 58G 95% /usr/local/remote/packages
    slc1001nap:/vol/local/linux/redhat/packages
    1.1T 1023G 58G 95% /usr/local/redhat/packages

    Hi,
    Are you using the the all-in-one installer or the one which includes WLS as well. Do you face similar issues when installing Eclipse JEE package ?
    thanks
    Raj

  • Not enough disk space error - but not rea

    I have a Nomad Jukebox 3 - no really. It runs like a champ!? I use it most often for recording 44KHz audio. I just did the auto-update thing for the mediasource and plugins, blah blah blah. Now I can't sync a large recording (about .4GB)?to my computer. It gives me this error:?There is not enough disk space at the destination for this transfer. this is obviously a bug because it was working before the update. Please HELP!!

    I have the same problem - a Jukebox 3 which usually refuses to transfer files over about a gig.
    My old system disk was 30Gb, and it always worked OK with that, but when I reinstalled everything on a 20Gb disk, I got problems. I slightly suspect it may get confused when it checks for disk space by a disk that's a lot bigger than was available back when the Jukebox 3 came out. If anyone knows how to fix this I'd be most grateful - last time I had to record the audio in through my soundcard!

  • Dangerously low on disk space

    My iMovie projects are saved to an external 160 GB Firewire hard drive. Even with 60 GB freespace on the drive, I frequently get the "Dangerously low on disk space" warning
    The external hard drive is formatted as as MAC OS Extended (Journaled) and is not partitioned.
    My current project is at 18.7 GB.
    Any suggestions?

    I'm seeing the same thing. Durning a long capture in iMovie HD 6.03 the import from camera I get the 'dangerously low on disk space' warning and at some point -- then or later, don't know which -- the capture stops.
    The duration before stopping was close to 10 hours, and the data took 113855236 K on disk, which left only 954.8 Gbytes on my 2 Tbyte -- yes, Tbyte -- external drive. The system drive had 89.95 Gbytes left at that point.
    Seems to be a bug in the code checking for disk space, it appears to me.

  • Disk Space Disappearing After Today's Updates - Please help

    Hi there everyone. I'm having major problems with my mac pro today, and for the first time, I cannot fix it. Please help me. I will try to explain what happenned. Like most, I was very excited about the release of ios 5 today. I downloaded the Lion 10.7.2 update, the ios 5 updates, iTunes and the iPhoto update. I installed of these without problems and then I enabled iCloud. I then decided to first update and restore my iPad 1 to ios 5. This worked perfectly fine and my computer was running fine. Then, I decided to update my iPhone 4 next. This is when I started running into problems. I updated it and then went to restore it from a a backup. This did not work, I got an error message that told me it was unable to restore the phone becasue it was unable to create backup.
    So, I then checked the disk space for the main Lion drive and it was at zero. I thought, well I was sure I had at least a few gigs, but maybe I used them. So i deleted enough files to create 5GB of free disk space. I then tried to run it again, and I watched as my disk space slowly went down to zero again. I thought maybe it needed even more space than that. So I rebooted the machine and yet my disk space did not reappear. I had about 200mb when I rebooted. Then i noticed it was randomly fluctuating and went down to zero again. I then deleted another 3gb of files and created more disk space to try again. The same thing happenned again. I have now rebooted the machine again. When it first rebooted it had 500mb of disk space, it then fluctuated and went down to zero again. It is going between 67mb and zero every minute or two, and then goes up to 400MB, then reduces down to zero again. What is happenning? I have not opened any applications except for safari right now. Do we think there is a problem with my virtual memory or disk all of a sudden? It seems strange this happenned today. it must be related to one of the updates? I thought it might be icloud. So I have diabled that completely and the fluctuations have not stopped.
    I would really appreciate any help anyone can give. I cannot think what the problem is. I cannot even run Techtool to check anything because nothing is working with no space for memory. Every time I delete files it goes down to zero anyway.
    Thank you very much

    How much space is your Other using? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • Insufficient Disk Space to Install: WRONG

    Greetings. I'm trying to install the most recent flash player
    9.0.45 on an elderly computer. It currently has 7.0.19 installed. I
    am minorly computer savvy but staying with a friend who is not and
    her computer is an OLD HP running Windows XP. I've downloaded the
    installer but receive this error during installation:
    You do not have sufficient disk space to complete this
    installation.
    Please free 5000k and try again.
    This drive currently has 1.47 GB of free space. I'm baffled.
    Any help?

    The Adobe Flash installer for Windows version "9,0,45,0"
    checks the
    available space on drive C:\. If there is less than 5 MB
    available
    installation will fail. It fails silently on MSIE 6 with only
    the
    message: "Installation Failed [Try Again] or [Cancel]".
    With Firefox it actually says there is not enough space.
    This is a BUG in the Adobe installer. Windows programming 101
    says
    "NEVER hardcode drive letters". The installation program
    should be
    checking one of these environment varibles:
    HOMEDRIVE=E:
    ProgramFiles=E:\Program Files
    SystemDrive=E:
    SystemRoot=E:\WINNT
    windir=E:\WINNT
    As you can see, on my machine Windows is installed on drive
    E:\.
    This is a Dell PC with a new reinstall of Windows XP SP2.
    I did a fresh install, not an upgrade or repair.
    For some reason Windows XP selected my ZIP-250 removable disk
    as
    drive C:, the CDROM drive as D:, and the hard disk as E:\.
    -No big deal, as I don't care if Windows is installed on E:
    instead
    of C:. The point is that Windows did this, not me. I assume a
    lot of other computers out there have the same configuration.
    Since no removable disk was in the ZIP-250 drive, the space
    available on C:\ was 0 MB (zero MB).
    I put a ZIP disk in the drive, and Flash Player installed for
    Firefox with no problems. I removed the ZIP disk, and tried
    the
    MSIE 6 install again and got the same error:
    "Installation Failed [Try Again] or [Cancel]".
    I shoved the ZIP disk into the drive, clicked [Try Again],
    and it
    installed. Geez! -That was 2 hours I'll never get back!
    Windows has been out for nearly 20 years now, and some
    programmers
    still don't know to use the environment varibles? I CANNOT
    believe
    anyone would hardcode "C:\" into an installation program.
    Why check for disk space anyway? Just install and tell
    backout
    if things go south. Also, the "subst C: E:\" work-around
    suggested
    earlier did not work on my system. Likely because C: already
    was
    present. I haven't used subst since the 1980's on a DOS
    program.
    Such a work-around is inexcusable.
    Scott Mickey

  • How to find out disk space?

    I know two ways to get some information about HD space. One is to Control-click on Mac HD and select Get Info. A dialog is displayed with detail information which contain Capacity, Available and Used numbers in GB.
    Another way is to use Terminal with command df -lhg. This command displays similar information. However, by using command, the numbers I get are less than those in Get Info. They are not the same. Not sure if my command is correct or not. If not, what is the correct command to get disk space information?

    Great! I will not need to worry about to reset the BLOCKSIZE back to the default value.
    One thing interesting. Before I installed the Snow Leopard, I checked my disk space with Get Info. My HD available space was about 466GB. After the OS update, Get Info shows the capacity as 499GB. I thought that I got 30GB more space back. Actually, today I realize that the Get Info value of the pre-OS as based on the binary decimal, and the Get Info value of the Snow Leopard is 10-based decimal! This explains my question about my question of the difference of the Get Info value and the value of command "df -lhg"! "df -lHg" shows the same result, which is 10-based decimal value! I actually did no get more than 30GB disk space.

  • Whoa - Disk Space?!?

    I recently purchased a Canon Vixia HG 20 camcorder with a 60 GB hard drive. I quickly realized that the 120 GB drive in my MacBook Pro wasn't going to last too long and have added a 1 TB external drive. After a recent import of HD video to my computer I checked my disk space and found that the 12 GB on the camera translated to over 60 GB on the computer. Apple support explained to me that this is normal and that when transferring the video a decompression takes place. My 1 TB drive isn't going to last long - we just had our first baby. Does anyone have any tips for storing the videos in the compressed format and decompressing them when I am ready to work with them? I can't afford to keep purchasing disks. Also, the hour and a half worth of video took between three and four hours to transfer over - any ideas on how to speed this up?

    Hi
    Don't want to "Put salt in the wound" (or hurt Your feelings)
    But this is why I stayed with miniDV tape Cameras - now about 300 tapes
    I can't guess how many hard disks needed to archive this.
    In iMovie 08 and 09 the function to Copy back to Camera is omitted so making
    back-up tapes on another Camera is no working way either.
    This function existed in iMovie 1 to 6.
    DVD disks.
    • Fragile - one scartch = Dead
    • Time stability - discussed
    Blue Ray disks
    • Who knows? - they store more
    Sorry to not be able to give a good solution to this Major dilemma.
    YTours Bengt W

  • Increse disk space

    I am getting a error: you do not have a enough disk space to create a database during the Oracle installation on Redhat linux.
    I checked my disk space by using df - k
    1k-blocks used available use%
    /dev/hda2 12199504 10456404 1123390 91% /
    /dev/hda1 101089 9323 86347 10% /boot
    How can I increse the disk space so that I can have the enough disk space to install a database?.
    My local hard drive is 12GB , and RedHat Linux is the only OS on this machine.
    Jung

    Hello,
    It seems that you don't have much space free on the system.
    Did the installation of Oracle Finished?
    If so you can use the "database configuration assistant" to create a database that uses less space.
    Another option is to install a new hard disk and install the database on it. You can create a new filesystem on this new disk.

Maybe you are looking for

  • When tyring to open some PDFs Photoshop CS3 crashes

    Photoshop CS3 has been crashing when trying to open some of the PDF files. This doesn't happen with all the PDFs, only some of the PDFs are crashing CS3. We are not able to open these PDFs(which are crashing CS3) in CS2 also. But surprisingly these P

  • DVD Player can't read files burned in Finder

    Hello all, I had an avi file that I converted to play as a DVD using ffmpegx. I burned it to a DVD-R in the Finder, ejected it, popped it back in and the DVD player says "supported disc not available." It plays fine in one of my DVD players (curiousl

  • Write DVD/CD unit to a G4

    Have a Mac G4 running OS 10.4.11 with the play only DVD/CD unit installed still. Can a write DVD/CD or a unit similar to a super drive be installed? Easily that is.

  • JSP is not updated after redeploying new war file

    Hi I have a simple code change in JSP in a war file. When I redeploy the war file, I do not see modified JSP. Very strange. I am using Weblogic 8.1 and copying new war file under Admin/upload folder. Thank you RM

  • Error with Windows NT?

    Hi, i just installed the JMF Performance Pack for Windows. When auto detecting Capture Devices, i recieve (german) 'Ordnungsfehler 6' in dsound.dll. What does this error mean? (Fehler=error) thanks in advance, JCheckBox