ucb & ucblib on Solaris 11

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

ucb & ucblib on Solaris 11

Post by cah »

The installation did not come with UCB.
The ps in ucb is really helpful because it can list the full command line with the "-axww " flag.

I searched on http://pkg.oracle.com/solaris/release/en/index.shtml with "ucb ps" and only one package came up:

compatibility/ucb@0.5.11,5.11-0.175.0.0.0.2.1:20111019T053003Z

The manifest confirms ps in it.

Code: Select all

% pkg install pkg://solaris/compatibility/ucb@0.5.11,5.11-0.175.0.0.0.2.1:20111019T053003Z
           Packages to install:  1
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1       80/80      0.4/0.4$<3>

PHASE                                        ACTIONS
Install Phase                                166/166 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

PHASE                                          ITEMS
Reading Existing Index                           8/8 
Indexing Packages                                1/1

The following unexpected or editable files and directories were
salvaged while executing the requested package operation; they
have been moved to the displayed location in the image:

  etc/mail/Mail.rc -> /var/pkg/lost+found/etc/mail/Mail.rc-20120521T183633Z
After installing it, "/usr/ucb/ps -axww" works as expected.
I copied the Mail.rc back to compare and there's nothing important in the new Mail.rc file. It is not used by system anyway.

Two sub-directories were created by installing the package:

Code: Select all

% ls -l tr /usr
......
drwxr-xr-x   3 root     bin           15 May 21 18:36 ucblib
drwxr-xr-x   3 root     bin           79 May 21 18:36 ucb
CAH, The Great
Post Reply