HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem on XPG4 extensions to ps command
Operating System - HP-UX
1829347
Members
5023
Online
109991
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
Forums
Discussions
Discussions
Discussions
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
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
04-10-2002 11:50 PM
04-10-2002 11:50 PM
I have encountered the following problem with the ps -C options on a system running HP-UX 11, and Ingres II. PHCO_18446 is installed and configured.
As you can see below, ps -C doesn't report anything for the process iidbms, but does for iigcn. Using other options show that the iidbms process is definitely running.
Has anyone encountered this before, and if so, can it be resolved? All other processes (system and application) that I've tried to check for are reported with no problems.
-->ps -eo comm | grep iidbms
iidbms
iidbms
-->ps -eo args | grep iidbms
/universe/ingres/bin/iidbms recovery (dmfrcp) II
/universe/ingres/bin/iidbms dbms (default) II
grep iidbms
-->ps -C iidbms
PID TTY TIME CMD
-->ps -C iigcn
PID TTY TIME CMD
8736 ? 00:09 iigcn
As you can see below, ps -C doesn't report anything for the process iidbms, but does for iigcn. Using other options show that the iidbms process is definitely running.
Has anyone encountered this before, and if so, can it be resolved? All other processes (system and application) that I've tried to check for are reported with no problems.
-->ps -eo comm | grep iidbms
iidbms
iidbms
-->ps -eo args | grep iidbms
/universe/ingres/bin/iidbms recovery (dmfrcp) II
/universe/ingres/bin/iidbms dbms (default) II
grep iidbms
-->ps -C iidbms
PID TTY TIME CMD
-->ps -C iigcn
PID TTY TIME CMD
8736 ? 00:09 iigcn
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2002 11:59 PM
04-10-2002 11:59 PM
Solution
Hi,
you are using different options:
UNIX95= ps -C
is kind of equivalent to using the "-f" option for the process names - without "-f" you are getting the real codefilename, with "-f" you are getting "agrc[0]", which it what the running process *thinks* its name is.
As an example, let look onto Oracle RDBMS:
- the codefile is only one and its name is "oracle" (who would have guessed?)
- the processes think their names are:
-- ora_????_SID and oracleSID, like ora_lgwr_openview/ora_dbw0_openview/oracleopenview
If you look with "ps -ef" you'll see the "speaking" names, using "ps -e" you'll only see "oracle".
And "UNIX95= ps -C procname" searches for the processname, not the codefilename...
HTH,
Wodisch
you are using different options:
UNIX95= ps -C
is kind of equivalent to using the "-f" option for the process names - without "-f" you are getting the real codefilename, with "-f" you are getting "agrc[0]", which it what the running process *thinks* its name is.
As an example, let look onto Oracle RDBMS:
- the codefile is only one and its name is "oracle" (who would have guessed?)
- the processes think their names are:
-- ora_????_SID and oracleSID, like ora_lgwr_openview/ora_dbw0_openview/oracleopenview
If you look with "ps -ef" you'll see the "speaking" names, using "ps -e" you'll only see "oracle".
And "UNIX95= ps -C procname" searches for the processname, not the codefilename...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 02:00 AM
04-11-2002 02:00 AM
Re: Problem on XPG4 extensions to ps command
excellent!
I checked on the system, and when I looked at the executable for iidbms, it's a symbolic link to another executable iimerge.
et voila.
ps -Ciimerge
PID TTY TIME CMD
11460 ? 05:46 dmfacp
11444 ? 01:17 iidbms
11469 ? 08:32 iidbms
Thanks.
I checked on the system, and when I looked at the executable for iidbms, it's a symbolic link to another executable iimerge.
et voila.
ps -Ciimerge
PID TTY TIME CMD
11460 ? 05:46 dmfacp
11444 ? 01:17 iidbms
11469 ? 08:32 iidbms
Thanks.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP