This was done through the GUI. The command line was just "./amplxe-gui".
I attached to the process. CPU consumption does go back up to 300%-400% after the capture.
"ps -eo pid,ppid,stime,pri,time,rss,vsz,nlwp,comm,args | grep sm_server >>outputFile"
This is part of a Perl script. It does it every 10 seconds.
I also ran a script that captured cpu by thread. "ps -L -p
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
Kernel 2.6.18-92.1.13.el5 on an x86_64
Intel Xeon CPU X7350 @ 2.93GHz
4 quad cores.