Wednesday, April 18, 2012

PROCESS MANAGEMENT

ps –ax                                      : display all processes
ps –u                                        : displays detailed results
ps –aux                                    : displays detailed redults of all processes
KILL pid                                  : force killing a process immediately
kill pid                                      : signals a interrupt
kill -STOP pid(CTRL + Z)       : freezes a program
kill -CONT pid                        : resumes the program
bg or fg                                   : resume a program previously freezed using (CTRL + Z)
  • Append '&' at the end of a command to make it run in the background mode

No comments:

Post a Comment