Table of Contents

Checking Running Processes

Running Processes

From the Shell

prstat -Z -s cpu
ps -elf
ps -uadmin -o pcpu,user,pid,args,comm,s
ps -uadmin -o user,args,pcpu,pmem,vsz,time,comm
ps -umysql -o pcpu,vsz,osz,args,comm,s

From WebMin

If you use WebMin:

  1. Sign in to Virtualmin (see Account logins and important URLs).
  2. Click WebMin in the upper-left hand menu, then System, then Running Processes.
  3. Click PID, User, Memory or CPU for a list of processes running on your account, sorted by various criteria.

Checking memory usage

prstat -Z
vmstat 5 5
swap -l