Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Explanation
acctctl Option
aclget File
aioo -a
alog -o -t boot
new module
ar -v -t Archive
ar -v -x Archive
backup by inode
Example
bindprocessor -q
bootinfo -k
bootinfo -T
bootinfo -t
bootinfo -y
change bootlist
changes hostname
change/increase
changes the
Example
changes the
chlicense -u Number
chpasswd [ -c | -e | -f Flags ]
user:password
chps -a n PagingSpace
chps -d 4 hd6
chps -s 3 hd6
chpv -v [a | r] PVName
Add/change/delete inetd
Activate a LPAR
change a user
defragments a filesystem
defragfs -q Filesystem
defragfs -r Filesystem
dfmounts
prints local systems that are remotely mounted by clients
(server, path, clients) # showmount -a
dfshares
diag -c -d Device
disable Queue
disable a queue
dsh Command
enable Queue
enable a queue
enq -A
enq -D -P Queue
disable a queue
enq -U -P Queue
enable a queue
errupdate File
update error log with custom definitions (add/delete or
modify the log and alert details)
errpt -t -F Log=0
fcstat Device
WWN
fsdb LVName
filesystem debugger; interactive, disklabel-like FS
viewer/editor, mounted file systems cannot be modified
gencore ProcessID \FileName
genkex
genkld
genld [-l]
list of all processes currently running (pid, name); list of loaded
objects corresponding to each process
getconf VARIABLE [Device] | -a get system configuration variables
getlvcb -AT LVName
hardmon
hmcshutdown [ -r ] [ -t now ]
hostname [hostname]
id [User]
ifconfig -a
ifconfig Device
instfix -ciqk 5200-07_AIX_ML |grep :-: lists each update belonging to a given
ML
instfix -i | grep ML if all filesets of maintenance levels are installed
instfix -ik 4330-02_AIX_ML
specified ML
instfix -ik Fixnumber
ipcs -ma
ipcrm -m $segment_id
extract iptrace
start IP
listdgrp DeviceClass
logform LVName
automatically
lparstat
statistics
lparstat -i
lppchk -v
lpq
lquerypv -M hdisk0 the maximum supported logical track group (LTG) size of
my hard disk in kB
lqueryvg -Atp PVName
ls -el [File]
ls -l /unix
lscfg | grep proc ; lsdev -Cc processor To display the number of processors
on your system
lscfg -v
lsdev -P
lsdev -PH
list etherchannels
lsdev -t vi
lsfilt -a
lshmc -V
lshmcusr -u ALL
lslpp -f Package
lslpp -h *String*
lslpp -ha
lslpp -l
lslpp -l *String*
lslpp -l all
lslpp -l Package
lsps -a
lspv -l PVName
lspv -M PVName
show mirroring
lspv -p PVName
lspv PVName
lists PV details/parameters
lspv; lsdev -Cc diskTo display the number of hard disks in the LVM
lsresource -l Device
(adapters)
lssrc -g spooler
# HMC <= v3
deprecated
lssyscfg -r prof -m MgdSys -F header list ALL partition profiles with DLPAR
resources (proc, mem, io)
lssysconn -r [all|frame|sys] -F header show internal IP addresses of
MgdSystems and frames
lslic -m ManagedSystem -t power -F ecnumber-activated_level
subsystem firmware level
lsuser -a Attribute [User|ALL]
get power
lsvg -l VGName
lsvg -o
lsvg -p VGName
lsvg VGName
enable/disable firewall
creates a group
mkitab Details
make filesystem on a
creates a
creates a JFSlog
Example
mkramdisk Size512M
creates a new (temporary) ramdisk device eg.
/dev/rramdisk0 (max. 8 devices, min. 16MB)
mkssys -p Path -s Subsystem -u UID [-O|-R] [-K|-S] make new subsystem; -O
once; -R respawn; -K sockets; -S signals
mksysb Device
mkszfile -m [-X]
necessary]
Example
mount {-a|all}
will mount all file systems in /etc/filesystems with
automatic mount enabled
mount -a | all
mount a CD
netstat -i [-n]
displays hardware
number lines
nl -b a -n ln File
no -o Option=Value
get the
oslevel -rl 5300-04 which fileset updates are missing from 5300-04
oslevel -s
passwd [User]
passwd -f
passwd -s
penable tty0adds getty line into /etc/inittab for tty0 and starts getty
ping -R Host ping with route display
pmctrl -v
pwd -P
pwdadm -c User
pwdadm -q User
pwdadm User
qchk -W
qhld -#Job
???
redefinevg -d Device VGName lost device nodes etc => synclvodm follows
reducevg -d VGName PVName Removes a volume group # script
reducevg VGName PVID removes the PVID disk reference from the VGDA (if
disk has vanished without reducevg)
refresh -s sendmailRestart sendmail
replacepv OldPV | OldPVID NewPVID
another PV # script
rmdev -l Device
rmfilt Options
rmfs Filesystem
rmfs Filesystem
rmgroup Group
removes a group
rmitab Identifier
rmnfsmnt -f Mountpoint -I
rmuser -p User
modifies
Example
ruser [-s|-X] -F
ruser [-s|-X] -P
ruser [-s|-X] -R
s1term -w [frame] [node] open a terminal in read-write mode, exit with Ctrl-x
sar -u -P ALL 10 10 Displays %usr %sys %wio %idle for all processors
savebase -d /dev/PVName
device
screen
message
showmount -a [Host]
showmount -e [Host]
slibclean
delete snapshot LV
splp /dev/lp0
Example
start IP trace as a
stopsrc -s iptrace
stty erase ^?
stty erase ^H
synclvodm VGName
VGDA => ODM
syscorepath -g
syscorepath -p /path
sysdumpdev -e
sysdumpdev -L
sysdumpdev -l
sysdumpstart -s
lists archive
tcpdump -i Interface [-w Output] [ [src|dst] host Host | net Net | [and|or|
not] port Port] [proto Proto]
TCP dump
tcpdump -Snr Output
monitor small
telinit 2
telinit q
re-examines /etc/inittab
telinit S
tuncheck -f File
tunrestore -f File
ulimit -a
umask
turn on
uname -a
uname -m
uname -M
uname -n
uname -S Name
uname -u
updlic -m ManagedNode -o o
controlled
updlic -m ManagedNode -o c
permanent side
update firmware;
updtvpkg
AIX-rpm
uptime
Example
varyonvg -s VGName
opened for I/O
vmstat -s
vtmenu
what Binary displays identifying info from the executable (version number,
when compiled)
which_fileset [ String.* | /Path/File ]
binary/file
who ; who -s user details (logon time, tty, host) of all users logged in
who am i; who -m; whoami
who -b
who -d