[PLUG] top > file scheduling
Vaibhav Kulkarni
netvaibhav at gmail.com
Sun Feb 8 17:08:20 IST 2009
On Sun, Feb 8, 2009 at 4:42 PM, Abhishek Nagar <nagar.ksp at gmail.com> wrote:
> Hi,
>
> i need to store the output of "top" in a file five times a day, so i
> planned to put it in cronjobs but it doesnot work what could be the problem
Just to confirm that you are using
top -s -n1 > top.out
because simply
top > top.out
doesn't work as by default top runs in interactive mode.
regards,
Vaibhav
More information about the Plug-mail
mailing list