Java and Solaris Research
Thursday, October 02, 2008
Just some config documentation for DNS to get bind running quickly: http://everythingsolaris.org/articles/dfd/index.html#introduction
And a quick article on snoop, the equivalent of tcpdump - to be able to check what DNS is doing: http://www.softpanorama.org/Net/Network_security/Sniffers/snoop.shtml
Looks like bad DNS configurations can slow solaris down like crazy from what I am finding...
And a quick article on snoop, the equivalent of tcpdump - to be able to check what DNS is doing: http://www.softpanorama.org/Net/Network_security/Sniffers/snoop.shtml
Looks like bad DNS configurations can slow solaris down like crazy from what I am finding...
Monday, June 19, 2006
Something to look at
Tom Ball's Blog: Optimize a Swing App by Slowing It Down
Well, I must remember to give this a try so I can see if I've got crazy repaints in random places an dthings like that
Well, I must remember to give this a try so I can see if I've got crazy repaints in random places an dthings like that
technorati tags:Java, Optimization, Swing
Friday, June 16, 2006
How to get more diag out of Solaris:
To set so machine won't auto-boot, at ok prompt:
ok > setenv auto-boot? false
then >
ok > reset-all
now, shouldn't auto-boot.
Back to running the diags, try:
ok > setenv diag-level max
and also:
ok> setenv diag-switch? true
ok> setenv diag-script normal
that's what I meant by the setting the 'diag' something type commands.
you can see all the variables with the :
ok> printenv command.
then power off/on and see if more diagnostic code displayed which will help solve problem.
ok > setenv auto-boot? false
then >
ok > reset-all
now, shouldn't auto-boot.
Back to running the diags, try:
ok > setenv diag-level max
and also:
ok> setenv diag-switch? true
ok> setenv diag-script normal
that's what I meant by the setting the 'diag' something type commands.
you can see all the variables with the :
ok> printenv command.
then power off/on and see if more diagnostic code displayed which will help solve problem.
Blogged with Flock
Showmount Shutdown error
Sun Tools & Products Forums - 'shutdown' - ErroMsg: "showmount: host: RPC Programm not registered"
This is probably why we're gtting the error "showmount: RPC Programm not registered" when we call shutdown. Simple fix, really
This is probably why we're gtting the error "showmount: RPC Programm not registered" when we call shutdown. Simple fix, really
Blogged with Flock
Friday, April 28, 2006
Introduction to lsof
Introduction to lsofFor whenever I've wondered: which processes have this file open?
Or what files/sockets are open by this process?
lsof to the rescue!
Wednesday, April 26, 2006
Solaris: Remote Administration (ok prompt)
This is how to get to the ok prompt from being 'tip'ped in. (for our notes: stable to dev: straight through RJ45 from B on stable to A on dev)
tip hardwire
shutdown
~#
Read more at www.unixguide.net/sun/s...
Tuesday, April 25, 2006
solaris10-dtrace-vm-agents: Home
This is certainly worth investigating
Read more at solaris10-dtrace-vm-age...
VIM Quick Reference Card
This is really useful for vim, but what I wanted was the little status bar at the bottom left that shows line number, column number, etc. For this, you do:
:set ruler
Read more at tnerual.eriogerg.free.f...
Monday, April 10, 2006
Unix Manual Page for mdb
Unix Manual Page for mdbIn invwstigating a core dump, can use:
mdb core
then ::stack will print the current stack. And $L will show the ids of all threads
Also, can use:
jstack /usr/local/java/bin/java core
to get Java stack traces form a core