- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System Accounting
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-17-2002 11:14 PM
04-17-2002 11:14 PM
System Accounting
If I have enabled system accounting on my hp-ux system , just wanted to know which are the files I have to look into for accounting info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 11:33 PM
04-17-2002 11:33 PM
Re: System Accounting
Have a look here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1cb43fa720f3d5118ff40090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 11:37 PM
04-17-2002 11:37 PM
Re: System Accounting
The main files are:
- /var/adm/pacct
- /var/adm/wtmp
For more information and accounting usage,
# man 1m acct
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 07:21 AM
04-18-2002 07:21 AM
Re: System Accounting
The files you need to look at are the reports generated by system accounting. These are located in "/var/adm/acct/sum".
Human reports are called sa$M$D where $M is the month and $D is the day of the month.
Additional data can be parsed with prtacct and are called ta$M$D where $M is the month and $D is the day of the month.
Normally I do not call runacct directly from cron, but build a script to do the following.
1. runacct # obvious
2. ckpacct #Turns acct off if disks are getting full
3. Compress reports more than one month old.
4. remove reports more than 3 months old
NOTE: You could also print the reports for yourself so they are ready when you come in. ;)
Personally, I think that system account is the most usefull yet underused of UNIX services. Hope it serves you well!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 07:30 AM
04-18-2002 07:30 AM
Re: System Accounting
The main file is /var/adm/pacct which keeps on getting fatter with the usage . You can see man acct to get more information . accton will give the o/p as you desired . man accton will get you where you want.
Manoj Srivastava