What can I say about DTrace. If you haven't used DTrace before its time to start. DTrace is the essential tuning and troubleshooting tool for your applications and even for the Solaris OS itself.
Bryan Cantrill and Mark Adams excellent presentation "Advanced DTrace: Tips, Tricks and Gotchas" and the DTrace Forum are excellent sources for this gotta use tool.
Wednesday, April 18, 2007
Tuesday, April 17, 2007
Every UNIX command you ever dreamed of
I have a beautiful old artifact gathering dust on my bookshelf. The UNIX System User's Handbook, published by AT&T Bell Labs and Prentice Hall. At a terse 98 pages it listed all the commands you needed to know to get by back in those halcyon days.
These days, every flavor of UNIX has it's own unique and frustratingly different command set. AllCommands.com makes a good attempt to alleviate this problem and even includes a neat command search facility.
These days, every flavor of UNIX has it's own unique and frustratingly different command set. AllCommands.com makes a good attempt to alleviate this problem and even includes a neat command search facility.
Login Manager
Did you know that Solaris will get it's knickers in a twist if it boots in the absence of its dhcp server. I discovered this when my firewall/dhcp server went down this week. Once of the first symptoms you will have is that the Desktop login will fail to startup, so you are stuck with a command line login prompt instead of the usual graphical login.
To get around this login as root and issue the following command.
/usr/dt/bin/dtlogin -daemon ; exit
Some other interesting commands that effect the Desktop Login are.
/usr/dt/bin/dtconfig -kill
- (Kills the daemon that causes the login prompt to start.)
/usr/dt/bin/dtconfig -e
- (Enable the daemon to run automagically.)
/usr/dt/bin/dtconfig -d
-(Disable the daemon from running.)
Unce you've played with these you can try. (Kill and disable dtlogin first).
svcadm enable -s gdm2-login
- (Which starts the Gnome login manager.... Much nicer than dtlogin).
svcadm disable -s gdm2-login
- (Disables it again).
This is the login manager that is affected by the Login Screen Setup dialog, under Applications-Utilities-Administration. Ever wondered why that wouldn't work, well now you know.
To get around this login as root and issue the following command.
/usr/dt/bin/dtlogin -daemon ; exit
Some other interesting commands that effect the Desktop Login are.
/usr/dt/bin/dtconfig -kill
- (Kills the daemon that causes the login prompt to start.)
/usr/dt/bin/dtconfig -e
- (Enable the daemon to run automagically.)
/usr/dt/bin/dtconfig -d
-(Disable the daemon from running.)
Unce you've played with these you can try. (Kill and disable dtlogin first).
svcadm enable -s gdm2-login
- (Which starts the Gnome login manager.... Much nicer than dtlogin).
svcadm disable -s gdm2-login
- (Disables it again).
This is the login manager that is affected by the Login Screen Setup dialog, under Applications-Utilities-Administration. Ever wondered why that wouldn't work, well now you know.
Cool Login Themes
If you want to have some fun go to http://themes.freshmeat.net/browse/991/ for a bunch of cool login themes.
Solaris Freeware
The best Solaris download load on the web is undoubtably sunfreeware.com. For most open source software you will ever need this site has installable packaged binaries ready to go.
The site has been tirelessly maintained for over 14 years by Steve Christensen and has the active support and sponsorship of Sun themselves. It is the de-facto source for all your free software needs.
The site has been tirelessly maintained for over 14 years by Steve Christensen and has the active support and sponsorship of Sun themselves. It is the de-facto source for all your free software needs.
Subscribe to:
Comments (Atom)