lscore Command

Purpose

Views the current core settings.

Syntax

lscore [ -R registry ] [ username | -d ]

Description

The lscore command will be the user interface to view the current core settings. It will have the following usage:
lscore [-R registry] [username|-d]
As with chcore, the -d flag will show the default values. Viewing settings for another user is a privileged operation; however, any user may view the default values.

Flags

Item Description
-d Changes the default setting for the system.
-R registry Specifies the loadable I&A module.

Security

May only be run by root or another user with system authority.

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To list the current settings for root, type:
    lscore root
    The output will look like:
    compression: on
    path specification: default
    corefile location: default
    naming specification: off
    
  2. To list the default settings for the system, type:
    lscore -d
    The output will look like:
    compression: off
    path specification: on
    corefile location: /corefiles
    naming specification: off