* Roman Naumenko (ro...@frontline.ca) wrote: > Dennis Clarke wrote, On 28.09.2009 16:57: >>> The top command gives "Segmentation fault" >>> >>> # top >>> Segmentation Fault >>> >>> #uname -a >>> SunOS zsan02 5.11 snv_118 i86pc i386 i86pc Solaris >>> >>> Any idea why it might happen? >>> >> >> You may or may not get a core dump from that. >> >> HOWEVER ! I really think you need to NOT use top. >> >> Use prstat to get what you need. Just look at the man page and never use >> top on Solaris if you can avoid it. >> >> > Ok, I didn't know that the top is a bad habit on solaris :)
It isn't a bad habit. That's merely Dennis's opinion. FWIW, top works just fine for me (and has since it was integrated). I use it all the time (it's what I'm used to, coming from other OS's that don't have prstat). All that said, I can't really add anything useful on why it's core'ing for you. You could truss it's execution and see if anything strange happens before it cores. Alternatively, inspect the core file for clues and troll the bug database for any likely candidates. Is this on OpenSolaris? If so, pkg verify SUNWtop would be good to run to make sure the package is installed properly. Cheers, -- Glenn _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org