Hey,
Just a question regarding cgi perl scripts running on Unix systems.
I have a section of code, which opens a handle on the "w" command on a unix system, the idea being to see who is currently logged on at the moment.
open(CMD, "w|"); @list = <CMD>; close(CMD); foreach(@list) { print "$_\n"; }
however, this bit of code works from the command line (it prints out the entire command output) but from the browser (when run as a cgi-script), it only shows about 8 lines, where they are far more users on.
Is there some kind of admin restriction on such a thing?
Thanks for any help