Computing.Net > Forums > Solaris > script to check diskspace

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

script to check diskspace

Reply to Message Icon

Name: unixnewbie
Date: August 7, 2003 at 06:45:26 Pacific
OS: solaris 2.4
CPU/Ram: 32
Comment:

I need to know the disksize of the box. example like format command, but this had to be in a script, and also without extra info.
AVAILABLE DISK SELECTIONS:
0. c0t3d0 SUN18G
thanks ahead.




Sponsored Link
Ads by Google

Response Number 1
Name: joe m
Date: August 7, 2003 at 09:43:17 Pacific
Reply:

Try using iostat -En .. then you can parse what you need..

iostat -En | more

sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE Product: ST39102LCSUN9.0G Revision: 0828 Serial No: LJY4307500001004
Size: 9.06GB


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: script to check diskspace

shell script to check a dynamic ip www.computing.net/answers/solaris/shell-script-to-check-a-dynamic-ip/4287.html

checked a script to count the numbe www.computing.net/answers/solaris/checked-a-script-to-count-the-numbe/3894.html

script needed to check files older www.computing.net/answers/solaris/script-needed-to-check-files-older-/4997.html