Advertisement
Guest User

Untitled

a guest
Jun 17th, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. user@fedora23 ~ % pgrep -q
  2. pgrep: invalid option -- 'q'
  3.  
  4. Usage:
  5. pgrep [options] <pattern>
  6.  
  7. Options:
  8. -d, --delimiter <string> specify output delimiter
  9. -l, --list-name list PID and process name
  10. -a, --list-full list PID and full command line
  11. -v, --inverse negates the matching
  12. -w, --lightweight list all TID
  13. -c, --count count of matching processes
  14. -f, --full use full process name to match
  15. -g, --pgroup <PGID,...> match listed process group IDs
  16. -G, --group <GID,...> match real group IDs
  17. -n, --newest select most recently started
  18. -o, --oldest select least recently started
  19. -P, --parent <PPID,...> match only child processes of the given parent
  20. -s, --session <SID,...> match session IDs
  21. -t, --terminal <tty,...> match by controlling terminal
  22. -u, --euid <ID,...> match by effective IDs
  23. -U, --uid <ID,...> match by real IDs
  24. -x, --exact match exactly with the command name
  25. -F, --pidfile <file> read PIDs from file
  26. -L, --logpidfile fail if PID file is not locked
  27. --ns <PID> match the processes that belong to the same
  28. namespace as <pid>
  29. --nslist <ns,...> list which namespaces will be considered for
  30. the --ns option.
  31. Available namespaces: ipc, mnt, net, pid, user, uts
  32.  
  33. -h, --help display this help and exit
  34. -V, --version output version information and exit
  35.  
  36. For more details see pgrep(1).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement