- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: total hard disk space
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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-22-2002 03:30 AM
01-22-2002 03:30 AM
total hard disk space
thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:34 AM
01-22-2002 03:34 AM
Re: total hard disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:35 AM
01-22-2002 03:35 AM
Re: total hard disk space
# cd /dev/rdsk
#ls gives u the number of physical disks(cxtxdx,...) including CD_drive(which will be last one, usually)
#diskinfo /dev/rdsk/cxtxdx will show u the disksize in KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:37 AM
01-22-2002 03:37 AM
Re: total hard disk space
df -bk will give you a good guide.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:38 AM
01-22-2002 03:38 AM
Re: total hard disk space
I want to get that using single command.
is it possible.
thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:41 AM
01-22-2002 03:41 AM
Re: total hard disk space
size: 8886762 Kbytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 03:50 AM
01-22-2002 03:50 AM
Re: total hard disk space
I want to know the total diskspace available in the system .using one command.
as df -bk will give only for the disk whixh has fs created, i want the total raw spacve available in the system.(for all tyhe disks)
thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 04:15 AM
01-22-2002 04:15 AM
Re: total hard disk space
The is no single command, but how about this attached script?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 04:30 AM
01-22-2002 04:30 AM
Re: total hard disk space
Another script
find /dev/rdsk|while read line
do
echo $line:$(diskinfo $line 2>&1)|grep size
done
Or
find /dev/rdsk|while read line
do
echo $line:$(diskinfo $line 2>&1|grep size)
done
Steve Steel