Results 1 to 5 of 5
Hi,
Iam working on suse linux 10 on x86_64.
On my system, i have an application dump file ( usually max in GB)
When i try to check the size ...
- 08-27-2008 #1Just Joined!
- Join Date
- Feb 2006
- Posts
- 7
"ls" command issue on file size
Hi,
Iam working on suse linux 10 on x86_64.
On my system, i have an application dump file ( usually max in GB)
When i try to check the size of the file with ls -lh, it's giving huge size(TB)
_____________
*root:/dump> ls -lh core
-rw------- 1 root root 1.8T Aug 25 10:04 core
*root:/dump>
_____________
But when i try to check with ls -sh, i could able to get in GB's
_____________
*root:/dump ls -sh core
417M core
*root:/dump>
_____________
Also when i try to check with du -h command, i could able to get in GB's
_____________
*root:/dump> du -h core
417M core
*root:/dump>
_____________
So we are not able to judge which command to use to check the file size.
also why is this difference.
Thanks in advance.
By
Basu
- 08-28-2008 #2
try
# ls -al
& further reference try
#man ls
- 08-28-2008 #3Just Joined!
- Join Date
- Feb 2006
- Posts
- 7
i tried with "man ls". they have not gievn anything perticular abt that.
But while displaying the size, it should not be so high differnece.
your view on this.
By
Basu
- 08-28-2008 #4Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
In physics problems, the first thing to check are the units and dimensions. Are all the programs providing the same units: characters, blocks, etc? ... cheers, drlWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 08-28-2008 #5Just Joined!
- Join Date
- Aug 2008
- Posts
- 3
wat was tat .....


Reply With Quote