Sponsored Content
Operating Systems HP-UX PS output is not displaying full process running Post 302977299 by mrmurdock on Friday 15th of July 2016 02:56:26 PM
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 07:17 AM.. Reason: Set formatted list from text one, added CODE tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Displaying VERY long process names with ps -ef

Hi, I'm trying to display all process on an AIX server with the string SLRServer in them. Normally "ps -ef|grep SLRServer" would be sufficient, however in this instance the process name is enormous and the part which contains this string has been truncated, as you can see in the example below ... (8 Replies)
Discussion started by: m223464
8 Replies

2. Shell Programming and Scripting

Displaying output from df -k in GB instead of KB

Hello all, Code below: echo "Oracle Filesystems" echo "------------------" echo for j in `df -l -k |grep total|grep ora|grep -v storage|grep -v vg00|awk '{print $1}'` do echo $j is `df -l -k $j |grep total|grep ora|grep -v storage|grep -v vg00|awk -F":" '{print $2}'|awk '{print $1}'` KB... (6 Replies)
Discussion started by: LinuxRacr
6 Replies

3. Shell Programming and Scripting

Displaying current user process

When I typed in ps -a I get this: PID TTY TIME CMD 31799 pts/3 00:00:00 vim 31866 pts/3 00:00:00 vim And to check who is currently logged in, I type who Felix Whoals Tada Whoals Lala Whoals How can I get the user process for all current users who logged in?? I think I need to combine... (14 Replies)
Discussion started by: felixwhoals
14 Replies

4. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

5. Shell Programming and Scripting

ps -ef does not displaying the running process

Hi, I am using the monitor shell script to check the particular process is running or not.If it is not running this monitor shell script will automatically start the process.I am using the ps -ef command to check the process availablity.But the problem is some times the ps -ef | grep "Process... (8 Replies)
Discussion started by: sureshbabuc
8 Replies

6. Shell Programming and Scripting

Variable not displaying while running in cron job

hi , While running my script individually the variable is working fine. But when i am running the same script from cron job it's displaying nothing. Can any one comment on this. (4 Replies)
Discussion started by: josephroyal
4 Replies

7. UNIX for Dummies Questions & Answers

Banner not displaying full content

HI, while using banner command, i am not getting the full content in the screen: banner "UNIX AUTOMATION" # # # # ### # # # # # ####### ####### # # # # ## # # # # # # # # # # # ## ## # # # # # # ... (5 Replies)
Discussion started by: pandeesh
5 Replies

8. Shell Programming and Scripting

Displaying log file pattern output in tabular form output

Hi All, I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form 1). Intercomponents Checking Passed: All Server are passed. ====================================================================== 2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies

9. Shell Programming and Scripting

Nohup not give expected output. Non-stop running process

Hello, I am trying to make a bash script, I tested nohup but it did not help me. My code is: ffmpeg -i $input_url -c:v copy -c:a copy -listen 1 -f mpegts http://localhost:port/live/test When I open it in VLC, it starts feeding my screen and I see bitrate values. When I stop watching it,... (4 Replies)
Discussion started by: baris35
4 Replies

10. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
CONJUNCT(1)						      General Commands Manual						       CONJUNCT(1)

NAME
conjunct - find dates of equinox or new or full moon SYNOPSIS
conjunct [options] DESCRIPTION
conjunct searches for one of these events: spring equinox (default), summer solstice, autumn equinox, winter solstice, new moon, or full moon. OPTIONS
-s, --start date Set starting date (default is current date). The date may be either a Julian day number (e.g. 2454180.0 for noon, 2007 March 20) or an ISO 8601 date (e.g. 2007-03-20). -e, --end date Set ending date (default is one year from now). -V, --vernal, --spring Search for spring equinox (default). -S, --summer Search for summer solstice. -A, --autumn, --fall Search for autumn equinox. -W, --winter Search for winter solstice. -N, --newmoon Search for new moon. -F, --fullmoon Search for full moon. -h, --help Show summary of options. SEE ALSO
aa(1). AUTHOR
conjunct was written by Stephen L. Moshier <steve@moshier.net>. This manual page was written by James R. Van Zandt <jrv@debian.org>, for the Debian project (but may be used by others). August 24, 2006 CONJUNCT(1)
All times are GMT -4. The time now is 08:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy