lsct

Purpose

Lists information about current Oracle ASM clients from the V$ASM_CLIENT view. A client, such as Oracle Database or Oracle ASM Dynamic Volume Manager (Oracle ADVM), uses disk groups that are managed by the Oracle ASM instance to which ASMCMD is currently connected.

Syntax and Description

lsct [--suppressheader] [-g] diskgroup

Table 10-7 lists the options for the lsct command.


Table 10-7 Options for the lsct command

Option Description

(none)

Displays information about current clients from the V$ASM_CLIENT view.

-g

Selects from the GV$ASM_CLIENT view. GV$ASM_CLIENT.INST_ID is included in the output.

--suppressheader

Suppresses column headings.

diskgroup

Specifies the disk group.


Client information is only listed for the specified disk group.

Example

The following example displays information about the clients that are accessing the data disk group.

Example 10-8 Using the ASMCMD lsct command

ASMCMD [+] > lsct data
DB_Name  Status    Software_Version  Compatible_version  Instance_Name  Disk_Group
+ASM     CONNECTED       12.1.0.0.1          12.1.0.0.1  +ASM           DATA
asmvol   CONNECTED       12.1.0.0.1          12.1.0.0.1  +ASM           DATA
orcl     CONNECTED       12.1.0.0.1          12.0.0.0.0  orcl           DATA