Results 1 to 5 of 5
Hi,
I need to run the following command on a background:
top 1000 -p <PID> >> outfile &
It does not work for me. How can I make it work?
...
- 10-15-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
how to run TOP command on a background
Hi,
I need to run the following command on a background:
top 1000 -p <PID> >> outfile &
It does not work for me. How can I make it work?
I need to start this and then start another script from the same terminal. Do you have a solution?
Thanks a lot
Anna
- 10-15-2009 #2Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
You can try 'screen', which opens a new virtual terminal, then you can run any command on that terminal, then press Ctrl+A,D to detach the virtual terminal, go back to the original, and then run other commands.
HugoEOF
- 10-15-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
Will try this
Thanks for the quick response. Actually I solved my problem by running top with the -b option (batch):
while true
....
top -b -n 1 -p <PID> >> output &
...
done
But I will try your solution as well
Thanks again
Anna
- 10-20-2009 #4Just Joined!
- Join Date
- Oct 2009
- Posts
- 1
How to configure ethernet card in fedora
I have installed fedora6.0 in my system. This system has onboard ehternet card.
The ethernet card name is atheros L2 fast ethernet 10/100 . i have downloaded the driver. but i don't know how to install the driver and configure the card.
I tried some other way..that is not working
Pls. help me.
- 10-20-2009 #5Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
This is a question out of original topic, start a new thread please.
EOF


Reply With Quote