Connecting Tech Pros Worldwide Help | Site Map

How to redirect output of topas?

Newbie
 
Join Date: Aug 2008
Posts: 29
#1: Jan 2 '09
Hi ,

How do i redirect output of topas to a file.
i did not find any such option in topas command.

Regards,
Ashok
micmast's Avatar
Familiar Sight
 
Join Date: Mar 2008
Location: Belgium
Posts: 136
#2: Jan 2 '09

re: How to redirect output of topas?


If the appication topas doesn't allow you to output to a file you can always do it manually using >> to append or > to write a new file
for example
$: echo hello > file.txt
$: echo ashokd001 >> file.txt
$: cat file.txt
hello
ashokdo001
Newbie
 
Join Date: Aug 2008
Posts: 29
#3: Jan 2 '09

re: How to redirect output of topas?


topas -mi 3 > goofie 2>&1 &
TOPAS=$!
sleep 7 # To capture 2 screen shots
kill -9 $TOPAS


But here output file goofie is not readable when i open it through vi.
but the same file display fine when i do `cat goofie`

I suspected that any issue with $TERM
Reply