prstat on Solaris 8

On Solaris 8, when I try to run prstat 30 5 as a background process, the command exits 1-2 seconds after it's initiated instead of the 30 seconds I specified.

It runs fine in interactive mode.

Is there a workaround to this I could use? (Upgrading the package is not an option)

A link to the sources for prstat would help, if available.

Thanks,
Dev

Why are you running it in background? The only use of doing so is to redirect output to some file like this:

prstat 30 5 > /tmp/prstat &

Then it should work properly (at least it does on Solaris 8 I've tested).