[beyes@localhost ~]$ ll /proc/sys
total 0
dr-xr-xr-x 0 root root 0 May 25 04:49 debug
dr-xr-xr-x 0 root root 0 May 25 04:49 dev
dr-xr-xr-x 0 root root 0 May 24 20:36 fs
dr-xr-xr-x 0 root root 0 May 24 23:01 kernel
dr-xr-xr-x 0 root root 0 May 25 01:38 net
dr-xr-xr-x 0 root root 0 May 25 04:49 sunrpc
dr-xr-xr-x 0 root root 0 May 25 04:49 vm
[root@localhost beyes]# sysctl -a |more
kernel.sched_child_runs_first = 0
kernel.sched_min_granularity_ns = 2250000
kernel.sched_latency_ns = 18000000
kernel.sched_wakeup_granularity_ns = 3000000
kernel.sched_tunable_scaling = 1
... ...
[root@localhost beyes]# sysctl -a |wc -l
750
[root@localhost beyes]# sysctl kernel.ostype
kernel.ostype = Linux
[root@localhost beyes]# sysctl -n kernel.ostype
Linux
[root@localhost beyes]# sysctl -w kernel.domainname="localhost"
kernel.domainname = localhost
[root@localhost beyes]# sysctl kernel.domainname
kernel.domainname = localhost
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |