---------- Post updated at 01:56 AM ---------- Previous update was at 01:53 AM ----------
When I run the script, I log in to gotc101 and then nothing happens. When I manually run exit, it outputs the top process on gotc101 but does not log off gotc101, so something changed with the square brackets. I'm not sure on how to interpret it though...
---------- Post updated at 02:26 AM ---------- Previous update was at 01:56 AM ----------
I think I know the problem now. The top commands run locally and not on the ssh'd machine.