您的位置:首页 > 其它

每天进步一点--学习 lslpp

2011-08-22 19:27 387 查看
Command: lslpp

1: lslpp -e

list every interim fix installed on the system)

(this command should performaed by root)

root@a05scpgapp01/>lslpp -e

ID STATE LABEL INSTALL TIME ABSTRACT

=== ===== ========== ================== ======================================

1 S IZ52844_07 07/09/09 15:06:33 security issue in libtt.a

2 S IZ61628_07 10/20/09 17:48:19 security issue in rpc.cmsd

3 S IZ43454_07 01/23/10 11:50:26 security issue in at command

4 S rmsock 01/23/10 11:52:57 rmsock security issue fix

5 S IZ50517_07 03/20/10 13:55:45 security issue in libc.a

6 S IZ50517_7p 03/20/10 13:56:14 security issue in profiled libc.a

STATE codes:

S = STABLE

M = MOUNTED

U = UNMOUNTED

Q = REBOOT REQUIRED

B = BROKEN

I = INSTALLING

R = REMOVING

T = TESTED

2: lslpp -L

Display the same, most recent level, state, and description of the specified fileset, part information

(usr ,root,and share) is consolidated into the same listing. For formatted filesets, it displays the

most recent maintenance or technology level for this specified filesets. In addition, this flag lists

any subsystem selective fixed that were installed on the top of the maintenace or technolgy level.

example:

zhangch@a05scpgapp01/home/zhangch>lslpp -L bos.rte.filesystem

Fileset Level State Type Description (Uninstaller)

----------------------------------------------------------------------------

bos.rte.filesystem 5.3.7.0 C F Filesystem Administration

State codes:

A -- Applied.

B -- Broken.

C -- Committed.

E -- EFIX Locked.

O -- Obsolete. (partially migrated to newer version)

? -- Inconsistent State...Run lppchk -v.

Type codes:

F -- Installp Fileset

P -- Product

C -- Component

T -- Feature

R -- RPM Package

E -- Interim Fix

3: lslpp -h

To display the historical installation:

......

mqm.man.en_US.data

6.0.0.0 COMMIT COMPLETE 06/26/08 11:17:20

6.0.2.4 COMMIT COMPLETE 06/26/08 11:39:29

......

Command:

zhangch@a05scpgapp01/home/zhangch>lslpp -h | grep mqm

mqm.base.runtime

mqm.base.samples

mqm.base.sdk

mqm.client.rte

mqm.java.rte

mqm.keyman.rte

mqm.msg.en_US

mqm.server.rte

mqm.txclient.rte

mqm.base.runtime

mqm.man.en_US.data

4: lslpp -p

Display requisite information for the specified fileset:

example:

zhangch@a05scpgapp01/home/zhangch>lslpp -p bos.rte.filesystem

Fileset Requisites

----------------------------------------------------------------------------

Path: /usr/lib/objrepos

bos.rte.filesystem 5.3.7.0

*coreq bos.rte 5.3.0.0

Path: /etc/objrepos

bos.rte.filesystem 5.3.7.0

*coreq bos.rte 5.3.0.0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: