GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX accounting
Operating System - HP-UX
1847300
Members
2778
Online
110264
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
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
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
02-23-2003 10:29 PM
02-23-2003 10:29 PM
HP-UX accounting
Hi all,
I have encountered a problem for the files under the accounting used directory.
I have made a slightly modification (add a line: cp -p ${_wtmp} ${_sum}/wtmp.${_date}) to /usr/lib/acct/runacct. The file is abled to copy to the /var/adm/acct/sum. But, I have discovered that after restart the system (Halt the system and then power it on), all the files whose name start with wtmp.xxxx under /var/adm/acct/sum have disappeared.
I don't know why?? Is it due to the script of accounting or any other reason?
Hope someone can help me for it
Thanks
Regards,
Wendy
I have encountered a problem for the files under the accounting used directory.
I have made a slightly modification (add a line: cp -p ${_wtmp} ${_sum}/wtmp.${_date}) to /usr/lib/acct/runacct. The file is abled to copy to the /var/adm/acct/sum. But, I have discovered that after restart the system (Halt the system and then power it on), all the files whose name start with wtmp.xxxx under /var/adm/acct/sum have disappeared.
I don't know why?? Is it due to the script of accounting or any other reason?
Hope someone can help me for it
Thanks
Regards,
Wendy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 12:39 AM
02-24-2003 12:39 AM
Re: HP-UX accounting
Hi
Accounting is Turned On when HP-UX enters multi-user mode, the system startup, starts accounting with the following functions:
* acctwtmp :add an initial record to /var/adm/wtmp.
* turnacct on:executes accton with the filename argument /var/adm/pacct
* Removes files left in /var/adm/acct/sum
by runacct.
Seems it clears all out and thus kills your data
from /etc/rc.log
Start accounting
Output from "/sbin/rc2.d/S700acct start":
Steve Steel
Accounting is Turned On when HP-UX enters multi-user mode, the system startup, starts accounting with the following functions:
* acctwtmp :add an initial record to /var/adm/wtmp.
* turnacct on:executes accton with the filename argument /var/adm/pacct
* Removes files left in /var/adm/acct/sum
by runacct.
Seems it clears all out and thus kills your data
from /etc/rc.log
Start accounting
Output from "/sbin/rc2.d/S700acct start":
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 01:21 AM
02-24-2003 01:21 AM
Re: HP-UX accounting
Hi,
I have execute runacct once a day. Why the files only delete at system restart instead of everyday? Also, I cannot find any line inside runacct to delete the files under /var/adm/acct/sum
Regards,
Wendy
I have execute runacct once a day. Why the files only delete at system restart instead of everyday? Also, I cannot find any line inside runacct to delete the files under /var/adm/acct/sum
Regards,
Wendy
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 2026 Hewlett Packard Enterprise Development LP