- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: CPU busy for a detached process
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
тАО09-13-2005 11:03 PM
тАО09-13-2005 11:03 PM
When running a dcl script as detached procees, it is taking almost 90% of CPU time. The script monitors the system error messages continuously and notifies the operator if it receives any potential error string on message. So, is there any idea how to reduce the CPU usage or this script can be submitted in other way which will have less impact on the system. Pls suggest..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 11:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 11:09 PM
тАО09-13-2005 11:09 PM
Re: CPU busy for a detached process
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2005 11:49 PM
тАО09-13-2005 11:49 PM
Re: CPU busy for a detached process
What timeout / poll mechanisme do you use?
Is is something like a basic SLEEP where it either waits on a time to elaps, or for terminal action? Running detached there will be no terminal to wait on, and a timeout based on that could well fail.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 06:42 PM
тАО09-14-2005 06:42 PM
Re: CPU busy for a detached process
May be your dcl procedure asks for interactive terminal and when detached goes into error section and loops infinitely.
Have you some log?
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 11:57 PM
тАО09-14-2005 11:57 PM
Re: CPU busy for a detached process
I am submitting this DCL script using run loginout.exe/input=dcl script/output=nl:/detached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 12:03 AM
тАО09-15-2005 12:03 AM
Re: CPU busy for a detached process
Also try adding /prio=1
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 01:08 AM
тАО09-15-2005 01:08 AM
Re: CPU busy for a detached process
I like to use a symbol to set the wait time as a parameter in the beginning of any DCL script. Then in the wait loop I refer to the symbol:
$ delta_wait = "0:0:10.0"
$ ...
$LOOP:
$ < do some things>
$ wait 'delta_wait'
$ goto LOOP
Have you thought about setting up another mechanism to receive the messages? It would be more efficient if you could read the messages continuously with normall queued IO either from a mailbox or shared read access to the file. Have you considered these and other possibilities?
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 04:10 AM
тАО09-15-2005 04:10 AM
Re: CPU busy for a detached process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 04:35 PM
тАО09-15-2005 04:35 PM