标签: scripting tcl
我正在尝试在tcl脚本上的rexec中运行管道命令遇到错误
rexec
rexec "/bin/ps -Ao pid,%cpu,%mem,bsdstart,cputime,state,args --sort=-%cpu | head -51" returned error: Illegal chars in command}