由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - one question about syslogd
相关主题
帮我看看我的GCC怎么了!谢谢Who can recommend some good books on Unix Administration
如何在KDE下实现权限的限制?please help, CGI..
help: solaris interface configurationHow to add network card under solaris?
send_mail一个ssh问题
how to re configure network setting under Solaris如何在unix print
urgent!在solaris下编译VIM失败
where is the pre-build version of cxterm-solarisre-configure network and change hostname
how to configure networking after installationabout syslog deamon
相关话题的讨论汇总
话题: 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版参与讨论
相关主题
about syslog deamonhow to re configure network setting under Solaris
[转载] help, 这个syslog该怎么设?urgent!
普通用户的login attempt failed le...where is the pre-build version of cxterm-solaris
AIX的IP Security怎么做?how to configure networking after installation
帮我看看我的GCC怎么了!谢谢Who can recommend some good books on Unix Administration
如何在KDE下实现权限的限制?please help, CGI..
help: solaris interface configurationHow to add network card under solaris?
send_mail一个ssh问题
相关话题的讨论汇总
话题: syslogd话题: syslog话题: what话题: check话题: question