I am using top command in HP-UX.
To come out of top , i need to use Ctrl+z.
My problem is :
I will call the top command from my perl script and write the same in some file, but I am cluelss how to incorporate the Ctrl+z in perl to terminate the top function.
Please show me some path ....