Hi, its possible that your core file doesn't have the environment details stored in it, getenv normally works
Take a look at the pargs(1) command - pargs -e core and see if it prints out anything. - Fintan On Mon, Jul 04, 2005 at 12:13:45PM +0100, Stefan Parvu wrote: < Hi, < < I am trying to determine what was it the current < environment from a core file which belongs to a java < virtual machine process. < < I have tried: < < $ mdb core.26707 < Loading modules: [ ] < > < > ::status < debugging core file of java (32-bit) from saeb2bp42 < executable file: /u01/bea/jdk142_07/bin/java < initial argv: /opt/jdk142_07/bin/java -server < -XX:NewSize=224M -XX:MaxNewSize=22 < > < > ::getenv < mdb: invalid command '::getenv': unknown dcmd name < > < < Is it possible somehow to determine the current env < using ::getenv from a core file ? < < Thanks, < Stefan < < _______________________________________________ < mdb-discuss mailing list < mdb-discuss at opensolaris.org -- fintanr at sun.com http://blogs.sun.com/fintanr @dub03 http://wwws.sun.com/software/solaris/10