You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

116 lines
3.8 KiB

  1. # verynice.conf -- sample configuration file
  2. #
  3. # declare root immune (root owned processes will never be adjusted)
  4. immuneuser root
  5. immuneuser bin
  6. immuneuser daemon
  7. immuneuser adm
  8. # declare immune program, matlab in this case. If the line is uncommented,
  9. # any program with "matlab" in it's path will be immune to renicing.
  10. # The quoted quantity must match a substring of the symbolic link in
  11. # /proc/{pid}/exe
  12. # if there is a leading slash, the match must be precise
  13. #immuneexe "matlab"
  14. # declare "bad" program -- automatically niced to batch job level
  15. #badexe "mathematica"
  16. # declare "hungry" program -- always assumed to have 100% cpu usage,
  17. # regardless of actual usage. For programs
  18. # which tend to have lots of little subprocesses
  19. # with short lifetimes to do their dirty work
  20. # (such as "make")
  21. # (we use leading slashes and various possible paths so that we will never
  22. # accidentally give this flag to another program)
  23. # Note that it IS possible to set both the "hungry" and "runaway" flags
  24. # simultaneously (process will always be killed after a certain amount of time)
  25. hungryexe "/usr/bin/make"
  26. hungryexe "/usr/bin/gmake"
  27. hungryexe "/usr/bin/cmake"
  28. hungryexe "/usr/bin/qmake"
  29. hungryexe "/usr/bin/ccmake"
  30. hungryexe "/usr/bin/ccache"
  31. hungryexe "/bin/make"
  32. hungryexe "/bin/gmake"
  33. hungryexe "/bin/cmake"
  34. hungryexe "/bin/qmake"
  35. hungryexe "/bin/ccmake"
  36. hungryexe "/bin/ccache"
  37. hungryexe "clang"
  38. hungryexe "clang++"
  39. hungryexe "gcc"
  40. hungryexe "g++"
  41. hungryexe "x86_64-pc-linux-gnu-gcc"
  42. hungryexe "x86_64-pc-linux-gnu-g++"
  43. hungryexe "cave"
  44. # declare "good" program -- automatically negatively reniced to
  45. # multimedia job level. goodexe "xmms" reduces the chances of skipping when
  46. # playing mp3's
  47. # Also we do this for "xanim" and "realplay"
  48. goodexe "xmms"
  49. goodexe "xanim"
  50. goodexe "realplay"
  51. goodexe "rvplayer"
  52. goodexe "amarok"
  53. goodexe "vlc"
  54. goodexe "mplayer"
  55. goodexe "mplayer2"
  56. goodexe "gnome-mplayer"
  57. goodexe "guayadeque"
  58. # reduce your probability of turning out coasters from your CD drive
  59. goodexe "cdrecord"
  60. goodexe "xcdroast"
  61. # games
  62. goodexe "ns2_linux32"
  63. # Making the X server a "good" program is usually a good idea too
  64. # -- X is essentially a multimedia app. These next few lines will
  65. # work even if root is declared an "immune" user and X is run as root,
  66. # because "goodexe"'s specified in verynice.conf are exceptions to
  67. # the "immuneuser" rule
  68. # (these are appropriate for RedHat Linux, with XFree 3.x -- the appropriate
  69. # file might be different on your system. To find the proper name, do a PS
  70. # to find the X pid, then ls -l /proc/{pid}/exe
  71. goodexe "/usr/bin/Xorg"
  72. goodexe "/usr/bin/X"
  73. goodexe "/etc/X11/X"
  74. goodexe "/usr/X11R6/bin/XF86_SVGA"
  75. goodexe "/usr/X11R6/bin/XF86_Mono"
  76. goodexe "/usr/X11R6/bin/XF86_VGA16"
  77. goodexe "/usr/X11R6/bin/XF86_S3"
  78. goodexe "/usr/X11R6/bin/XF86_Mach32"
  79. goodexe "/usr/X11R6/bin/XF86_Mach64"
  80. goodexe "/usr/X11R6/bin/XF86_Mach8"
  81. goodexe "/usr/X11R6/bin/XF86_8514"
  82. goodexe "/usr/X11R6/bin/XF86_P9000"
  83. goodexe "/usr/X11R6/bin/XF86_AGX"
  84. goodexe "/usr/X11R6/bin/XF86_W32"
  85. # These are for XFree86 4.0, but haven't been tested
  86. goodexe "/usr/X11R6/bin/XFree86"
  87. goodexe "/usr/X11R6/bin/X"
  88. # declare "potential runaway" program. potential runaways can go to a lower
  89. # priority (reniced all the way to +20), and if they exceed that will be
  90. # killed. Other processes are never killed. This is good for netscape and
  91. # any other programs with a tendency to start eating the CPU for no reason.
  92. runawayexe "netscape"
  93. runawayexe "Fvwm"
  94. runawayexe "xfig"
  95. runawayexe "gimp"
  96. # Sample additional parameters, specifying the built in defaults
  97. #notnice -4
  98. #batchjob 18
  99. #runaway 20
  100. #kill 22
  101. #badkarmarate .0167
  102. #badkarmarestorationrate .0167
  103. #periodicity 60
  104. #rereadcfgperiodicity 60