亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問板塊 發(fā)新帖
查看: 1852 | 回復(fù): 9
打印 上一主題 下一主題

[系統(tǒng)管理] sysctl 的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2015-12-07 09:26 |只看該作者 |倒序?yàn)g覽
本帖最后由 tenya 于 2015-12-07 10:30 編輯

我很奇怪,本來,我一開始執(zhí)行sysctl -a看到很多信息的。后來記得我執(zhí)行后 sysctl -w kernel.core_pattern=core.%p.%t 后,再用sysctl -a 查詢一下,發(fā)現(xiàn)什么也看不到,變空了。請(qǐng)問哪位大哥知道這是怎么回事。
重啟后也不行。

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2015-12-07 11:39 |只看該作者
sysctl -p: Load in sysctl settings from the file specified or /etc/sysctl.conf if none given.
or check the file /etc/sysctl.conf

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2015-12-07 13:59 |只看該作者
本帖最后由 tenya 于 2015-12-07 14:00 編輯

回復(fù) 2# tomshenhao

你看一下:

$ sysctl -p
[root] /root
$
$ cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl( and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Disable netfilter on bridges.
#net.bridge.bridge-nf-call-ip6tables = 0
#net.bridge.bridge-nf-call-iptables = 0
#net.bridge.bridge-nf-call-arptables = 0

# Controls the default maxmimum size of a mesage queue
kernel.msgmnb = 65536

# Controls the maximum size of a message, in bytes
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296

kernel.sem=550 320000 350 4096

#-----------------------------------------
net.ipv4.tcp_keepalive_intvl = 75
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_time = 300




   

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2015-12-07 16:54 |只看該作者
自己頂一下,不然就沉了。

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2015-12-08 04:07 |只看該作者
那你現(xiàn)在執(zhí)行sysctl -a是什麼結(jié)果呢?

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2015-12-23 10:50 |只看該作者
回復(fù) 5# tomshenhao
沒有什么東西,也是空的,你看:

[root] /root
$ sysctl -a
[root] /root

   

論壇徽章:
84
每日論壇發(fā)貼之星
日期:2015-12-29 06:20:00每日論壇發(fā)貼之星
日期:2016-01-16 06:20:00每周論壇發(fā)貼之星
日期:2016-01-17 22:22:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-20 06:20:00每日論壇發(fā)貼之星
日期:2016-01-20 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-21 06:20:00每日論壇發(fā)貼之星
日期:2016-01-21 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-23 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-31 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-01-16 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-16 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-14 06:20:00
7 [報(bào)告]
發(fā)表于 2015-12-23 23:07 |只看該作者
奇怪,什么系統(tǒng)?

執(zhí)行下面的命令看看輸出:
which sysctl
ls -l `which sysctl`
strace sysctl -a

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2015-12-29 12:40 |只看該作者
本帖最后由 tenya 于 2015-12-29 12:56 編輯

回復(fù) 7# yjh777

$ cat /etc/issue
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m

$ which sysctl
/sbin/sysctl
[root] /root

$ ls -l `which sysctl`
-rwxr-xr-x 1 root root 0 12月  4 15:40 /sbin/sysctl
[root] /root

$ strace sysctl -a
execve("/sbin/sysctl", ["sysctl", "-a"], [/* 33 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
exit_group(1)                           = ?
+++ exited with 1 +++
[root] /root

-------------------------------------------------------------
奇怪了,我的sysctl為何變成0大小了。

   

論壇徽章:
84
每日論壇發(fā)貼之星
日期:2015-12-29 06:20:00每日論壇發(fā)貼之星
日期:2016-01-16 06:20:00每周論壇發(fā)貼之星
日期:2016-01-17 22:22:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-20 06:20:00每日論壇發(fā)貼之星
日期:2016-01-20 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-21 06:20:00每日論壇發(fā)貼之星
日期:2016-01-21 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-23 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-31 06:20:00數(shù)據(jù)庫(kù)技術(shù)版塊每日發(fā)帖之星
日期:2016-01-16 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-16 06:20:00程序設(shè)計(jì)版塊每日發(fā)帖之星
日期:2016-01-14 06:20:00
9 [報(bào)告]
發(fā)表于 2015-12-29 13:04 |只看該作者
被人為破壞了,
    或者自己不小心執(zhí)行什么操作時(shí), 給清零了,,,

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2016-04-05 10:32 |只看該作者
回復(fù) 9# yjh777


是的,莫名文件被清了。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP