Wednesday, October 9, 2013

AIX: How to list disk size using getconf

Disk size in AIX can be listed by this command:

for i in `lsdev -Cc disk | awk '{print $1}'`
do
echo "$i \c"
getconf DISK_SIZE /dev/$i
done

No comments:

Post a Comment