Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Performance monitoring commands

News

See also

Redbooks IBM Links Recommended Links   Reference
Hardening Security  Performance tuning Log administration profile and kshrc JFS Tivoli
sudo AIX Networking mksysb Command Aix JFS2 snapshots AIX Logical Volume Manager    
Precompiled Binaries and RPMs Compilation of open source on AIX GCC on AIX Tips

History

Humor

Etc

fileplace

Reports the placement of a file's blocks within a file system. Used to examine and assess the efficiency of a file's placement on disk.

Example: fileplace -pv /unix

 


netpmon

Performance statistics for CPU usage, network device-driver I/O, socket calls, and NFS I/O. For CPU usage, it estimates how much of this usage is due to network-related activities.

Example:

  1. netpmon -o /tmp/netpmon.log -O all
  2. trcstop
     

    The trcstop command will terminate the trace initiated by the netpmon command.

 


lsps

Report statistics about paging space.

Example: lsps -a

 


iostat

Report statistics for ttys, disks and cpu

Examples What it does
iostat -d hdisk0 hdisk1 5 Will monitor disk activity only for physical volumes hdisk0 1
iostat -t 5 Will monitor terminal activity only and display tty statistics every 5 seconds

 


ipcs

Status of interprocess communication facilities. This is a kernel attribute that cannot be modified.

 


lsattr

Lists attributes associated with a device.

NOTE: maxmbuf sets the limit of the memory governed by the IPC and network buffering capability.

Examples What it does
lsattr -l sys0 -E Entries marked 'True' are attributes that can be configured
lsattr -l sys0 -a maxpout=9 -a minpout=6 Changes the HIGH/LOW water marks for pending write I/Os per file.

 


nfsstat

Display information about NFS and RPC calls

Examples What it does
nfsstat Displays statistics about NFS and RPC calls
nfsstat -zcsr Initializes statistics (to ZERO) for client (-c), server (-s), and rpc (-r) calls.

 


pagesize

Display system page size

 


ps

Display status of current processes. This command is useful for determining if runaway processes are excessively utilizing the CPU or memory.

For example, if a machine was just rebooted and appears to be running slowly, use this command to see if there are any getty processes running wild, using excessive CPU time.

Examples What it does
ps avg a displays information about all processes. v displays fields: PGIN,SIZE,RSS,LIM,TSIZE,TRS,%CPU,%MEM
ps -ft tty2/0 Lists all the processes running on port tty2/0
ps -furoger Lists all the processes running under the user roger
ps -e Display the environment as well as the command
ps -ef Full listing of all processes in the system. If the 'C' field (means processor utilization) has a large value, this means that that process is a CPU intensive task.
ps -t - Lists processes not associated with a terminal

 


pstat

Statistics about system attributes. This utility is useful to determine how much paging is in use. If the amount of paging space is less than the amount of real memory in the system, it's possible the system will run out of paging space before real memory. This is because AIX performs early allocation of page space. When a page is referenced, real memory and paging space blocks are allocated. If there are less paging space blocks then real memory pages, paging space will be exhaused before all of real memory is consumed.

Examples What it does
pstat -s Displays paging space statistics
pstat -T Displays system variables

 


sar

System Activity Recorder utility found on all UNIX systems that monitors various system functions like

Use cron to execute sar at specific times based on workload, and the sa1 and sa2 scripts to maintain a report history of system usage.

Examples What it does
nohup sar -A -o /tmp/SAR.STATS 60 600 > /dev/null & Collect all the statistics that sar monitors at 60 second intervals for a 10 hour period. Also redirects console output to null device
sar -u 5 10 Interactively run the sar command and review CPU utlization every 10 seconds for 5 interations.

 


svmon

Virtual memory monitor that captures a snapshot of the current contents of both real and virtual memory, and summarizes the contents. Useful for determining which processes are using the most memory.

 


tprof

Detailed profile of CPU usage by an application. Provides an estimate of CPU usage for each routine in a profile. Useful to determine where an application maybe CPU bound.

 


vmstat

Statistics about virtual memory and cpu/hard disk usage.

Example: vmstat hdisk0 hdisk1 5 (Display various statistics every 5 seconds)



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019