Table of Contents
Checking Running Processes
Running Processes
From the Shell
- Good view of both processor and memory statistics
prstat -Z -s cpu
- Processes currently running
ps -elf
- Admin user processes
ps -uadmin -o pcpu,user,pid,args,comm,s
- Another Admin user process list
ps -uadmin -o user,args,pcpu,pmem,vsz,time,comm
- Mysql user processes
ps -umysql -o pcpu,vsz,osz,args,comm,s
From WebMin
If you use WebMin:
- Sign in to Virtualmin (see Account logins and important URLs).
- Click WebMin in the upper-left hand menu, then System, then Running Processes.
- Click PID, User, Memory or CPU for a list of processes running on your account, sorted by various criteria.
Checking memory usage
- True Virtual memory usage on S or M size
prstat -Z
- Virtual memory statistics
vmstat 5 5
- Swap disk status (Solaris)
swap -l