Floid
03-19-2002, 10:48 PM
I tried several scripts which are calling the top command into a browser but none works on my Raq3. They are working from the command line. I'm a newbie to web server administration/Linux, what can I do about this?
![]() | View Full Version : Calling top from browser Floid 03-19-2002, 10:48 PM I tried several scripts which are calling the top command into a browser but none works on my Raq3. They are working from the command line. I'm a newbie to web server administration/Linux, what can I do about this? cyrusTvirus 03-20-2002, 04:35 AM Hi, Why would you call top from a browser. It is I think I think a potential security risk. Imagine what happens when a spider of a search engine comes to that website. Everyone in the world can find the page then and also see what processes are running on your box then. I would think it over twice before I would do such a thing. Running the command top from the SSH prompt is much more safe I think. cyansmoker 03-20-2002, 06:18 AM CyrusTvirus, it may be running it in a protected area of his server... anyway, to run in batch mode, don't forget to invoke it as follow: top -b -n 1 -Chris. |