pexpect - not printing more than 80 columns

  • Thread starter Maximilian N. Andrews
  • Start date
M

Maximilian N. Andrews

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,433
Messages
2,571,683
Members
48,796
Latest member
Greg L.

Latest Threads

Top