Advertisement
DoromaAnim

Untitled

May 20th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. kill domysly to term
  2. pkill mozna dac nazwe procesu
  3. xkill klikamy na co to chcemy zamknac
  4.  
  5. * SigQ: This field contains two slash-separated numbers that
  6. relate to queued signals for the real user ID of this
  7. process. The first of these is the number of currently
  8. queued signals for this real user ID, and the second is the
  9. resource limit on the number of queued signals for this
  10. process (see the description of RLIMIT_SIGPENDING in
  11. getrlimit(2)).
  12. //maska bitowa szesnastkowo * SigPnd, ShdPnd: Number of signals pending for thread and for
  13. process as a whole (see pthreads(7) and signal(7)).
  14.  
  15. * SigBlk, SigIgn, SigCgt: Masks indicating signals being
  16. blocked, ignored, and caught (see signal(7)).
  17.  
  18. * CapInh, CapPrm, CapEff: Masks of capabilities enabled in
  19. inheritable, permitted, and effective sets (see
  20. capabilities(7)).
  21.  
  22. * CapBnd: Capability Bounding set (since Linux 2.6.26, see
  23. capabilities(7)).
  24.  
  25. * CapAmb: Ambient capability set (since Linux 4.3, see
  26. capabilities(7)).
  27.  
  28. pierw wykonuje sie sighup // konczy proces
  29. //wszystkie domyslnie koncza proces ale ten pierwszy
  30.  
  31. zadanie 5
  32.  
  33. USER - wlasciciel
  34. pid PID a number representing the process ID (alias tgid).
  35. pgid PGID process group ID or, equivalently, the process ID of the
  36. process group leader. (alias pgrp).
  37. tid TID the unique number representing a dispatchable entity
  38. (alias lwp, spid). This value may also appear as: a
  39. process ID (pid); a process group ID (pgrp); a session ID
  40. for the session leader (sid); a thread group ID for the
  41. thread group leader (tgid); and a tty process group ID for
  42. the process group leader (tpgid).
  43. pri PRI priority of the process. Higher number means lower
  44. priority.
  45. stat STAT multi-character process state. See section PROCESS STATE
  46. CODES for the different values meaning. See also
  47. s and state if you just want the first character
  48. displayed.
  49. wchan WCHAN name of the kernel function in which the process is
  50. sleeping, a "-" if the process is running, or a "*" if the
  51. process is multi-threaded and ps is not displaying
  52. threads.
  53. ppid PPID parent process ID.
  54.  
  55. cmd nazwa komendy i parametry
  56.  
  57. rodzicem wszystkich watkow jadra jest kthreadd PID = 2
  58.  
  59.  
  60. PROCESS STATE CODES
  61. Here are the different values that the s, stat and state output specifiers
  62. (header "STAT" or "S") will display to describe the state of a process:
  63.  
  64. D uninterruptible sleep (usually IO)
  65. I Idle kernel thread
  66. R running or runnable (on run queue)
  67. S interruptible sleep (waiting for an event to complete)
  68. T stopped by job control signal
  69. t stopped by debugger during the tracing
  70. W paging (not valid since the 2.6.xx kernel)
  71. X dead (should never be seen)
  72. Z defunct ("zombie") process, terminated but not reaped by its parent
  73.  
  74. For BSD formats and when the stat keyword is used, additional characters may be
  75. displayed:
  76.  
  77. < high-priority (not nice to other users)
  78. N low-priority (nice to other users)
  79. L has pages locked into memory (for real-time and custom IO)
  80. s is a session leader
  81. l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
  82. + is in the foreground process group
  83.  
  84. pstree watki sa pod procesem i w wasatych nawiasach
  85.  
  86. ZADANIE 6
  87.  
  88. zawiera informacje o tym co obecnie sie dzieje na komputerze
  89.  
  90. ps -e | grep X
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement