


I'd like to share some lessons I've learned with OpenSolaris. Being a long-time Linux user (happily using it since 1999 and counting) I found that some commands don't exist but have other equivalents or that they don't support the options a Linux user is used to. This list is work in progress, if you some more just tell me.
| Linux Command | OpenSolaris Command |
|---|---|
| chkconfig/insserv | svcadm (svcs -a to list the services and their states) |
| free | vmstat (hard to interpret, not really equivalent to free but all I could find) |
| ps ax | ps -Af (BSD syntax not supported) |
| sudo | pfexec |
| tar -xzf foo.tar.gz | gzcat foo.tar.gz | tar xf - (same thing with .bz2 and bzcat |
| top | prstat |
| /proc/partitions (file) | no equivalent, but format shows a list when called without argument |
| /proc/cpuinfo (file) | psrinfo (but doesn't show as much information, use isainfo -bv) |
Thanks to Ty Morton for letting me know about cfgadm and sharemgr.