列出软件的维护级别
lslpp命令显示安装的文件集或文件集更新的信息。lslpp命令最常用的标记如下表所列:
标记Flag 描述Description
-l 显示指定文件集的名称、最近级别、状态和描述。
-f 显示指定文件集安装过程中增加到系统的文件名称。
-h 显示指定文件集安装和更新的历史信息。
-a 与其他标记合用,显示指定文件集的所有信息。不能与 -f 标记合用。
要查看当前系统文件集的维护级别,使用如下命令:
# lslpp -l
该命令列出系统上安装的所有软件,并显示当前的维护级别。输出类似如下所示:
Fileset Level State Description
----------------------------------------------------------
Path: /usr/lib/objrepos
Java14.sdk 1.4.2.10 COMMITTED Java SDK 32-bit
Tivoli_Management_Agent.client.rte
3.7.1.0 COMMITTED Management Framework Endpoint Runtime"
X11.Dt.ToolTalk 5.3.0.0 COMMITTED AIX CDE ToolTalk Support
X11.Dt.bitmaps 5.3.0.0 COMMITTED AIX CDE Bitmaps
X11.Dt.helpmin 5.3.0.0 COMMITTED AIX CDE Minimum Help Files
X11.Dt.helprun 5.3.0.0 COMMITTED AIX CDE Runtime Help
X11.Dt.lib 5.3.0.30 COMMITTED AIX CDE Runtime Libraries
X11.Dt.rte 5.3.0.30 COMMITTED AIX Common Desktop Environment (CDE) 1.0
X11.adt.bitmaps 5.3.0.0 COMMITTED AIXwindows Application Development Toolkit Bitmap Files
X11.adt.imake 5.3.0.30 COMMITTED AIXwindows Application Development Toolkit imake
X11.adt.include 5.3.0.30 COMMITTED AIXwindows Application Development Toolkit Include Files
X11.adt.lib 5.3.0.0 COMMITTED AIXwindows Application
bos.64bit 5.3.0.30 COMMITTED Base Operating System 64 bit Runtime
bos.acct 5.3.0.30 COMMITTED Accounting Services
bos.adt.base 5.3.0.30 COMMITTED Base Application Development Toolkit
bos.adt.include 5.3.0.30 COMMITTED Base Application Development Include Files
bos.adt.lib 5.3.0.30 COMMITTED Base Application Development Libraries
bos.alt_disk_install.boot_images
5.3.0.30 COMMITTED Alternate Disk Installation Disk Boot Images
bos.alt_disk_install.rte 5.3.0.30 COMMITTED Alternate Disk Installation Runtime
bos.cdmount 5.3.0.30 COMMITTED CD/DVD Automount Facility
bos.diag.com 5.3.0.30 COMMITTED Common Hardware Diagnostics
bos.diag.rte 5.3.0.30 COMMITTED Hardware Diagnostics
bos.diag.util 5.3.0.30 COMMITTED Hardware Diagnostics Utilities
bos.help.msg.en_US.com 5.3.0.10 COMMITTED WebSM/SMIT Context Helps - U.S. English
要列出一个特殊文件集安装的单独文件,使用如下命令:
# lslpp -f
例如,如果想显示bos.64bit文件集所安装的所有文件,如下输入:
# lslpp -f bos.64bit
Fileset File
----------------------------------------------------------
Path: /usr/lib/objrepos
bos.64bit 5.3.0.30 /usr/lib/methods/cfg64
/usr/ccs/bin/shlap
/usr/ccs/bin/usla64
/usr/lib/drivers/syscalls64.ext
/usr/ccs/bin/usla
/usr/ccs/bin/shlap64
Path: /etc/objrepos
bos.64bit 5.3.0.30 NONE
要列出文件集安装和更新的历史,使用如下命令:
# lslpp -h
例如,如想查看bos.sysmgt.trace文件集最新更新的时间,输入如下命令:
# lslpp -h bos.sysmgt.trace
Fileset Level Action Status Date Time
----------------------------------------------------------
Path: /usr/lib/objrepos
bos.sysmgt.trace
5.3.0.30 COMMIT COMPLETE 11/10/05 16:32:42
Path: /etc/objrepos
bos.sysmgt.trace
5.3.0.30 COMMIT COMPLETE 11/10/05 16:33:09
阅读(1190) | 评论(0) | 转发(0) |