For those who suggested using truss, that's how I know what iostat is doing. The best came from Justin Stringfellow <Justin.Stringfellow@Sun.COM> main { system("iostat -E") /* got get beer */ } Final result: It looks like a lot of hassle to get a "generic" program for all releases, so I'll stay with command line stuff. Orignal post: I'm trying to come up with a way to progammatically generate information about disks, with such information as type (i.e. EMC, A3500, Photon, etc)and size. The "iostat -E" has this info along with too much other info. Does anyone know how "iostat -E" gets the info (which calls, sub-commands)? _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Wed Nov 7 11:59:32 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:27 EST