惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Y
Y Combinator Blog
Engineering at Meta
Engineering at Meta
D
Docker
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
腾讯CDC
P
Proofpoint News Feed
A
About on SuperTechFans
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
MyScale Blog
MyScale Blog
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - Eric Yih

Should be run run adprep when you want to install a higher version of windows controller in an existing forest Consolidate Unix/Linux commands 资料收集 How to block SMB/LDAP/KDC/KPASSWD/NTP ports via firewall svchost.exe占用CPU 100%的解决方法 CVS使用手册 How to: Add a user from the OS X command line, works with Leopard In Mac OS X, how do I create and delete users? Sendmail How to config the AFP Share Server on Mac OS X 10.4/10.5 Server - Eric Yih How to switch 32<->64bit kernel on AIX Dpkg 常用指令操作快速参考 How to create local user use command dscl in Mac 通过 SSH 密钥验证实现在不同系统之间的脚本自动化 How-to: Understanding Mac OS X Open Directory Hands on: Mac OS X Server Mail Service Boot Camp, Part 1: The Basics Hands on: Setting up Mac OS X Open Directory Hands on: Using Apple's Workgroup Manager Configuring Network Information Service server and client on AIX
lsattr command in AIX
Eric Yih · 2012-04-21 · via 博客园 - Eric Yih

In AIX, You can use lsattr -El sys0 which give all basic details regarding the system.

Example for AIX 7.1:

 1 bash-3.2# lsattr -El sys0
 2 SW_dist_intr    false                                Enable SW distribution of interrupts              True
 3 autorestart     true                                 Automatically REBOOT OS after a crash             True
 4 boottype        disk                                 N/A                                               False
 5 capacity_inc    0.01                                 Processor capacity increment                      False
 6 capped          false                                Partition is capped                               False
 7 chown_restrict  true                                 Chown Restriction Mode                            True
 8 conslogin       enable                               System Console Login                              False
 9 cpuguard        enable                               CPU Guard                                         True
10 dedicated       false                                Partition is dedicated                            False
11 enhanced_RBAC   true                                 Enhanced RBAC Mode                                True
12 ent_capacity    0.20                                 Entitled processor capacity                       False
13 frequency       1056000000                           System Bus Frequency                              False
14 fullcore        false                                Enable full CORE dump                             True
15 fwversion       IBM,SF240_320                        Firmware version and revision levels              False
16 ghostdev        0                                    Recreate devices in ODM on system change          True
17 id_to_partition 0X8000008172000011                   Partition ID                                      False
18 id_to_system    0X8000008172000000                   System ID                                         False
19 iostat          false                                Continuously maintain DISK I/O history            True
20 keylock         normal                               State of system keylock at boot time              False
21 log_pg_dealloc  true                                 Log predictive memory page deallocation events    True
22 max_capacity    2.00                                 Maximum potential processor capacity              False
23 max_logname     9                                    Maximum login name length at boot time            True
24 maxbuf          20                                   Maximum number of pages in block I/O BUFFER CACHE True
25 maxmbuf         0                                    Maximum Kbytes of real memory allowed for MBUFS   True
26 maxpout         8193                                 HIGH water mark for pending write I/Os per file   True
27 maxuproc        128                                  Maximum number of PROCESSES allowed per user      True
28 min_capacity    0.10                                 Minimum potential processor capacity              False
29 minpout         4096                                 LOW water mark for pending write I/Os per file    True
30 modelname       IBM,9110-51A                         Machine name                                      False
31 ncargs          256                                  ARG/ENV list size in 4K byte blocks               True
32 nfs4_acl_compat secure                               NFS4 ACL Compatibility Mode                       True
33 ngroups_allowed 128                                  Number of Groups Allowed                          True
34 os_uuid         16d25cfa-a47b-42a4-9042-dcf54b779a56 N/A                                               True
35 pre430core      false                                Use pre-430 style CORE dump                       True
36 pre520tune      disable                              Pre-520 tuning compatibility mode                 True
37 realmem         1048576                              Amount of usable physical memory in Kbytes        False
38 rtasversion     1                                    Open Firmware RTAS version                        False
39 sed_config      select                               Stack Execution Disable (SED) Mode                True
40 systemid        IBM,02060BD40                        Hardware system identifier                        False
41 variable_weight 128                                  Variable processor capacity weight                False

1.  Get current maximum login name length

2.  Change the length

1 bash-3.2# lsattr -El sys0 -a max_logname
2 max_logname 9 Maximum login name length at boot time True
3 bash-3.2# chdev -l sys0 -a max_logname=21
4 sys0 changed