There may be a better way to run commands like seagull or top... but we do
run some commands in the background and then either wait for them to finish
or terminate them later.  This is done either by getting the PID when
running the command (at least in UNIX based OS's, when you run the command
in the background, it returns the PID) or by getting it from a running
process list.

Paul Ellsworth
IBM


                                                                                
                                                              
  From:       "Bai, William" <william....@tekelec.com>                          
                                                              
                                                                                
                                                              
  To:         "staf-users@lists.sourceforge.net" 
<staf-users@lists.sourceforge.net>                                              
             
                                                                                
                                                              
  Date:       07/26/2011 09:39 AM                                               
                                                              
                                                                                
                                                              
  Subject:    [staf-users] how to deal with command like top in STAX            
                                                              
                                                                                
                                                              





Hi:

       I use STAX to start up seagull to test diameter protocol. But
seagull will keep flushing the screen and output the result. When I use
STAX to start seagull, it reports keybaord error. And I tried "top" command
to see whether STAX could start "top" frontend, and it also reports error.
Though I do not need the realtime monitoring result of seagull output on
the screen, but I hope to find a way to start up seagull and stop them.
     Though I could put seagull to run in the background, but I could not
stop that by terminate the job on STAX right? Could you kindly tell me how
to deal with the commands like seagull or "top" which needs to reflushing
the screen again and again, if let the process run in frontend, or how to
stop them in STAX, if let them run in background. Thank you in advance.

BRs
William
------------------------------------------------------------------------------

Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to