Re: Linux command to display total disk capacity

2002-03-05 Thread Marin Dimitrov
- Original Message - Does someone know what command can be used to display total capacity of disk drive? I can use command df -k but it breaks partitions apart so I have to add them up. I need command just display a total. for an IDE drive do: cat /proc/ide/xxx/capacity

RE: Linux command to display total disk capacity

2002-03-05 Thread Michael Cupp
Disk capacity is relevant to partition. Your df -k could show 10 partitions, this could be 10 1 drive, or 10. You might find what you need in fdisk, but use it with caution if you aren't a unix admin. -Original Message- Sent: Tuesday, March 05, 2002 9:59 AM To: Multiple recipients of

Re: Linux command to display total disk capacity

2002-03-05 Thread Alex
pipe df -k to awk and sum the column you want On Tue, 5 Mar 2002, Nguyen, David M wrote: Does someone know what command can be used to display total capacity of disk drive? I can use command df -k but it breaks partitions apart so I have to add them up. I need command just display a