Solaris: September 2006 Archives

/proc/cpuinfo on Solaris

|

Another quick Solaris trick to write about before I forget about it.

When used to do:

$> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 1
cpu MHz : 2992.785
[...]

Instead, on Solaris, use psrinfo(1M)

$> psrinfo -v
Status of virtual processor 0 as of: 09/17/2006 21:45:32
on-line since 08/24/2006 16:16:03.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 09/17/2006 21:45:32
on-line since 08/24/2006 16:16:07.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.

A better Solaris Distro

|

I've always said Solaris was a solid operating system, just a sucky distro. Well, since Sun opened up things, OpenSolaris is making new distributions possible.

There are already 4 listed distros:

Of the 4, I've looked at Nexenta, and it looks like the more serious one. It's Debian/Ubuntu based and it's pretty much in a usable state as it is. It comes with a LiveCD, a VMWare image (cool), and the ordinary install CD. And as they proclaim on their homepage, They have 12029 packages available in their APT repository.

Nothing like being able to :

$> apt-get dist-upgrade

On a solaris box ;-)

Oh, and it comes with ZFS ;-)

No zones yet...

It's a quick and dirty Solaris trick, but I better write it down or I'll forget.

When faced with the annoying question: "And what drives are in this box again?", don't get all confused anymore, and call format(1) to the rescue.

$> format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <IBM-DXHS18Y-0430 cyl 8152 alt 2 hd 20 sec 218>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t1d0 <IBM-DXHS18Y-0430 cyl 8152 alt 2 hd 20 sec 218>
          /pci@1f,4000/scsi@3/sd@1,0

Certainly not exactly what it was intended for, but it worked for me and I hope I never forget it again.

About this Archive

This page is a archive of entries in the Solaris category from September 2006.

Solaris: November 2006 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

  • uploaded

Solaris: November 2006: Monthly Archives

June 2008

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30