Home Man
Search
Today's Posts
Register

HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

PS output is not displaying full process running

Tags
hp-ux

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 07-15-2016
HP PS output is not displaying full process running

I have 4 HPUX 11.31 servers with the same Quality Pack bundles. "AS FAR AS I CAN TELL" no system files have been modified.
  • /usr/bin/ps is the same date size and creation date
  • terminfo file (x-->xterm) is the same date size and creation date
  • shell (ksh) is the same date size and creation date
on all 4 nodes.

This problem appears using either a xterm emulator or a putty ssh session.
The TERM type is xterm
Code:
echo $TERM
xterm

PROBLEM:
On one of the nodes, a ps -ef output does not show the full output of the process command running as it does on the other 3 servers.

From the script -
Code:
ps -ef | egrep -e '-Dn='$RESOURCE

($Resource is name of the process we are grep'ing on)

From the command line -
Code:
ps -ef | egrep -e '-Dn='Bob1

(or Bob2) (depends which process is on which box).
This is a Service guard package so Bob1 is on Node 1 and Bob2 is on Node 2.
Bob1 output shows up fully as expected. Bob2 output gets truncated.
When Bob2 is on Node 1, the output is normal (complete line is displayed).
So it seems to be following the Node. Just do not know where to begin looking to solve this.

Last edited by rbatte1; 07-18-2016 at 06:17 AM.. Reason: Set formatted list from text one, added CODE tags
# 2  
Old 07-15-2016
Did you try using extended format option?
Code:
-x             Shows the command line in extended format.

# 3  
Old 07-15-2016
Yes, we have, and it solves the issue, but, why would that have changed and it is not needed on the other 3 boxes.
# 4  
Old 07-15-2016
Code:
# getconf ARG_MAX
# UNIX95=1 ps -ef | cat
# kctune | egrep 'ps|proc'
# type ps; which ps

Any diffference?
# 5  
Old 07-15-2016
Yes.
The UNIX95 shows the truncated command being ran on the ailing node.
Rest are the same.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Command to get exact tomcat process I am running ignoring other java process Ghanshyam Ratho Shell Programming and Scripting 4 11-17-2017 11:52 AM
Nohup not give expected output. Non-stop running process baris35 Shell Programming and Scripting 4 10-11-2016 03:50 PM
Displaying log file pattern output in tabular form output Optimus81 Shell Programming and Scripting 9 02-01-2013 10:26 AM
Banner not displaying full content pandeesh UNIX for Dummies Questions & Answers 5 01-19-2012 07:42 AM
Variable not displaying while running in cron job josephroyal Shell Programming and Scripting 4 06-22-2011 06:52 AM
ps -ef does not displaying the running process sureshbabuc Shell Programming and Scripting 8 11-25-2009 12:39 PM
script to monitor process running on server and posting a mail if any process is dead pradeepmacha Shell Programming and Scripting 13 03-06-2009 06:33 AM
Displaying current user process felixwhoals Shell Programming and Scripting 14 12-16-2007 06:00 PM
Displaying output from df -k in GB instead of KB LinuxRacr Shell Programming and Scripting 6 09-19-2007 04:31 PM
Displaying VERY long process names with ps -ef m223464 UNIX for Dummies Questions & Answers 8 02-07-2006 09:44 AM


All times are GMT -4. The time now is 05:22 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password