On Tue, Mar 25, 2003 at 04:15:11PM -0500, Jeremy Warren wrote:
> I have a script which outputs top data periodically to a file using stdout
>
> top -c -C -b -d1 -n1 >> /kb/data/top/topout.$sname.txt

What is this command, BTW? not the standard top from procps, right?

>
> When I run this by hand, the data in the topout file has the complete path
> to the running processes.
> When I run it via cron, everything gets truncated at 80 chars.  I know this
> is probably some session environment variable but I can't seem to come up
> with the right answer in my googling...

COLUMNS ?


--
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

Reply via email to