Config.src 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Process Utilities"
  6. INSERT
  7. config FREE
  8. bool "free"
  9. default y
  10. select PLATFORM_LINUX #sysinfo()
  11. help
  12. free displays the total amount of free and used physical and swap
  13. memory in the system, as well as the buffers used by the kernel.
  14. The shared memory column should be ignored; it is obsolete.
  15. config FUSER
  16. bool "fuser"
  17. default y
  18. help
  19. fuser lists all PIDs (Process IDs) that currently have a given
  20. file open. fuser can also list all PIDs that have a given network
  21. (TCP or UDP) port open.
  22. config KILL
  23. bool "kill"
  24. default y
  25. help
  26. The command kill sends the specified signal to the specified
  27. process or process group. If no signal is specified, the TERM
  28. signal is sent.
  29. config KILLALL
  30. bool "killall"
  31. default y
  32. depends on KILL
  33. help
  34. killall sends a signal to all processes running any of the
  35. specified commands. If no signal name is specified, SIGTERM is
  36. sent.
  37. config KILLALL5
  38. bool "killall5"
  39. default y
  40. depends on KILL
  41. config PGREP
  42. bool "pgrep"
  43. default y
  44. help
  45. Look for processes by name.
  46. config PIDOF
  47. bool "pidof"
  48. default y
  49. help
  50. Pidof finds the process id's (pids) of the named programs. It prints
  51. those id's on the standard output.
  52. config FEATURE_PIDOF_SINGLE
  53. bool "Enable argument for single shot (-s)"
  54. default y
  55. depends on PIDOF
  56. help
  57. Support argument '-s' for returning only the first pid found.
  58. config FEATURE_PIDOF_OMIT
  59. bool "Enable argument for omitting pids (-o)"
  60. default y
  61. depends on PIDOF
  62. help
  63. Support argument '-o' for omitting the given pids in output.
  64. The special pid %PPID can be used to name the parent process
  65. of the pidof, in other words the calling shell or shell script.
  66. config PKILL
  67. bool "pkill"
  68. default y
  69. help
  70. Send signals to processes by name.
  71. config PS
  72. bool "ps"
  73. default y
  74. help
  75. ps gives a snapshot of the current processes.
  76. config FEATURE_PS_WIDE
  77. bool "Enable wide output option (-w)"
  78. default y
  79. depends on PS && !DESKTOP
  80. help
  81. Support argument 'w' for wide output.
  82. If given once, 132 chars are printed, and if given more
  83. than once, the length is unlimited.
  84. config FEATURE_PS_LONG
  85. bool "Enable long output option (-l)"
  86. default y
  87. depends on PS && !DESKTOP
  88. help
  89. Support argument 'l' for long output.
  90. Adds fields PPID, RSS, START, TIME & TTY
  91. config FEATURE_PS_TIME
  92. bool "Enable time and elapsed time output"
  93. default y
  94. depends on PS && DESKTOP
  95. select PLATFORM_LINUX
  96. help
  97. Support -o time and -o etime output specifiers.
  98. config FEATURE_PS_ADDITIONAL_COLUMNS
  99. bool "Enable additional ps columns"
  100. default y
  101. depends on PS && DESKTOP
  102. help
  103. Support -o rgroup, -o ruser, -o nice output specifiers.
  104. config FEATURE_PS_UNUSUAL_SYSTEMS
  105. bool "Support Linux prior to 2.4.0 and non-ELF systems"
  106. default n
  107. depends on FEATURE_PS_TIME
  108. help
  109. Include support for measuring HZ on old kernels and non-ELF systems
  110. (if you are on Linux 2.4.0+ and use ELF, you don't need this)
  111. config RENICE
  112. bool "renice"
  113. default y
  114. help
  115. Renice alters the scheduling priority of one or more running
  116. processes.
  117. config BB_SYSCTL
  118. bool "sysctl"
  119. default y
  120. help
  121. Configure kernel parameters at runtime.
  122. config TOP
  123. bool "top"
  124. default y
  125. help
  126. The top program provides a dynamic real-time view of a running
  127. system.
  128. config FEATURE_TOP_CPU_USAGE_PERCENTAGE
  129. bool "Show CPU per-process usage percentage"
  130. default y
  131. depends on TOP
  132. help
  133. Make top display CPU usage for each process.
  134. This adds about 2k.
  135. config FEATURE_TOP_CPU_GLOBAL_PERCENTS
  136. bool "Show CPU global usage percentage"
  137. default y
  138. depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
  139. help
  140. Makes top display "CPU: NN% usr NN% sys..." line.
  141. This adds about 0.5k.
  142. config FEATURE_TOP_SMP_CPU
  143. bool "SMP CPU usage display ('c' key)"
  144. default y
  145. depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
  146. help
  147. Allow 'c' key to switch between individual/cumulative CPU stats
  148. This adds about 0.5k.
  149. config FEATURE_TOP_DECIMALS
  150. bool "Show 1/10th of a percent in CPU/mem statistics"
  151. default y
  152. depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
  153. help
  154. Show 1/10th of a percent in CPU/mem statistics.
  155. This adds about 0.3k.
  156. config FEATURE_TOP_SMP_PROCESS
  157. bool "Show CPU process runs on ('j' field)"
  158. default y
  159. depends on TOP
  160. help
  161. Show CPU where process was last found running on.
  162. This is the 'j' field.
  163. config FEATURE_TOPMEM
  164. bool "Topmem command ('s' key)"
  165. default y
  166. depends on TOP
  167. help
  168. Enable 's' in top (gives lots of memory info).
  169. config FEATURE_SHOW_THREADS
  170. bool "Support for showing threads in ps/pstree/top"
  171. default y
  172. depends on PS || TOP || PSTREE
  173. help
  174. Enables the ps -T option, showing of threads in pstree,
  175. and 'h' command in top.
  176. config WATCH
  177. bool "watch"
  178. default y
  179. help
  180. watch is used to execute a program periodically, showing
  181. output to the screen.
  182. endmenu