Hi, everybody, probably this is an old question. I am wondering if there is
a simple way to get TOP result on unix. Right now, I tried this command:
STAF <my_unix> PROCESS START SHELL COMMAND "top" RETURNSTDOUT
STDERRTOSTDOUT WAIT . But, obviously it is not right because it returns me
"Data :top: failed tty get". So, is there any good way to get the result?
By the way, I eventually need to call this STAF command in Java. So, I am
looking for a good way to do this STAF-unix-top in Java too
Thank you very much for your time and suggestions
Tun
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users