- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Accounting for subprocesses in batch jobs
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
Discussions
Discussions
Forums
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
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
тАО12-07-2005 03:47 AM
тАО12-07-2005 03:47 AM
Accounting information:
It seems that this only includes resources used by the main process, and not sub-processes, in spite of the fact that the Job completed message is shown.
Is there any way to ensure that the sub-process resources are counted in the total?
For example:
$ run resource_hog ! adds to account info
$ pipe dir | run resource_hog ! does not
Seems like an easy way to bypass resource accounting !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 04:20 AM
тАО12-07-2005 04:20 AM
Re: Accounting for subprocesses in batch jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 05:38 AM
тАО12-07-2005 05:38 AM
Re: Accounting for subprocesses in batch jobs
ACCOUNTING does show the subprocess resource usage - but only if subprocess accounting is enabled. If disabled, only the parent process usage seems to be shown.
However, if subprocess accounting is disabled, submit/cpu still works as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 05:45 AM
тАО12-07-2005 05:45 AM
Re: Accounting for subprocesses in batch jobs
A quota is a completely different mechanism than accounting. I am fairly confident that a specified CPU limit still works, even if you completely disable accounting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 05:53 AM
тАО12-07-2005 05:53 AM
Re: Accounting for subprocesses in batch jobs
it's all just a matter of security setup of wour system.
If everything is disabled, then everything is bypassed.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 07:36 AM
тАО12-07-2005 07:36 AM
SolutionSubprocesses have their own accounting records. Assuming accounting is enabled, see the ACCOUNTING utility. You can extract the records for a process and all its subprocesss (identifiable by the Owner ID field). ACCOUNTING can add them all together and generate a report. Exact combination of qualifiers required for your specific case left as an exercise.
>SUBMIT/CPU=hh:mm:ss does seem to take
>note of the total CPU in the job.
It does, but in a kind of weird way. CPU limit for a process is a DEDUCTIBLE quota. Very strange concept. Check out the $CREPRC docs for a full explanation.