- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- getting complete info using ps
Operating System - HP-UX
1822783
Members
4023
Online
109645
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
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-28-2009 10:21 PM
тАО05-28-2009 10:21 PM
getting complete info using ps
Hi all,
I am running one program from dir
/usr/symology/syst/menus
*****************************************
Progarm1:
/usr/symology/acucobol72/bin/runcbl -f -c $SYMCFG/symology.cfg $SYMPRG/SYMBATCH.acu 000007
Program2:
/usr/symology/acucobol72/bin/runcbl -f -c $SYMCFG/symology.cfg $SYMPRG/SYMBATCH.acu 000008
******************************************
After that when i do
ps -eaf | grep 'runcbl -f -c'| grep '/usr/symology/syst/menus'
i get 2 processes result as:
/usr/symology/acucobol72/bin/runcbl -f -c /usr/symology/syst/me
/usr/symology/acucobol72/bin/runcbl -f -c /usr/symology/syst/me
Now how can i know which process running on 000007 and which one on 000008.
Can we have any cmd whcih gives more details ?
Also it is not showing complete path name and cuting at 'me' rathar than menus.
Thanks
I am running one program from dir
/usr/symology/syst/menus
*****************************************
Progarm1:
/usr/symology/acucobol72/bin/runcbl -f -c $SYMCFG/symology.cfg $SYMPRG/SYMBATCH.acu 000007
Program2:
/usr/symology/acucobol72/bin/runcbl -f -c $SYMCFG/symology.cfg $SYMPRG/SYMBATCH.acu 000008
******************************************
After that when i do
ps -eaf | grep 'runcbl -f -c'| grep '/usr/symology/syst/menus'
i get 2 processes result as:
/usr/symology/acucobol72/bin/runcbl -f -c /usr/symology/syst/me
/usr/symology/acucobol72/bin/runcbl -f -c /usr/symology/syst/me
Now how can i know which process running on 000007 and which one on 000008.
Can we have any cmd whcih gives more details ?
Also it is not showing complete path name and cuting at 'me' rathar than menus.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 10:25 PM
тАО05-28-2009 10:25 PM
Re: getting complete info using ps
Hello Diwakar,
here is below script which i found from one of thread, this may help you,
http://www.hpux.ws/?p=8
here is below script which i found from one of thread, this may help you,
http://www.hpux.ws/?p=8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 10:34 PM
тАО05-28-2009 10:34 PM
Re: getting complete info using ps
Hi,
ps -efx shows full paths.
Kenan.
ps -efx shows full paths.
Kenan.
Computers have lots of memory but no imagination
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2009 01:18 AM
тАО05-29-2009 01:18 AM
Re: getting complete info using ps
Hello,
Apart from various ps(1M) command options,
there is also a configuration file
/etc/default/ps in recent versions of HP-UX.
By default, here are the contents of the file:
##################################################################
# #
# /etc/default/ps configuration file #
# Set the default COMMAND line width. Any value between 64-1020 #
# can be set. #
# #
##################################################################
DEFAULT_CMD_LINE_WIDTH=128
Cheers,
VK2COT
Apart from various ps(1M) command options,
there is also a configuration file
/etc/default/ps in recent versions of HP-UX.
By default, here are the contents of the file:
##################################################################
# #
# /etc/default/ps configuration file #
# Set the default COMMAND line width. Any value between 64-1020 #
# can be set. #
# #
##################################################################
DEFAULT_CMD_LINE_WIDTH=128
Cheers,
VK2COT
VK2COT - Dusan Baljevic
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP