boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - one question about syslogd
相关主题
帮我看看我的GCC怎么了!谢谢
如何在KDE下实现权限的限制?
help: solaris interface configuration
send_mail
how to re configure network setting under Solaris
urgent!
where is the pre-build version of cxterm-solaris
how to configure networking after installation
Who can recommend some good books on Unix Administration
please help, CGI..
相关话题的讨论汇总
话题: syslogd话题: syslog话题: what话题: check话题: question
进入Unix版参与讨论
1 (共1页)
l***r
发帖数: 459
1
hi Experts,
is there any way to get signal from syslogd?
where is syslog file and how to check the size of syslog?
Thanks.
m*******m
发帖数: 182
2

I took a quick look of the syslogd source code (under a BSD
source tree), and did not find any signal emition. So, I
guess there is no way to get.
I assume that you mean the log file. It is configurable in
/etc/syslog.conf.
Normally, /var/log/messages. You can just check the size of
this file.

【在 l***r 的大作中提到】
: hi Experts,
: is there any way to get signal from syslogd?
: where is syslog file and how to check the size of syslog?
: Thanks.

l***r
发帖数: 459
3

Thank you. I just check /var/log directory in our system.
There is no messages but syslog. However, syslog is 0 byte.
What's wrong with that? Is that because I am not root? Btw,
how
can I check size of a certain file by C/C++? I am poor on
C/C++.

【在 m*******m 的大作中提到】
:
: I took a quick look of the syslogd source code (under a BSD
: source tree), and did not find any signal emition. So, I
: guess there is no way to get.
: I assume that you mean the log file. It is configurable in
: /etc/syslog.conf.
: Normally, /var/log/messages. You can just check the size of
: this file.

m*******m
发帖数: 182
4

What OS are you running? (What does `uname -a` report?)
What
is the content in /etc/syslogd.conf?
`man fstat`

【在 l***r 的大作中提到】
:
: Thank you. I just check /var/log directory in our system.
: There is no messages but syslog. However, syslog is 0 byte.
: What's wrong with that? Is that because I am not root? Btw,
: how
: can I check size of a certain file by C/C++? I am poor on
: C/C++.

m*******m
发帖数: 182
5

Looks like you are on a Solaris box. It is usually set to
be
/var/adm/messages (but you need double check with
/etc/syslog.conf
to make sure), and it is world readable.

【在 l***r 的大作中提到】
:
: Thank you. I just check /var/log directory in our system.
: There is no messages but syslog. However, syslog is 0 byte.
: What's wrong with that? Is that because I am not root? Btw,
: how
: can I check size of a certain file by C/C++? I am poor on
: C/C++.

1 (共1页)
进入Unix版参与讨论
相关主题
please help, CGI..
How to add network card under solaris?
一个ssh问题
如何在unix print
在solaris下编译VIM失败
re-configure network and change hostname
about syslog deamon
[转载] help, 这个syslog该怎么设?
普通用户的login attempt failed le...
AIX的IP Security怎么做?
相关话题的讨论汇总
话题: syslogd话题: syslog话题: what话题: check话题: question