HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ll command
Operating System - HP-UX
1828590
Members
2425
Online
109983
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-06-2002 02:03 PM
09-06-2002 02:03 PM
ll command
When an ll command is issued, the results will
show the size of the directories and files. If a new directory is created, it has a size of 96. It will quickly grow to 1024, then 2048, etc as files are added. What exactly does this size indicator mean? It doesn't seem to indicate an actual size.
show the size of the directories and files. If a new directory is created, it has a size of 96. It will quickly grow to 1024, then 2048, etc as files are added. What exactly does this size indicator mean? It doesn't seem to indicate an actual size.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 02:12 PM
09-06-2002 02:12 PM
Re: ll command
no it is just adding information to the header for the directory... at least that is what I think is happening. If you want to check the actual usage under a directory... try this:
du -sk *
this will report, one line at a time and in KB, the amount of disk usage for everything immediately under the directory you are sitting.
du -sk *
this will report, one line at a time and in KB, the amount of disk usage for everything immediately under the directory you are sitting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 03:09 PM
09-06-2002 03:09 PM
Re: ll command
Hi John,
a directory in a UN*X filesystem is just a table containing only the names of the files and their resp. I-Node number. So, the more files you have in a directory, and the longer their names are, the more space that directory will occupy on disk - but it does NOT matter how big the individual files are!
And since directories cannot shrink, even if you delete files, the directoy itself will only grow over time...
Remember that diskspace is allocated in 1KB chunks, usually (HFS: fragments, VxFS: blocks), hence even the empty directory in its "early" days does occupy 1KB (not 96bytes), though only 96 bytes of that space are actually used.
HTH,
Wodisch
a directory in a UN*X filesystem is just a table containing only the names of the files and their resp. I-Node number. So, the more files you have in a directory, and the longer their names are, the more space that directory will occupy on disk - but it does NOT matter how big the individual files are!
And since directories cannot shrink, even if you delete files, the directoy itself will only grow over time...
Remember that diskspace is allocated in 1KB chunks, usually (HFS: fragments, VxFS: blocks), hence even the empty directory in its "early" days does occupy 1KB (not 96bytes), though only 96 bytes of that space are actually used.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 08:36 PM
09-06-2002 08:36 PM
Re: ll command
The directory simply holds the file and inode information.
It will grow over time as files are added to the directory. Remember that the directory size cannot shrink, but typically it uses so little space that it isn't an issue.
It will grow over time as files are added to the directory. Remember that the directory size cannot shrink, but typically it uses so little space that it isn't an issue.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP