OpenSolaris tips

This is a list of useful commands / tips for OpenSolaris. I know, this is probably all common knowledge, but I don't use Solaris as much as I used to, so it's difficult to remember all the new stuff.


There's lots of new cool stuff to do with ZFS. Here are a few examples what you can do with various commands, most of these have lots of different options and features.

  • List all ZFS data sets: % pfexec zfs list
  • Show all boot environments: % pfexec beadm list


Package management

 Sometimes /var/pkg will get filled up with old "junk". You can safely remove /var/pkg/download. To keep things clean automatically, run

% pfexec pkg set-property flush-content-cache-on-success True