Activity

  • hipo posted an update 10 years, 7 months ago

    What is Linux’s du -hsc AIX Unix equivalent?
    If you happen to have to do some directory size check up on AIX you will notice the standard du -hsc . or du -hsc directory/ doesn’t work, so how to check the directory size?
    One way is to use df command to so, like so:

    bash-2.05a$ df -g GTIRDB/.
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/lvs_gtirdb 150.00 16.77 89% 28765 1% /GTIRDB

    Second way is with du but with slightly different options:

    bash-2.05a$ du -sm GTIRDB/
    136391.02 GTIRDB/
    bash-2.05a$ du -sm GTIRDB/*
    0.01 GTIRDB/-L
    0.01 GTIRDB/APP
    0.01 GTIRDB/ATTRIBUTE
    18.03 GTIRDB/BIN
    1.00 GTIRDB/CATALOG
    0.45 GTIRDB/CONFIG
    20926.39 GTIRDB/DBCHECK
    2.66 GTIRDB/FONTS
    570.95 GTIRDB/GTI_6.6.19
    574.30 GTIRDB/GTI_6.6p
    208.69 GTIRDB/GTI_6[1].6.11.0p_eam.zip
    68.22 GTIRDB/LIB
    0.00 GTIRDB/LOG
    1.23 GTIRDB/MACRO
    5.07 GTIRDB/MAGICK
    55.23 GTIRDB/PDF
    0.26 GTIRDB/RASVEC
    0.12 GTIRDB/RDB
    113413.34 GTIRDB/SRV
    3.11 GTIRDB/SYSTEM
    33.80 GTIRDB/TCL
    326.32 GTIRDB/UPD
    9.02 GTIRDB/backup10082007
    0.00 GTIRDB/install.lst
    0.00 GTIRDB/lost+found
    0.00 GTIRDB/restore
    0.00 GTIRDB/sichern.sh
    166.93 GTIRDB/tmp
    0.00 GTIRDB/tt
    0.43 GTIRDB/unzip-5.50
    2.58 GTIRDB/utils
    2.56 GTIRDB/utils.tar
    0.27 GTIRDB/zusicherndeDateien

PC Knowledge sharetank

Skip to toolbar