User Tools

Site Tools


aix:tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aix:tricks [2023/11/13 09:40]
manu [Find files or directories not belonging to a user or group]
aix:tricks [2025/08/23 22:56] (current)
Line 144: Line 144:
 ==== Verification of environment settings for a running process under AIX ==== ==== Verification of environment settings for a running process under AIX ====
  
-<fc #FF0000>**ps eww <​processid>​**</fc>+**ps eww <​processid>​**
  
 (ps e displays the environment as well as the parameters to the command, up to a limit of 80 characters, ps eww wraps the display from the e flag and displays the ENV list until the flag reaches the LINE_MAX value) ​ (ps e displays the environment as well as the parameters to the command, up to a limit of 80 characters, ps eww wraps the display from the e flag and displays the ENV list until the flag reaches the LINE_MAX value) ​
Line 454: Line 454:
 </​code>​ </​code>​
  
-==== Debug for an AIX service ​====+==== AIX devices attributes ​==== 
 + 
 +To list all devices 
 +<​code>​ 
 +# # lsdev -C | more 
 +... 
 +en0            Available ​            ​Standard Ethernet Network Interface 
 +ent0           ​Available ​            ​Virtual I/O Ethernet Adapter (l-lan) 
 +et0            Defined ​              IEEE 802.3 Ethernet Network Interface 
 +fcs0           ​Available C5-T0       ​Virtual Fibre Channel Client Adapter 
 +fcs1           ​Available C6-T0       ​Virtual Fibre Channel Client Adapter 
 +hdisk4 ​        ​Available C7-T1-01 ​   MPIO IBM 2076 FC Disk 
 +hdisk5 ​        ​Available C7-T1-01 ​   MPIO IBM 2076 FC Disk 
 +sys0           ​Available ​            ​System Object 
 +</​code>​
  
 To query current setting of a device: To query current setting of a device:
Line 460: Line 474:
 # lsattr -D -l sys0 -a maxuproc # lsattr -D -l sys0 -a maxuproc
 </​code>​ </​code>​
 +
 To set to a different value: To set to a different value:
 <​code>​ <​code>​
Line 566: Line 581:
 varyonvg varyonvg
 </​cli>​ </​cli>​
 +
aix/tricks.1699864811.txt.gz · Last modified: 2023/11/13 09:40 by manu