HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- config file
Operating System - HP-UX
1834902
Members
3033
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-23-2002 12:20 PM
05-23-2002 12:20 PM
Hey everyone,
Can s {'file'}: the logfile name (from conf file)
# {'owner'}: the logfile owner (from conf file)
# {'group'}: the logfile group (from conf file)
# {'mode'}: the logfile permissions (from conf file)
# {'gen'}: number of generations to keep (from conf file)
# {'size'}: max size of logfile (from conf file)
# {'time'}: max age of logfile (from conf file)
# {'flags'}: any flags (from conf file)
# {'pidfile'}: file containing PID to kill -HUP (from conf file)
# {'line'}: entire line (from conf file)
# {'linenum'}: line number (in conf file)
# {'stat'}: reference to array containing results of stat(file)
# {'old'}: reference to array containing named of old log files
# @compress is a list of files that will need to be compressed
omeone please help me with this. I need to create a config file based on the following information. Please help me get started on how to create this config file. I will forever be greatful for this. Points will definitely be given.
Can s {'file'}: the logfile name (from conf file)
# {'owner'}: the logfile owner (from conf file)
# {'group'}: the logfile group (from conf file)
# {'mode'}: the logfile permissions (from conf file)
# {'gen'}: number of generations to keep (from conf file)
# {'size'}: max size of logfile (from conf file)
# {'time'}: max age of logfile (from conf file)
# {'flags'}: any flags (from conf file)
# {'pidfile'}: file containing PID to kill -HUP (from conf file)
# {'line'}: entire line (from conf file)
# {'linenum'}: line number (in conf file)
# {'stat'}: reference to array containing results of stat(file)
# {'old'}: reference to array containing named of old log files
# @compress is a list of files that will need to be compressed
omeone please help me with this. I need to create a config file based on the following information. Please help me get started on how to create this config file. I will forever be greatful for this. Points will definitely be given.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 12:28 PM
05-23-2002 12:28 PM
Re: config file
You were not very specific on what you need. A config file for storing this info? or you you need to make a script which fills in the blanks in your config file?
If you give the end goal, I'll be happy to help you out.
If you give the end goal, I'll be happy to help you out.
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 12:59 PM
05-23-2002 12:59 PM
Re: config file
Thanks for your quck response. I have downloaded a perl script from lumberjack. This is a log rotating script. When I run lumberjack, it says to go get the information from the config file. So I need to create a cofig file and put all the appropriate info there so my lumberjack program can work. Here is the link of the perl script and the man page for it. Your hep will be greatly appreciated.
http://kludge.psc.edu/~ksulliva/netbsd/lumberjack.man.html
http://kludge.psc.edu/~ksulliva/netbsd/lumberjack.man.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2002 12:22 AM
05-24-2002 12:22 AM
Solution
Hi,
a typical line of /etc/lumberjack.config could look like:
/var/adm/syslog/syslog.log root.root 644 5 250 24 Z /var/run/syslog.pid,1
The fields are separated by each one blank or tab. Unused fields at the end can be ommitted.
The meaning of the fields is documented in the man page you referred to.
Regards, Klaus
a typical line of /etc/lumberjack.config could look like:
/var/adm/syslog/syslog.log root.root 644 5 250 24 Z /var/run/syslog.pid,1
The fields are separated by each one blank or tab. Unused fields at the end can be ommitted.
The meaning of the fields is documented in the man page you referred to.
Regards, Klaus
There is a live before death!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP