Get Unix disk space available and assign it to a pl/sql variable

Hello,
From withint pl/sql, how do I get disk space(df -k) vailable from the os and assign that number to a pl/sql variable? I want to write a stored procedure that will look into how much space left on a os mount point. Thank you.

You can check this thread
http://asktom.oracle.com/pls/ask/f?p=4950:8:13164696856450032216::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241

Similar Messages

  • Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive.

    Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive. (The problem is that Safari could not download the file "iTunesSetup.exe" because there is not enough free disk space.Try deleting documents or downloading to another drive) ... Perhaps this is the main problem why can not open iTunes and inscription is: the folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "Music" folder. - And after options ok, appears option: Choose iTunes Library with inscription iTunes needs a library to continue. You may choose an existing iTunes library or create a new one - but still following options Choose Library and the following options can not open iTunes ... Please for instructions on how to eliminate the problem or eror ...
    Mac is running OS X v10.6.8, Safari should be 5.1.10. Or  Mac OS X  /  Version  10.6.8  /  Build 10K549 / Serial Number W8****ATM  /  Processor 2.4 GHz Intel Core 2 Duo  /  Memory 4 GB 1067 MHz DDR3 or More Info:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2,4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1,07 GHz
      Boot ROM Version: MBP71.0039.B0B
      SMC Version (system): 1.62f7
      Serial Number (system): W80394HFATM
      Hardware UUID: 94647506-C5D0-5D73-BC7F-FC680D238F43
      Sudden Motion Sensor:
      State: Enabled
    <Personsl Information Edited by Host>

    buy an external HD   1TB for $60
    NO notebook is a mass storage device, so dont try to turn it into one, it doesnt work that way.
    Unless youre using it every couple weeks, its static data and should be on an external HD
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace.  You should never be put in the position of considering “deleting things” on your macbook SSD in order to ‘make space’.
    Professionals who create and import very large amounts of data have almost no change in the available space on their computers internal HD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your macbook has a HD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your computer to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.

  • I bought a game that has 16.66 GB and my computer has 30 GB free, however when I try to install it it says there is not enough disk space available.

    Whenever I try to install the game it says there is not enough disk space available. I have tried to delete things that take up space but it did not help.
    Game:Napoleon Total War

    30GB's free disk space is not enough. If you don't free up storage space soon, your Mac may not boot which is why you see the, "not enough disk space available" dialog.
    Control click the MacintoshHD icon on your desktop or open the Finder, right or control click startup disk in the Sidebar on the left then click Get Info.
    You'll see Available and Capacity. Make sure there's at least 15% available disk space.
    Freeing space on your Mac OS X startup disk
    Restart your Mac after deleting data to see a difference in storage space.

  • Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.

    Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.
    Attempted solutions:
    -I created a new User Account and I can download large files with no issues.
    -I ran "Repair Disk Permissions" but still get warnings.
    Google Drive Warning:
    Spotify Warning:        
    But on my other user account I can use spotify and download large files, etc.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Problem: There is not enough disk space available to process clips. Clear some space and try again.

    Hi there.
    I am running the newest FCPX 10.0.9 and Mavericks, and I am editing a large multicam project. I have approx. 190 GB left on my external event/project disk via USB3 (it has 2TB in total), and I get the error message:
    "There is not enough disk space available to process clips. Clear some space and try again."
    when I am trying to add clips to an angle in one of my multicam clips. I have made more than 8 multicam clips in the same event, without that problem, but now it won't let me add more.
    What's the problem?

    This was driving me nuts as well until I found the sneaky checkbox. In the editing tab in Preferences there is a checkbox for "Optimize media for multicam." If that's checked, Final Cut is rendering ProRes files for every clip you bring into multicam, so it just eats memory. Unchecking that solved my issues; hope it helps you or anyone who comes across this!

  • When I synch my ipod touch it only lets 50 videos get on ipod . I can't get the other videos on even though there's plenty of space available and it's set to synch all movies

    When I synch my ipod touch it only lets 50 videos get on ipod . I can't get the other videos on even though there's plenty of space available and it's set to synch all movies. What am I missing?

    i had the same problem. did a lot of research..my phone became unusuable. do you use the htc mail? if so that is your problem. there is a bug with it that it keeps eating your memory until you cannot use your phone. i had to do a hard reset. back to factory condition..not happy! but then went to the marketplace and got k-9 mail. that is now my default mail program. i have not had any issues since then. this is what i kept reading over and over for complaints on this phone. it is a major glitch and the only way, as of the time it happened to me, to fix it..

  • I'm trying to install CS6 and I keep getting insufficient disk space.

    I'm trying to install CS6 and I keep getting insufficient disk space
    It tells me the C: drive doesn't have enough space but I'm trying to install it on the D: which has terabytes of space.

    Please refer the discussion on the thread : http://forums.adobe.com/message/5225960#5225960

  • I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.

    I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.  I have cleared my backup logs from Time Machine, checked the mail folder, cleaned out tons of photos and videos and it still keeps filling back up.
    In checking the log files, here is the message repeated over and over....
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: CoreData: error: (21) I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file'
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: Core Data: annotation: -executeRequest: encountered exception = I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file' with userInfo = {
                  NSFilePath = "/Users/donjr/Library/Calendars/Calendar Cache";
                  NSSQLiteErrorDomain = 21;
    Jul  4 07:18:14 Donald-Keele-Jrs-iMac-123.local cfprefsd[180]: CFPreferences: error creating file /Users/donjr/Library/Preferences/com.apple.iPhoto.plist.t3l894p: 28
    Jul  4 07:18:30 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: [0x16697c0] |ISyncSession|Warning| com.microsoft.Entourage2008: transitioning to cancel - session cancelled by server: Client 'com.microsoft.Entourage2008' tried to start a session for the plan 45AD80C3-0D52-4CF2-8CBA-103564B6C47C and the plan no longer exists.
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Applications/Microsoft Office 2008/Office/Microsoft Sync Services.app/Contents/Resources/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Users/donjr/Library/Sync Services/Schemas/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: macx_swapoff SUCCESS
    Jul  4 07:19:31 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Any ideas on what to do next?
    I'm running and iMac 20-inch  early 2009
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  8 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400 256 MB
    Software  OS X 10.8.4 (12E55)

    Step 1
    Quit Calendar. Triple-click the line below to select it:
    ~/Library/Calendars/Calendar Cache
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window should open with a file named "Calendar Cache" selected.
    Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
    Step 2
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash as well:
    iPhoto ▹ Empty Trash
    Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Getting "Low Disk Space" message in ProCamera photo app

    I'm getting "Low Disk Space" message in ProCamera photo app but I have 8 gigs of available storage. What gives and how do I get around it? Thanks.

    Ask the app developer or look at their support site.

  • MTA msg:MSLOCAL: Less than 1 kBytes of disk space available

    I just started seeing these a few days ago and I know for a fact there is a huge amount of disk space on the server hosting the MTA, so I am not sure why these messages are appearing:
    <01/25/12 04:11:51> DIS: MSLOCAL: Less than 1 kBytes of disk space available
    <01/25/12 04:51:51> DIS: MSLOCAL: More than 1 kBytes of disk space available
    The messages have show up a handfull of times since 1/20. Could not find anything on other forums, or in the KB. Any ideas?
    Thanks in advance!

    This is the amount of LOG space configure for the POA ( see Console One --> POA Object --> logging configuration. ) You get this message when it exceeds the limit you specify and it has to clean up old logs to make room.... hence the "Less Than 1 KB" ( I deleted stuff ) "More Than 1 KB" pattern. You may just just started to exceed the size limit, and previously were just riding on the log file aging alone which would clean out old logs. You can up the limit if you want to ensure N-days of retained logs.
    -- Bob

  • There is not enough disk space available at the selected destination. Please choose another one or clear some space

    Importing a small motion movie into fcpx and I get this error "There is not enough disk space available at the selected destination. Please choose another one or clear some space"  the destination is a new 6TB raid thats empty.  I've created a new library  on that drive and still get the same error!  help..

    Did you format your new drive to MAC OS Extended?
    Al

  • Receiving a "There is not enough disk space available to install the product" error in App store while I clearly have enough space?

    I am attempting to purchase Dues Ex: Human Revolution which requires 17GB to run, I currently have 27.34GB free.
    Even though I have 10GB more than the required space I still get the "There is not enough disk space available to install the product"
    Any ideas?

    HI...
    You need at the very least 15% free disk space. More if possible. Definitely not enough free space to install a 17GB app.
    OSX Tips Where did my Disk Space go?
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    And make sure your Mac meets the app's minimum requirements which according to the App Store is Mac OS X 10.7.3 or later under Information right side of the App Store window.
    edited by:  cs

  • Upgrade the OS from Maver to Yosemite.. message "There is no enough disk space available to install this product". Please help.

    I have 5.12gb space on my Macbook Air (Mid 2012). But when i attempt to upgrade the OS from Maver to Yosemite, i get a message "There is no enough disk space available to install this product". Please help

    You need to temporarily free up additional drive space - the Yosemite download itself is just over 5GB and then it needs more space to install it. Once the new OS is installed the installer will be deleted. Music and movie files are large and will be the most convenient files to remove to an external drive.
    On another note it isn't a good idea to try to run the computer with so little free drive space. Look for files you can offload to an external drive permanently. For example, I keep my music and movies on an external drive. You can keep a small assortment of music on the computer but save lots of space by keeping the regular media library off the computer.

  • Formula - Get the remaining space available on the report page

    Post Author: Gerd
    CA Forum: Formula
    Hello,
    i need the output positions (on Page) of the last record of a group.
    It is possible the get the output coordinates (Pager x and y-Position) of this record.
    Or it is possible to get the remaining space available on the report page with a formula ?
    The formula should look like this. (e.g.)
    if OnLastRecord and
    ReportFieldName.OutputPositionY  > MyLimit then
    ..... &#91;do something&#93;
    or is this there a property where i can get the last output position
    thanks

    Post Author: synapsevampire
    CA Forum: Formula
    You'd need to keep a counter of lines used per page to do this.
    The amount of space isn't a property or a functionj within Crystal itself.
    Perhaps you shoukld post why and what the requirements are rather than asking that a specific architecture be used.
    I' can tell that you're bright, however there just might be someone somewhere with a different way of addressing the need.
    -k

  • Creating SCOM 2012 Logical Disk Space Availability View

    Hi Everyone,
    I am looking to create a SCOM 2012 Logical Disk Space Availability View and having a little trouble finding documentation on how to do this. It would be really handy to see all of the servers being monitored and how much free space they have all in one view.
    Has anyone created a view like this before.
    Thanks in advance for all your help.
    JD

    Hi,
    Below are some blogs that will help you to understand more about disk space monitoring
    Writing monitors to target Logical or Physical Disks
    http://blogs.technet.com/b/kevinholman/archive/2009/11/24/writing-monitors-to-target-logical-or-physical-disks.aspx
    OpsMgr: Logical Disk free space alerts don’t show percent and MB free values in the alert description
    http://blogs.technet.com/b/kevinholman/archive/2011/11/17/opsmgr-logical-disk-free-space-alerts-don-t-show-percent-and-mb-free-values-in-the-alert-description.aspx 
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Create a PDF from webpage using entire site option doesn't works

    OK, guys, this is the problem... After YEARS of testing from Acrpbat 4 thru 9 on Create a PDF from webpage using entire site option... it doesn't works properly and doesn't got the entire site. ALWAYS get an error of memory or any other error but FIN

  • Cross-docking in 11i Vs. r12

    Hi all, How does the Cross-docking functionality in Oracle WMS 11i differ from those in Oracle WMS R12? Thanks. Regards, Rubellah

  • Remote Database connection throught JDBC-ODBC

    Hi everybody I've developed an application which connects to a MS Access database throught the JDBC-ODBC bridge; if the database is on my local machine I've no problem at all, but I now need to connect to a database on a remote PC. I've set the DSN e

  • HT201317 Can I use photo stream with Camera+

    I like camera+ but I don't see how to get those photos into photo steam. Help please Glenn

  • Maximum number of still images in a sequence exceeded

    Model Name: iMac Processor: Intel Core 2 Duo Processors: 2.8 Ghz Memory: 4GB Bus Speed: 800MHz FCP 7.0.3 So what's the maximum number of still images that are allowed in a single sequence in FCP 7? Does it vary from FCP 6, 5, Express etc.?