Results 1 to 3 of 3

Thread: df -k

  1. #1
    Join Date
    Dec 2010
    Posts
    123

    Unanswered: df -k

    $ df -k /home
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/hd1 12582912 909332 93% 11707 6% /home

    can any one expalin what is 1024-blocks(12582912) , it is in bytes or KB????what its value of Free(909332)in MB

    db2 "call get_dbsize_info (?,?,?,0)"
    Value of output parameters
    --------------------------
    Parameter Name : SNAPSHOTTIMESTAMP
    Parameter Value : 2011-01-13-16.29.03.850494

    Parameter Name : DATABASESIZE
    Parameter Value : 3857137664

    Parameter Name : DATABASECAPACITY
    Parameter Value : 6650431488

    Return Status = 0
    and also clarify can i restore the db with above size on /home??????? is space is enough???
    Thanks in advance

  2. #2
    Join Date
    Jan 2010
    Posts
    335
    The -k tells the df Command to return values in KiloByte.
    So the Filesystem has 12 GB and 900 MB are free.

    Since the Database has a size of 3 GB, you can't restore it to your home-Directory.


    >man df

    GET_DBSIZE_INFO - IBM DB2 9.7 for Linux, UNIX, and Windows

  3. #3
    Join Date
    Dec 2010
    Posts
    123
    Thanku once again Mr.nvk, this info is very useful for me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •