linux process management --ps, priority, core binding

 Ps: View system processes

user: a valid user

PID: Process ID

% Cpu: cpu usage

% Men: memory usage

VSZ: Memory Virtual Memory Size application to the system, virtual memory set, linear memory unit: K

RSS: the actual memory (memory resident) Unit: K

TTY: a terminal window

 

 STAT: current status

  • R:running
  • S: interruptable sleeping (sleep state)
  • D: uninterruptable sleeping (uninterruptible sleep)
  • T: stopped (stop the process)
  • Z: zombie (zombie)
  • +: Foreground process
  • l: multithreaded processes
  • L: memory paging and lockable
  • N: low-priority process
  • <: High-priority process
  • s: session leader, a session (the child) sponsors

START: Start Time

TIME: allocation of time slices

COMMAND: cmd (program)

 

ps: axo combination of options --sort reverse option.

 

 Nice to modify the process priority: renice -n - priority number process ID

 nice: available to run the program with the specified priority

 View processes running cpu core number:

View available cores and binding process

 

pidof: Quick view the process ID:

 

Guess you like

Origin www.cnblogs.com/franc/p/12459469.html