- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk usage
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
Forums
Discussions
Discussions
Discussions
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
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
09-06-2002 05:45 AM
09-06-2002 05:45 AM
Disk usage
I have a 4 GB HDD and different filesystems like /, /stand,/home etc. All these filesystems consumed 2GB. How do i know how much free space available on disk using any command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:47 AM
09-06-2002 05:47 AM
Re: Disk usage
$ bdf -l
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 204800 40330 154277 21% /
/dev/vg00/lvol1 127573 45019 69796 39% /stand
/dev/vg00/lvol9 1024000 481316 513435 48% /var
/dev/vg00/lvol8 1576960 802403 727215 52% /usr
/dev/vg00/lvol7 65536 5244 56561 8% /tmp
/dev/vg00/lvol6 1024000 282213 695460 29% /opt
/dev/vg00/lvol5 1024000 405126 580289 41% /home
It gives total, used and available for each file system.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:53 AM
09-06-2002 05:53 AM
Re: Disk usage
'bdf' reports used and free space on mounted filesystems.
If you want to know allocated and free space on a *physical* disk, use:
# pvdisplay /dev/dsk/cXtYdZ
For a volume group (at large) use:
# vgdisplay /dev/vgXX
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:56 AM
09-06-2002 05:56 AM
Re: Disk usage
vgdisplay vgXX | grep -i Free
vgdisplay vgXX | grep -i Size
take the results of each and multiply.
so you may see 500 and 4, when multiplied would give your 2000MB or 2GB.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:58 AM
09-06-2002 05:58 AM
Re: Disk usage
As per JRF, we can find the free disk space.
Another method is by using SAM.
try to create a dummy logical volume (lvol), it shows the total disk space remaining
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 05:59 AM
09-06-2002 05:59 AM
Re: Disk usage
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2002 04:54 AM
09-08-2002 04:54 AM
Re: Disk usage
http://forums.itrc.hp.com/cm/TopSolutions/1,,BR702248!1!questions,00.html
live free or die
harry