LoginSignup
5
5

More than 5 years have passed since last update.

【Linux】カーネルパラメータの変更

Posted at

備忘録程度に整理。

-

1.全カーネルパラメータの確認

# sysctl -a
test:~ test$ sysctl -a
user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin
user.bc_base_max: 99
user.bc_dim_max: 2048
user.bc_scale_max: 99
user.bc_string_max: 1000
user.coll_weights_max: 2
user.expr_nest_max: 32
・
・
・

-

2.特定パラメータの確認

# sysctl <パラメータ名>
test:~ test$ sysctl user.bc_base_max
user.bc_base_max: 99
test:~ test$ 

-

3.パラメータ変更

# sysctl -w <パラメータ名>=<値>
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5