Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is total field in ls -lRa

984266Oct 9 2013 — edited Oct 10 2013

HI all,

It seems that is a very simple question but it really causing a lot of trouble to explain this to my management.

We have a task to copy the directory from server 1 to server 2 said the folder is /abc

/something/something/backup1:  <- server1

total 117763

drwxrwx---   3 vip app 14 Oct  9 11:05 .

drwxrwx---   6 vip  app 6 Oct  8 23:52 ..

-rw-rw----   1 vip app 38594 Oct  7 23:48 ddd.sss.gz

..............

................

...........

========================

/something/something/backup1: <- server2

total 117761

drwxrwx---   3 vip app 14 Oct  9 11:05 .

drwxrwx---   6 vip  app 6 Oct  8 23:52 ..

-rw-rw----   1 vip app 38594 Oct  7 23:48 ddd.sss.gz

..............

................

...........

as you can see , the ls -l output of 2 servers are the same except the " total"

server 1 is 117763 and server 2 is 117761.

Although there is only a small different, but it still a different, I have verified all the cksum of the file, file in the sub folder, all the same.

actually how does this "total" in ls -l  is computed? any idea why is it different although all the file I copied is the same. 

This post has been answered by Pascal Kreyer-Oracle on Oct 10 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2013
Added on Oct 9 2013
3 comments
836 views