Total

i want to list Total HDD count in any soalris machine..can someone suggest some commands or combinations of commands

This information should be available via format command.

Something like :
echo | format | wc -l

no this command will not be of any help..thanks..:slight_smile:
Any more suggestions please

Why not? What do you expect?

iostat -E | egrep -c '^sd|^dad|^ssd'

will count a CDROM, too.
But not

format </dev/null | grep -c '[0-9]\.'

Peasant's suggestion will list the requested data. What's wrong with it?

thank you very much for your suggestion and help..
This forum is very usefull for ppl like me who are new to Admin field.
Thanks again:)