[thelist] redirecting top output.....

Andrew Forsberg andrew at thepander.co.nz
Tue Nov 6 16:35:44 CST 2001

Can you use whatever scripting language to exec 'top -s -n1 > 
yourfile.dump' ? Then read the dump file in to have your wicked way?

>*inux Gurus....
>Any way to redirect the output of "top" like you can with vmstat? 
>I'm interested for lots of "bad" reasons - but I need a way to take 
>a snap shot of services like top provides and mangle them for either 
>web output or email.
>I do not have admin/shell access to the box in question, only FTP 
>and a Web site.

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

More information about the thelist mailing list