The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO 5.6 + file truncation chssastry Filesystems, Disks and Memory 0 02-08-2008 06:55 AM
SCO 5.6 File truncation chssastry Post Here to Contact Site Administrators and Moderators 0 02-06-2008 09:17 PM
PS output truncation in AIX moe2266 AIX 2 11-01-2005 05:51 PM
What is the cause of file truncation? venkatmyname UNIX for Advanced & Expert Users 9 10-04-2005 06:23 PM
truncation when vi a file selur-xinu UNIX for Advanced & Expert Users 0 02-14-2005 05:10 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-29-2006
JerryHone JerryHone is offline
Registered User
  
 

Join Date: Nov 2006
Location: UK
Posts: 178
STDOUT truncation

Operating system - Solaris 8, Korn shell, xterm

Command
/usr/proc/bin/ptree [PID]
outputs the process tree exactly as I want with all detail

However,
/usr/proc/bin/ptree [PID] | more
truncates the process descriptions at an 80 character point. If the process tree has marched enough to the right, I see no description at all - but I still see the PID

So does
/usr/proc/bin/ptree [PID] > tmp_file

So does
ksh > tmp_file
/usr/proc/bin/ptree [PID]

I've tried all sorts of things to redirect the output but nothing wants to work - what's happening to STDOUT when it's being redirected in any way?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0