System and Software Maintenance commands

The following AIX performance tools provide general information and metrics related to performance.

CPU Monitoringvmstat, iostat, topas, sar, time/timex
Memory Montiroingvmstat, topas, ps, lsps, ipcs
I/O Subsystemvmstat, topas, iostat, lvmstat, lsps, lsatt/lsdev, lspv/lsvg/lslv
Networknetstat, topas, atmstat, entstat, tokstat, fddistat, nfsstat, ifconfig
Processes ps, pstat, topas

AIX System information

  • prtconf | more Print system information
  • lstattr -EL -l sys0 To display system level attribute
  • lsattr -El sys0 -realmem Display amout of ram
  • lsattr -l rmt0 -E To list the current values of the attributes for the tape device, rmt0
  • lscfg Detailled configuration of my system
    • lscfg | grep proc Display number of processor
  • oslevel Returns the major level of the OS
    • oslevel -r Returns the detailled level of the OS
    • oslevel -s To see which service pack is currently installed
  • uname -a Type of the machine
  • unmae -uM Type of the machine and serial number
  • oslevel Reports the latest installed maintenance level of the system (VIO)
  • lspv To display the number of hard disks on your system
    • lspv hdisk1 To find details about hdisk1
  • lsconf To document the machine
  • bootinfo Reports some system information
    • bootinfo -r How much memory does machine have
    • bootinfo -y Display if the hardware is 32 or 64 bit

Software packaging and Maintenance Level

  • oslevel
    • oslevel -q (List filesets of known technology)
    • oslevel -r (Applies all flags to tehnology levels)
    • oslevel -sq (List all know service pack)
  • installp to install additional software or PTF (Program Temporary Fix)
  • instfix to list, update or update an individual fix
    • instfix -i | grep ML Show what fileset are found for maintenance release and if they are complete
    • insfix -ik <fix> Show if a particular fix is installed on the system
  • lslpp to view the maintenance level
    • lslpp -l
    • lslpp -l <fileset> to see information about a fileset (fileset -l
  • lppchk -v Show fileset that are incompletly installed
  • lscfg -vp | grep alterable Show firmware level

Monitoring and system performance

  • Nagios  an open source program to monitor all your systems
  • topas to see in "real time" system stats (CPU, IO etc...)
  • nmon a free tool to analyse AIX and Linux performance
  • iostat Reports CPU and I/O statistics
  • vmstat Reports virtual-memory activity and other system statistics
  • netstat Displays the contents of network-related data structures
  • ps Displays the status of processes
  • lsattr Displays the attributes of devices
  • lslv Displays information about a logical volume or the logical volume allocations of a physical volume
  • nfsstat Displays statistics about Network File System (NFS) and Remote Procedure Call (RPC) activity
  • nice Runs a command at higher- or lower-than-normal priority
  • no Displays or sets network options
  • renice Changes the priority of one or more processes
  • reorgvg Reorganizes the physical-partition allocation within a volume group
  • sar Collects and reports or records system-activity information
  • schedtune Sets parameters for CPU scheduler and Virtual Memory Manager processing
  • svmon Captures and analyzes a snapshot of virtual memory
  • time Prints the elapsed execution time and the user and system processing time attributed to a command
  • tprof Reports CPU usage for individual programs and the whole system
  • trace Records and reports selected system events
  • filemon To find out the busy filesystems and files

What Others are Reading Now...

1 Response to "System and Software Maintenance commands "