Arquivo

Archive for maio \27\UTC 2016

Cpu usage diagnose

Top 10 processes most recently on the CPU, generally this is USer time
# ps -fe | sort -nk4 | tail

Top 20 kernel processes most recently on the CPU, generally this is SYstem time
# ps -fk | sort -nk4 | grep -v -e wait -e sched -e swapper | tail -22

Biggest Kernel offenders I see are generally, lrud, j2pg, vtiol.
LRUD = Scanning for free memory and freeing pages. Can be tuned.
J2PG = I think is something to do with JFS2 pages. Maybe something to do
with seaching the JFS2 cache for pages and/or reading JFS2 pages (pageIn/Out).
VTIOL = Something to do with offloading iodones from the adapter to the CPU.

# Top 20 Kernel and User processes who have consumed the most CPU since process started.
# ps guw | head -22

Anúncios
Categorias:AIX, Miscelânea, Performance