AIX, Solaris, HP-Ux & Linux Tips For System Administrators: UNIX Commands Comparison Sheet
AIX, Solaris, HP-Ux & Linux Tips For System Administrators: UNIX Commands Comparison Sheet
Search
AIX
(59) Networking Display and configuring network parameters
AIX Acronym
(1) Kernel Modules and Parameters Displaying, modifying and tuning kernel parameters
AIX commands you should not leave Patching / Packages Installing and removing patches and software packages
home without
(1) Accounts Setting up and removing user accounts
AIX Error logging
(1) NFS Information on NFS i.e starting, stopping, etc
AIX IPL progress codes
(1) NTP Network Time Protocol
AIX LVM Cheat Sheet
(1) Log Files Location to common log files
AIX Makes Renaming Devices Easy
(1) Security Security information
AIX ODM Commands
(1) Misc Other stuff i.e shutdown, timezone, run level, etc
AIX QuickStart
(1)
AIX System Recovery Tips and sysinfo
Techniques
(1)
Solaris Red Hat Ubuntu/Debian
AIX Technology Level update strategies-
Different supported ways of updating cat /etc/release cat /etc/enterprise-release cat /etc/lsb-release /stand
AIX to a new Technology Level (TL) cat /etc/redhat-release
Server Release info
version
(1) lsb_release -a
lsb_release -acat /proc/version
AIX tips for RHEL administrators
(1)
/usr/platform/`uname -i`/sbin/prtdiag -v dmidecode dmidecode model
AIX Updates: Committed Admins Need Server type
uname
not Apply
(1)
prtdiag -v lspci lspci ioscan
AIX: Commands
(1)
prtpicl -v [-c <class>] lsusb lsusb ioscan
Setting Up Password-less Logins with mount -F hsfs -o ro <device path> mount -rt iso9660 /dev/cdrom /mnt/cdrom mount -rt iso9660 /dev/cdrom /mnt/cd
SSH
(1) /cdrom/cdrom0 umount /mnt/cdrom umount /mnt/cdrom
umount /cdrom/cdrom0 eject cdrom eject cdrom
Shell Script
(13) mount/unmount CDROM
Show the line number while monitoring /etc/init.d/volmgr start
the log files using tail -f command?
(1) eject cdrom
Skip the Script and Try the Apply n/a mount -o remount,rw / mount -o remount,rw /
Command
(1) remount a filesystem
Solaris
(2)
Solaris ODS (online disk suite)
(1) n/a mkbootdisk `uname -r` (boot diskette) n/a
create boot disk or
Some tips and techniques for managing recovery tape
GPFS file systems
(1)
ok> boot cdrom -s using the grub window append the word singleto using the grub window append the word
Squid Cache proxy – a quick setup guide
(1) the kernel line the kernel line
Storage
(4)
Storage Topic
(1) boot cdrom/diskette (single
Symdi Commands
(1) user)
System Auditing with AIX
(1)
The Live Partition Mobility (LPM) Cheat
Sheet
(1)
Top 10 AIX Commands
(1)
ok> boot -as f10 or f12 f10 or f12
Trouble Unmounting? Try These
Commands
(1)
Tune AIX for Optimal Performance
(1)
Understanding Power System LPAR
Profiles
(2) boot into maintenace mode
UNIX
(5)
UNIX Commands Comparison Sheet
(1)
Useful HACMP commands
(1)
Veritas Volume Manager Cheat Sheet
(1)
vi Editor “Cheat Sheet”
(1)
floppy:disk: floppy: floppy:
VIO Server Howto
(1) /dev/dsk/c0t0d0s0 /dev/fd0 /dev/fd0
VIOS COMMAND LINE: UNDER THE disk: disk:
COVERS
(1) tape: /dev/hda or /dev/sda /dev/hda or /dev/sda
/dev/rmt/0ucb /dev/hdb or /dev/sdb /dev/hdb or /dev/sdb
VIOS disk mapping in a nutshell
(1) tape: tape:
VIOS vs AIX matrix
(1) Device paths cdrom: cdrom: cdrom:
Vmware Performance tuning Tips
(1) /dev/dsk/c0t6d0s0 /dev/hda (depends on number of IDE disks) /dev/hda (depends on number of IDE d
/dev/scd0 (external usb cd)
wtmp cleanup procedure
(1)
GPFS introduction
GPFS introduction GPFS is a concurrent
file system. It is a product of IBM and is
short for General Parallel File System . It
is a high-per...
Configure network interface
Veritas Volume Manager
VM daemons vxconfigd Maintains
system configuration in the kernel & disk
(private region). If the daemon is
stopped it does not disable ...
ETHERCHANNEL Setup ndd -set <device> <parm> <value> (dynamically) mii-tool -F 100baseTx-FD eth0 ethtool -s eth1 speed 100 d
ETHERCHANNEL: EtherChannel is a /etc/system (edit and update then reboot - ethtool -s eth1 speed 100 duplex full
trademark registered by Cisco Systems permanent)
Setting NIC speed
and is generally called multi-port
trunking or link aggregation. If yo...
Trouble Unmounting? Try These svcadm restart nfs service nfs restart
restart service
Commands
Understanding Power System LPAR service status svcs nfs service nfs staus
Profiles svcs -d network n/a
service dependencies
The Live Partition Mobility (LPM)
Cheat Sheet svcs -D network n/a
service dependants
Fixing wtmp errors
/var/svc/log n/a
service logging, etc /var/svc/manifest
►
2008
(2)
/lib/svc/method
n/a chkconfig --levels 2345 nfs on
change service startup
pkgrm rpm -e <package> dpkg -r <package> (do not remove config file
dpkg -P <package> (remove config files)
removing packages
pkgchk -l <package> | grep -i pathname rpm -ql <package> dpkg -L <package> (list files)
List files in package
List libraries required for binary ldd <file> ldd <file> ldd <file>
program
Accounts
Solaris Red Hat Ubuntu/Debian HP
cat /etc/passwd cat /etc/passwd cat /etc/passwd cat /etc/passwd cat /etc/passwd
display users system-config-users (GUI) logins -x
logins -x lsuser -f ALL (de
useradd useradd mkuser
create a user useradd useradd
system-config-users (GUI) sam useradd
userdel userdel rmuser
remove a user userdel userdel
system-config-users (GUI) sam userdel
chuser -a
usermod
usermod usermod passwd -f
modify a user usermod usermod
system-config-users (GUI) sam passwd -s
chfn <username>
chfn <username><
passwd
change user
passwd passwd passwd passwd pwdadm
password
pwdck -t ALL
create a group groupadd groupadd groupadd groupadd mkgroup <group n
remove a group groupdel groupdel groupdel groupdel rmgroup <group n
modify a goup groupmod groupmod groupmod groupmod chgroup <attribut
/etc/passwd /etc/passwd /etc/passwd /etc/passwd
password files /etc/security/pas
/etc/shadow /etc/shadow /etc/shadow /tcb/files/auth/r/root (trusted system)
id -a id -a id -a id id
whoami whoami whoami whoami whoami
who who who who who
w w w w w
finger finger finger uptime (displays # of users logged in) uptime (displays #
finger finger
useful user
commands # License informa
lslicense
chlicense
nfs status ps -ef|grep < nfs daemons> /sbin/service nfs status /etc/init.d/nfs-kernel-
nfs reload shareall /sbin/service nfs reload exportfs -rav (export th
nfs performanace nfsstat nfsstat nfsstat
n/a cat /var/lib/nfs/etab cat /var/lib/nfs/etab
nfs Options
Log Files
Solaris Red Hat Ubuntu/Debian HP AIX
messages /var/adm/messages /var/log/messages /var/log/messages /var/adm/syslog/syslog.log /var/adm/ras
syslog /var/log/syslog /var/log/syslog /var/log/syslog /var/adm/syslog/syslog.log /var/adm/ras
mail /var/log/mail /var/log/mail.* /var/adm/syslog/mail.log /usr/spool/mqueue/syslog
cron /var/cron/log /var/log/cron /var/log/cron.log /var/adm/cron/log /var/adm/cron/log
/var/adm/ras
/var/adm/messages /var/log/boot /var/log/boot /var/adm/syslog/syslog.log
boot alog -o -t boot
dmesg dmesg dmesg dmesg
alog -o -t console
alog -L (list all the logs available)
/usr/lib/errdemon -l (display attributes)
/usr/lib/errdemon (start error logging)
/usr/lib/errstop (stop error logging)
# use with above errorlog file
errpt (summary errorlog report)
errpt -a (detailed errorlog report)
Error logging logger logger logger logger Error
errpt -j <identifier> (single errorlog report)
Courtesy by datadisk.co.uk
Posted by
Rams
at
10:07
Labels:
UNIX Commands Comparison Sheet
6 comments:
Add comment
Subscribe to:
Post Comments (Atom)