Skip to content

Instantly share code, notes, and snippets.

@alien18331
Created February 12, 2020 06:22
Show Gist options
  • Save alien18331/f3966f380839aa4d77e52f9cd676efd3 to your computer and use it in GitHub Desktop.
Save alien18331/f3966f380839aa4d77e52f9cd676efd3 to your computer and use it in GitHub Desktop.
linux cmd
#process status
//ps: show process
//-A: show all
//-e: function same as -A
//-f: show info.(UID,PPIP,C,STIME)
// UID: UID group id
// PID: process ID
// PPID: father process ID
// C: CPU usage
// STIME: system start time
// TTY: user terminal location
// TIME: CPU use time
//grep: search
//" | ": pipeline cmd, execute ps and grep at the same time (e.g. ps -ef | grep)
$ ps-ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment