- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Finding out what image is being executed by an...
Operating System - OpenVMS
1752754
Members
4806
Online
108789
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО05-23-2008 08:15 AM
тАО05-23-2008 08:15 AM
Solution
The output you posted verifies that you are not (yet) running any image.
The version of GAWK that you are using here must be a DCL verb. Required command line parameters for DCL verbs are prompted for and read by DCL *before* it invokes the image.
You need to get the VERB utility, available at:
http://vms.process.com/fileserv-software.html
Then the "image" line output with "VERB GAWK" will specify what version of GAWK it is running. The default path for an image is SYS$SYSTEM:, but it may also be a logical name.
To update your verb definition for your process use "SET COMMAND GAWK.CLD".
To update it permanantly for all users use:
$ SET COMMAND GAWK.CLD -
/TABLES=SYS$COMMON:[SYSLIB]DCLTABLES.EXE
/OUTPUT=SYS$COMMON:[SYSLIB]DCLTABLES.EXE
$ INSTALL REPLACE SYS$SHARE:DCLTABLES.EXE
(users must relogin to use the new definition).
You posted:
$ gawk
_data file(s):
HFCP01::_TNA15: 16:02:32 (DCL) CPU=00:21:02.77 PF=314530 IO=5301382 MEM=327
The version of GAWK that you are using here must be a DCL verb. Required command line parameters for DCL verbs are prompted for and read by DCL *before* it invokes the image.
You need to get the VERB utility, available at:
http://vms.process.com/fileserv-software.html
Then the "image" line output with "VERB GAWK" will specify what version of GAWK it is running. The default path for an image is SYS$SYSTEM:, but it may also be a logical name.
To update your verb definition for your process use "SET COMMAND GAWK.CLD".
To update it permanantly for all users use:
$ SET COMMAND GAWK.CLD -
/TABLES=SYS$COMMON:[SYSLIB]DCLTABLES.EXE
/OUTPUT=SYS$COMMON:[SYSLIB]DCLTABLES.EXE
$ INSTALL REPLACE SYS$SHARE:DCLTABLES.EXE
(users must relogin to use the new definition).
You posted:
$ gawk
_data file(s):
HFCP01::_TNA15: 16:02:32 (DCL) CPU=00:21:02.77 PF=314530 IO=5301382 MEM=327
I have one, but it's personal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 11:40 AM
тАО05-23-2008 11:40 AM
Re: Finding out what image is being executed by another process
As just mentioned, the prompting is being done by DCL. To get past that, so you are actually waiting inside GAWK, try
$ gawk tt:
$ gawk tt:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2008 02:21 PM
тАО05-25-2008 02:21 PM
Re: Finding out what image is being executed by another process
James,
>I'm trying to run the correct version of
>GAWK on one of my sessions, but it keeps
>picking up the wrong version.
A bigger (privileged) hammer to see what's going on:
$ SET PROCESS/PRIV=CMKRNL
$ SET WATCH/CLASS=MAJOR FILE
$ gawk
this will trace file system operations, which will reveal which directories and files are being accessed. It might not show *why*, but at least you can confirm your suspicion.
When finished:
$ SET WATCH/CLASS=NONE FILE
>I'm trying to run the correct version of
>GAWK on one of my sessions, but it keeps
>picking up the wrong version.
A bigger (privileged) hammer to see what's going on:
$ SET PROCESS/PRIV=CMKRNL
$ SET WATCH/CLASS=MAJOR FILE
$ gawk
this will trace file system operations, which will reveal which directories and files are being accessed. It might not show *why*, but at least you can confirm your suspicion.
When finished:
$ SET WATCH/CLASS=NONE FILE
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2008 10:57 PM
тАО05-27-2008 10:57 PM
Re: Finding out what image is being executed by another process
Thanks to all who replied.
The problem was that the command GAWK.CLD had been installed, by something I have yet to discover.
So indeed, by executing GAWK with no arguments, it is DCL and the command interpreter that is prompting for the input files, and not the GAWK image itself.
Doing a SET COMMAND /DELETE=GAWK removed the command and allowed me to execute GAWK.EXE directly
JP.
The problem was that the command GAWK.CLD had been installed, by something I have yet to discover.
So indeed, by executing GAWK with no arguments, it is DCL and the command interpreter that is prompting for the input files, and not the GAWK image itself.
Doing a SET COMMAND /DELETE=GAWK removed the command and allowed me to execute GAWK.EXE directly
JP.
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP