Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:tips [2009/07/23 15:48] 193.164.137.40 Limit the CPU usage of an application (process) - cpulimit |
linux:tips [2015/05/08 12:09] (current) zagi |
||
---|---|---|---|
Line 118: | Line 118: | ||
This will cleanly unmount drives, terminate processes and nicely reboot your machine. | This will cleanly unmount drives, terminate processes and nicely reboot your machine. | ||
+ | |||
+ | <note important> | ||
**also for more detailed info see:** [[http:// | **also for more detailed info see:** [[http:// | ||
Line 300: | Line 302: | ||
* If you want kernel to swap out more process memory and thus cache more file contents increase the value. Otherwise, if you would like kernel to swap less decrease it. | * If you want kernel to swap out more process memory and thus cache more file contents increase the value. Otherwise, if you would like kernel to swap less decrease it. | ||
* More info [[http:// | * More info [[http:// | ||
+ | |||
+ | Example: | ||
+ | * '' | ||
+ | * '' | ||
+ | * A value of '' | ||
+ | |||
===== Getting rid of that obsolete delay after password authentication ===== | ===== Getting rid of that obsolete delay after password authentication ===== | ||
Line 352: | Line 360: | ||
If you have a reliable server with a good RAID card and power supply, you could set the dirty_ratio to 100 and the dirty_background_ratio to 1. This was recommended by a buddy of mine who runs quite a few servers running virtual machines. | If you have a reliable server with a good RAID card and power supply, you could set the dirty_ratio to 100 and the dirty_background_ratio to 1. This was recommended by a buddy of mine who runs quite a few servers running virtual machines. | ||
+ | |||
+ | ===== convert files from ISO to UTF-8 ==== | ||
+ | |||
+ | < | ||
+ | for x in `find . -name ' | ||
+ | </ | ||
+ | |||
===== How do I force users to change their passwords upon first login? ===== | ===== How do I force users to change their passwords upon first login? ===== |