uninstall a agent on a local zone

Can anyone tell us how to uninstall an agent on a local zone.We issued the es-uninst on a local zone and get the following result:./es-uninst es-uninst is not a valid command inside sparse zoneExiting...
[238 byte] By [peternla] at [2007-11-26 13:01:40]
# 1

Well, that's the thing about sparse zones - the software isn't actually "installed" there. It's shared with the global zone. The /opt filesystem is "linked" in and the software configured to run from that shared filesystem. I guess you could "unconfigure" it - not that I can find instructions on how to do that. My best guess to doing that would be to delete /var/opt/SUNWsymon and remove/disable the related svcs services.

Uninstalling in the global zone will affect/uninstall sparse zones.

CraigWyllie-HalcyonInc.coma at 2007-7-7 17:03:33 > top of Java-index,Administration Tools,Sun Management Center...
# 2
I ran into a problem yesterday where I wanted to do this and I wound up uninstalling SMC from all zones and the global zone then reinstalling.
wks9326a at 2007-7-7 17:03:33 > top of Java-index,Administration Tools,Sun Management Center...
# 3
Sorry for my late answer.The replies sofar from Sun is that we have to remove the software manually. So delete /var/opt/SUNWsymonstop the service and delete it.
peternla at 2007-7-7 17:03:33 > top of Java-index,Administration Tools,Sun Management Center...
# 4
Given a sparse root zone having the SunMC agent enabled, ALL that one needs to do is, remove <zone_path>/var/opt/SUNWsymon directory and you rid of the stuffFor a whole root zone, one needs to do the proper es-uninst.
achita at 2007-7-7 17:03:33 > top of Java-index,Administration Tools,Sun Management Center...