open a terminal with top on startup

Joined
Jul 23, 2009
Messages
2
Reaction score
0
Points
1
Hi, I want my terminal to open a window with top running an then open a new window for me to work in. I put the following in my .bash_profile:

Code:
open -a -n terminal

top

but that just continues to open terminals and run
Code:
top
on them.

Any ideas how to do this. It's not the biggest pain type top and then cmd-n but I would just like to know how to do it.
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top