Debian Codegraph @

lab/setbdflush

raw symbols SCIP
1 #! /bin/sh
2
3 #================================================================
4 # setbdflush
5 # Setting the parameters of kernel daemon to flush dirty buffers
6 #================================================================
7
8
9 # show previous setting
10 printf 'old value:\n '
11 sysctl vm.bdflush | tr '\t' ' '
12
13
14 # set new parameters
15 printf 'current value:\n '
16 sysctl -w "vm.bdflush=80 1000 0 0 0 10000 100 0 0"
17
18
19 # exit normally
20 exit 0
21
22
23
24 # END OF FILE