system() question
Posted: Tue Aug 31, 2004 12:23 pm
Hello all,
Thanks in advance for reading.
I am working on a "network status" site
(sort of a graphical version of Big Brother)
and I am having trouble with the system() function.
An example would be
So, the issue is I need this system() function to give me info
about another server, NOT the webserver that this php function
is physically on.
Using something like correctly gives me the
memory info, however this info is for the webserver the code is on.
Again, I need to get info about
another webserver on the same network.
Also, all the boxes on the network are linux.
If I am still being vague, please let me know.
Thanks again for any input!
best regards,
John
Thanks in advance for reading.
I am working on a "network status" site
(sort of a graphical version of Big Brother)
and I am having trouble with the system() function.
An example would be
Code: Select all
system("uname -a")about another server, NOT the webserver that this php function
is physically on.
Using something like
Code: Select all
system("free -m")memory info, however this info is for the webserver the code is on.
Again, I need to get info about
another webserver on the same network.
Also, all the boxes on the network are linux.
If I am still being vague, please let me know.
Thanks again for any input!
best regards,
John