- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls ig giving the wrong sizing?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:02 PM
тАО01-29-2006 09:02 PM
I have a 90 gig filesystem and if I look whit ls there is 100 gig is used
I found that i have some files:
du -ks tempimp_2.dbf
1518616 tempimp_2.dbf
ls -al tempimp_2.dbf
-rw-r----- 1 oraccr dba 5368717312 Jan 26 23:25 tempimp_2.dbf
Does is this a bug in ls ore is ther a explanation?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:11 PM
тАО01-29-2006 09:11 PM
Re: ls ig giving the wrong sizing?
It is not a bug, you can check this thread for more information
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=968235
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:26 PM
тАО01-29-2006 09:26 PM
Re: ls ig giving the wrong sizing?
You have to check as,
du -s filename
ls -s filename
it will be same. It is meaning to show size in 512 blocks.
du -ks filename
ls -s filename (size field * 2 ) will be same to denote 1024k blocks.
Read du and ls man page.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:58 PM
тАО01-29-2006 09:58 PM
Re: ls ig giving the wrong sizing?
"ls -al" gives you the size in bytes and "ls -as" will give you the size in blocks (512 bytes = 1 block)...
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 11:47 PM
тАО01-29-2006 11:47 PM
Re: ls ig giving the wrong sizing?
after reading the man page prealloc
I think that that was used when creating the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 02:02 AM
тАО01-30-2006 02:02 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 02:34 AM
тАО01-30-2006 02:34 AM
Re: ls ig giving the wrong sizing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 02:34 AM
тАО01-30-2006 02:34 AM