Operating System - HP-UX
1833089 Members
2870 Online
110050 Solutions
New Discussion

"total" in the output of ll command

 
Fredric
Occasional Contributor

"total" in the output of ll command

Hi,

Can anybody tell me what does the "total" represents in the output of ll command.

# ll
total 480
drwxrwxr-x 3 bb bb 96 Feb 6 12:48 test
drwxrwxr-x 2 testusr users 96 Feb 6 12:48 hosts

Thanks in advance
Fredric
no pain no gain
5 REPLIES 5
Paula J Frazer-Campbell
Honored Contributor

Re: "total" in the output of ll command

Hi

The first entry listed is the total number of blocks in the directory. When used in multicolumn output, the number of blocks precedes the file name in each column. The number of indirect blocks in a file is filesystem dependent.


Paula
If you can spell SysAdmin then you is one - anon
Sridhar Bhaskarla
Honored Contributor

Re: "total" in the output of ll command

Hi Fredric,

It's the total number of blocks used by this directory. A block is of 512 bytes.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
I.Delic
Super Advisor

Re: "total" in the output of ll command

hi,

it is totaal number of blocks dat your directory use.

One block is 512 KB

Idriz

I.Delic
Super Advisor

Re: "total" in the output of ll command

Sorry type fout

een block is 512 bytes

Idriz
T G Manikandan
Honored Contributor

Re: "total" in the output of ll command

It is the total number of blocks used by dir.

#ll -s will give you a good picture