2.7.2 Invoking the SMIT update_all Fastpath

2.8 Finding a Fileset That Contains a Given Command

It is a common task to upgrade a single component, but it is difficult to determine what fileset requires the update. This section describes a process to accomplish this.

Suppose a user suspects that there is a problem with the nfsd program. The system administration wants to download the latest fix level of the fileset. The following steps are planned:

  1. Find out the full path of the nfsd program using the whence command.

  2. Find out which fileset the nfsd program belongs to using the lslpp -w command.

  3. Find out the maintenance level of the fileset installed on the system using the lslpp -l command to ensure that a fileset with a higher fix level is to be downloaded.

The following is an example using nfsd:


# whence nfsd
/usr/sbin/nfsd
# lslpp -w /usr/sbin/nfsd
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/sbin/nfsd                              bos.net.nfs.client    File
# lslpp -l bos.net.nfs.client
  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.net.nfs.client         4.3.2.0  COMMITTED  Network File System Client

Path: /etc/objrepos
  bos.net.nfs.client         4.3.2.0  COMMITTED  Network File System Client
#

2.9 References