tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: getting the whole output from 'ps'
@ 1995-09-06 16:29 Dan Cambron (Motorola SPS/CST CIM)
  0 siblings, 0 replies; only message in thread
From: Dan Cambron (Motorola SPS/CST CIM) @ 1995-09-06 16:29 UTC (permalink / raw)
  To: tru64-unix-managers


Thanks for all the quick replies.  The answer from everyone was to use the 'w' 
and 'ww' options on ps to allow for >80 column output.  My apologies for not 
digging in to the man page deeper, it didn't occur to me that this was a 
"feature."

dan

original:

> I've got some system magic happening here I can't figure out.  I have a very 
> simple one line sh script on an HP/UX box that simply does a ps, then greps 
> through the command information to determine process id's.
> 
> I moved the same script to OSFV3.2a and it doesn't work.  One thing I did 
find 
> is that if I run the 'ps' one-liner from the command line in an xterm window 
> where part of the command column runs off the right of the window, it doesn't 
> work. BUT, if I widen the size of the xterm so that the whole command is in 
> view (the parts I'm grep'ing for), the script works.
> 
> I've used my own script, and a modified version of the 'ps' one-liners found 
in 
> most of the /sbin/init.d scripts, but neither work.  My xterms don't word 
wrap 
> and the HP xterm does.  But it seems to me that xterm (or ttys settings?) 
> shouldn't have anything to do with it. What am I missing? 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-06 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-06 16:29 SUMMARY: getting the whole output from 'ps' Dan Cambron (Motorola SPS/CST CIM)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox