Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: sum of file size ????

RE: sum of file size ????

From: <Scott.Shafer_at_dcpds.cpms.osd.mil>
Date: Tue, 22 May 2001 11:25:44 -0700
Message-ID: <F001.0030B373.20010522112843@fatcity.com>

type "man du" (no quotes) at the unix command line.

du(1)                                                                 du(1)

 NAME
      du - summarize disk usage

 SYNOPSIS
      du [-a|-s] [-bkrx] [-t type] [name ...]

 DESCRIPTION
      The du command gives the number of 512-byte blocks allocated for all
      files and (recursively) directories within each directory and file
      specified by the name operands.  The block count includes the indirect
      blocks of the file.  A file with two or more links is counted only
      once.  If name is missing, the current working directory is used.

      By default, du generates an entry only for the name operands and each
      directory contained within those hierarchies.

    Options
      The du command recognizes the following options:

           -a             Print entries for each file encountered in the
                          directory hierarchies in addition to the normal
                          output.

           -b             For each name operand that is a directory for
                          which file system swap has been enabled, print the
                          number of blocks the swap system is currently
                          using.

<snip>

Scott Shafer
San Antonio, TX
210-581-6217

"And no amount of training or preparedness can eliminate the almost certainty that in the middle of your Angry Crane stance, as you transition to your Combative Monkey to administer the Coup de Gras via your Ninja Death Touch, you step on a beer bottle and fall backwards into the juke box and get your head stove in by a drunk with a pool cue." --Jay Trigg

> -----Original Message-----
> From: Andrea Oracle [SMTP:andreaoracle_at_yahoo.com]
> Sent: Tuesday, May 22, 2001 1:39 PM
> To: Multiple recipients of list ORACLE-L
> Subject: sum of file size ????
>
> Hi,
>
> OK, as you know, I don't know too much about Unix:
>
> When you do a ls -l and see the individual file size,
> is there a command to show the sum of all the file
> size? Thank you!
>
> Andrea
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Scott.Shafer_at_dcpds.cpms.osd.mil

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue May 22 2001 - 13:25:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US