[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

pexpect - not printing more than 80 columns

Maximilian N. Andrews

1/4/2008 2:42:00 PM

Dear All,

I'm trying to write a script which will check the progress of my
MD-simulations on a cluster.

So far I've been able to ssh to each node and retrieve the data I was
looking for by sending the command ""top -c -n 1|grep mdrun" with
pexpect. Unfortunately the string I'm looking for is beyond the 80th
column, so I can't use it!

Does anyone have a clue on how to retrieve the output of top (or
anything for that matter) beyond the 80th column?

Thanks in advance!

Cheers,

Maximilian