Specifications

Red Hat Enterprise Linux to Oracle Solaris Porting Guide
72
On RHEL, after reboot, the rc.sysinit initialization script reads the /etc/sysctl.conf file
automatically.
Resource Limits on Oracle Solaris 11
On Oracle Solaris 11, the default resource limits are set very high compared to previous Oracle Solaris
releases. The /etc/system file provides a static mechanism for adjusting the values of kernel
parameters. Values specified in this file are read at boot time and are applied. Any changes that are
made to the file are not applied to the operating system until the system is rebooted.
You can use the sysdef command to see the values of system-V IPC settings, STREAMS tunables,
and process resource limits.
The /etc/project file contains settings for multiple resource controls for each project as well as
multiple threshold values for control. Use proj* (projadd, projdel, projmod, projects)
commands to view and modify various values. For more details on Oracle Solaris resource controls,
refer to http://docs.oracle.com/cd/E23824_01/html/821-1460/rmctrls-1.html
.
Migrating Scripts
UNIX applications and development environments commonly use scripts. This includes shell scripts
(such as those written for the K shell), Perl scripts, and scripts written in other languages. If the
scripting language used on RHEL is also supported in Oracle Solaris 11, migrating the scripts is a
straightforward exercise.
When migrating from RHEL to Oracle Solaris 11, particularly in the context of migrating legacy
scripts, the availability of popular GNU commands, along with corresponding similar command-line
options, is critical in determining the migration effort. Fortunately, for many of these utilities, the
legacy Oracle Solaris versions as well as the GNU versions are readily available on the Oracle Solaris
system if you install some of the optional packages on top of the default installation.
Equivalent Commands, Options, and Alternatives on Oracle Solaris 11
Table 8-1 provides a summary of key command differences between RHEL and Oracle Solaris 11. You
can get detailed information on these and other commands in the Oracle Solaris 11 man pages.
TABLE 8-1. COMMAND DIFFERENCES
RHEL LEGACY COMMANDS ON
ORACLE SOLARIS 11
INCOMPATIBLE OPTIONS
WITH LEGACY COMMAND
EQUIVALENT GNU UTILITY
ON ORACLE SOLARIS 11
PACKAGE NAME ON
ORACLE SOLARIS 11
/usr/bin/ar /usr/bin/ar -D -l -f -N -o -P /usr/bin/gar: link
to /usr/gnu/bin/ar
text/doctools
/bin/chgrp /usr/bin/chgrp -c --dereference --
no-preserve-root --
preserve-root --
reference
/usr/bin/gchgrp:
link to
/usr/gnu/bin/chgrp
system/xopen/xcu4