- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trimming inetd logging log regularly
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 12:59 PM
04-23-2002 12:59 PM
vi /etc/rc.config.d/netdaemons
export INETD_ARGS=-1
inetd -c
After that, I need to trim the log file regularly, I know I can do it through SAM, my question is what is the default log and how can I do it if I use cron job? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:10 PM
04-23-2002 01:10 PM
Re: Trimming inetd logging log regularly
Default log is the standard syslog.log file but can be controlled & tailored by the conf file for the syslog - /etc/syslog.conf
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:14 PM
04-23-2002 01:14 PM
Re: Trimming inetd logging log regularly
Connection logging occurs to '/var/adm/syslog/syslog.log'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:21 PM
04-23-2002 01:21 PM
Solution# /sbin/init.d/syslogd stop
==> Stop syslogd
# cp /var/adm/syslog/syslog.log /var/adm/syslog/syslog.old
# compress /var/adm/syslog/syslog.old
==> You want to make sure /var has enough space, it not copy it to other location.
# > /var/adm/syslog/syslog.log
==> Zero'ed out syslog.log
# /sbin/init.d/syslogd start
==> Start syslogd
In root's cron file it would look like this ..
(say you want to do this every Fri at 0101hrs)
# crontab -e
==> edit crontab file
# crontab -l
01 01 * * 5 /usr/bin/cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 02:09 PM
04-23-2002 02:09 PM
Re: Trimming inetd logging log regularly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 02:09 PM
04-23-2002 02:09 PM
Re: Trimming inetd logging log regularly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 02:25 PM
04-23-2002 02:25 PM