[thelist] redirecting top output.....

Andrew Forsberg andrew at thepander.co.nz
Tue Nov 6 17:02:53 CST 2001

>Anytime I try to redirect the top output I get something like this:
>         top -s -n1 >file.name
>         top: cannot open /dev/kmem: Permission denied
>         kvm_open: Permission denied

Then your scripting language is running as nobody/nogroup, or some 
such non-privileged user. I can't think of any way to get around 
this, I'm afraid.

Andrew Forsberg
uberNET - http://uber.net.nz/
the pander - http://thepander.co.nz/

More information about the thelist mailing list