Tuesday, September 6, 2011

lsattr command in aix


lsattr command in AIX / Linux

Displays attribute characteristics and possible values of attributes for devices in the system.

Syntax

lsattr {-D[-O]| -E[-O] | -F Format [-Z Character]} -l Name [-a
Attribute]...[-H]
[-f File]
lsattr {-D[-O]| -F Format [-Z Character]}{[-c Class][-s Subclass][-t Type]}
[-a Attribute]... [-H][-f File]
lsattr -R {-l Name | [-c Class][-s Subclass][-t Type]} -a Attribute [-H]
[-f File]
lsattr {-l Name | [-c Class][-s Subclass][-t Type]} -o Operation [...]
-F Format [-Z Character][-f File][-H]
lsattr –h

To find out how much physical memory a system has, you can use the -E and –l flags.

Example : Using lsattr -El

No comments:

Post a Comment