Reading time: 1 minute
iostat and microseconds
Solaris 11.4 got a small extension to the
iostat command. In a time when storage storage gets faster and faster, you may end in a sitation where the
asvc_t always show zero despite the fact that there is actually some load on the interface. This happens when the resolution of milliseconds
iostat used so far isn’t precise enough. So the
-u option was introduced a while ago in Solaris 11.4. With this resolution is microseconds and so it’s much better suited to monitor your storage devices.
This is a nice example, why this is interesting. Look at the
wsvc_t column. It looks like you have no time in the wait queue for your commands.
But when you look more closely with the
-u option you will see there is actually some wait time.
The default is still milliseconds as scripts (like “alert me when a requests takes longer han 50 milliseonds”) could still depend on the old scaling and you don’t want to get an allert at 50 microseconds.
PS: By the way, don’t dismiss microseconds, they are very important as Admiral Hopper eloquently explained … they could hang around your neck ;)