"Matt Probert" <comments RemoveThis @probertencyclopaedia.com> wrote in message
news:4115d691.67082759@news.ntlworld.com...
> On Sun, 8 Aug 2004 06:14:47 +1200 "Bill Logan" <who RemoveThis @what.com> broke
> off from drinking a cup of tea at CLEAR Net New Zealand
> <a style='text-decoration: underline;' href="http://www.clear.net.nz" target="_blank">http://www.clear.net.nz</a> - Complaints abuse RemoveThis @clear.net.nz to write:
>
> >
> >"Matt Probert" <comments RemoveThis @probertencyclopaedia.com> wrote in message
> >news:41137fbe.22118084@news.ntlworld.com...
> >> It can be a helpful marketing tool to be able to display the number of
> >> users currently accessing a site.
> >
> >Accessing a site or accessing a server?
>
> Accessing the server. I developed this for a particular need.
>
> As you say, there are lots of existing tools, or are there? I'm not
> aware of them. It is typical of the IT industry, and Unix in
> particular that documentation and communication are very weak, with
> secrets closely guarded and upstarts leaped upon in a paranoid frenzy
> lest they undermine one's perceived posution of greatness.
>
> So, if you have a solution, which will display the concurrent
> connections to a site within a shared server environment, please share
> it. But share it in such a way that people can use it.
>
OK, probably best if I give the PhP version. From that anyone win some
*.nix exp will be able to do it themselves
Use patSysInfo to get all you want from the server, eg
System uptime
Kernel Version
Average CPU-Load and CPU-information
Number of current logged in users
Hostname and IP
List of PCI-, SCSI- and IDE-devices
Memory statistic
List of mountpoints (including free space, filesytem-type, etc.)
Hardware Sensors (temperature, fan-speed, power-supply, etc.)
List of processes (ordered by CPU-usage)
List of network devices inclusive counters
PatSysinfo is free and released under the GNU Public License
Get more info and download
<a style='text-decoration: underline;' href="http://www.php-tools.net/site.php?&file=/patSysinfo/overview.xml" target="_blank">http://www.php-tools.net/site.php?&file=/patSysinfo/overview.xml</a>
Primarily for linux based machines. To use the processes for unix, look at
the $syscall in patSysinfo for what you want to do then check the man pages
for a look alike.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Development: Reporting current connections/users