- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SYS$FORCEX Query
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
тАО04-13-2010 08:16 AM
тАО04-13-2010 08:16 AM
"The $FORCEX service completes successfully if a force exit request is already in effect for the target process but the exit is not yet completed."
Can anyone clarify what this means?
If you issue a $FORCEX on a process that already has a force exit request in effect, does this mean that the target process will exit immediately ?
Or does this mean that $FORCEX will just return a 'success' status, but will not actually try to force the target process to exit ?
I hope I'm making sense here. I did trawl for any previous queries on this, but couldn't see anything. Do shout if you need me to clarify on anything here.
(Documentation Source:)
http://h71000.www7.hp.com/doc/83final/4527/4527pro_050.html
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 08:31 AM
тАО04-13-2010 08:31 AM
Solutionif the PCB$V_FORCPEN bit is set in PCB$L_STS of the target process, $FORCEX will just return SS$_NORMAL without attempting to queue another AST to the target process to request image exit. The image in the target process will eventually exit.
If the target process has the PCB$V_NODELET bit set, $FORCEX will also just return as above.
Reference: [SYS]SYSFORCEX
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 08:42 AM
тАО04-13-2010 08:42 AM
Re: SYS$FORCEX Query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 02:24 PM
тАО04-13-2010 02:24 PM
Re: SYS$FORCEX Query
It will just return success. As Volker pointed out, you can check to see if there is a forced-exit pending or you can escalate to a $delprc if that is appropriate.
Do you have a specific problem or requirement in mind?
Cheers Richard Maher
PS. IIRC $forcex needs to deliver a USER mode AST to the target process. If the process is already in an AST or in an inner-mode then any action will be delayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2010 05:09 PM
тАО04-13-2010 05:09 PM
Re: SYS$FORCEX Query
[Just so we don't discuss this all again. Perhaps the RWAST state is itself in RWAST...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2010 12:29 AM
тАО04-14-2010 12:29 AM
Re: SYS$FORCEX Query
I won't go into specifics, but essentially knowing what happens when you issue a 2nd $forcex on a target process that already has an exit request in effect will help with some analysis we're carrying out.
Back to the analysis then...
Thanks again folks!