Sec. 12 Process Monitoring Flashcards
top
process activity dynamically updated
uptime
how long the system is running and teh average load.
ps
detailed information about processes
pstree
a tree of processes
mpstat
multiple processor usage
iostat
CPU utilization and I/O statistics
sar
display and collect information about system activity
numastat
information about NUMA ( non-uniform memory architecture)
strace
information about all system calls a process makes
what filesystem can be helpful in monitoring processes ?
/proc filesystem
ps is a ____________ for displaying characteristics and statistics associated with processes.
ps is a workhorse for displaying characteristics and statistics associated with processes.
VSZ in the ps output
VSZ stands for the process’ virtual memory size in KB
RSS in the ps output
RSS stand for the resident set size; the non-swapped physical memory a task is using in KB
STAT output for the ps command
the STAT area describes the state of the process;
- < for high prority (not nice)
- S stands for sleeping
- R stands for running
- N for low priority (nice)
- L for having pages locked in memory
- s for session leader
- l for multi-threaded
- + for being in the forground process group
-o options for the ps command followed by a comma seperated list of field identifiers, I can print out a …….?
-o options for the ps command followed by a comma seperated list of field identifiers, I can print out a customized list of ps fields .
-
ps fields:
- pid: process ID number
- uid: user ID number
- cmd: command with all arguments
- cputime: cumulative CPU time
- pmem: Ratio of teh process’s resident set size to the physical memory on the machine, expressed as a percentage.