save only global processes on global zone ps

Save only processes that are running in the global zone on Solaris.
`while (index < EXPECTED_SIZE)`