Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:tips [2013/09/17 16:03]
91.216.54.1 [Force a clean reboot when the system freezes]
linux:tips [2015/05/08 12:09] (current)
zagi
Line 119: Line 119:
 This will cleanly unmount drives, terminate processes and nicely reboot your machine. This will cleanly unmount drives, terminate processes and nicely reboot your machine.
  
-If you suspect memory corruption killed your kernel, be careful with Sync option. It may flush corrupted disk buffers over your filesystem and cause more headache after reboot.+<note important>**If you suspect memory corruption killed your kernel, be careful with Sync option. It may flush corrupted disk buffers over your filesystem and cause more headache after reboot.**</note>
  
 **also for more detailed info see:** [[http://en.wikipedia.org/wiki/Magic_SysRq_key]] **also for more detailed info see:** [[http://en.wikipedia.org/wiki/Magic_SysRq_key]]
Line 360: 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 ====
 +
 +<code> 
 +for x in `find . -name '*.htm'` ; do iconv -f ISO-8859-2 -t UTF-8 $x > "$x.utf8"; rm $x; mv "$x.utf8" $x; done
 +</code>
 +
  
 ===== How do I force users to change their passwords upon first login? ===== ===== How do I force users to change their passwords upon first login? =====
linux/tips.1379426622.txt.gz · Last modified: 2013/09/17 16:03 by 91.216.54.1
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready