ZFS file system - memory monitoring

I am working on a server where the 'root' user ZFS filesystem.

Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total size of the server is 32G.

I think rest of the space is held up by ZFS file system.

Is there a way to find the actual free space left?I want the user to be alerted when the actual memory left is <500M

Are you on Solaris? If so do:

echo "::memstat" | mdb -k

Yes.I am on Solaris.

Getting the below given error

mdb: failed to open /dev/mem: Permission denied

Did you run this command as root?

No.I am not the 'root'

Well, then you might want to ask your SysAdmin to execute this command for you.