Polarhome.com server status numbers

Web page creation, programs, scripts, PHP, SQL?

Moderator: Moderators

Polarhome.com server status numbers

Postby papa » Thu Dec 10, 2015 7:09 am

What do the numbers mean that are shown after each server name listed at the top of Polarhome web pages?
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Thu Dec 10, 2015 8:17 am

The numbers beside the server mean how many shells are active at that time (5 min cache) on that particular server - most of the cases mean logged in user sessions.
The server names are links that would show the exact finger information... like

Code: Select all
Debian/ppc:   2 

clicking on the link http://www.polarhome.com/service/network/finger.php3?host=debian-ppc.polarhome.com
Code: Select all
Looking up host: debian-ppc.polarhome.com on port 79

Login    Name                    Tty      Idle  Login Time   Office     Office Phone
jhi      Jarkko Hietaniemi (jhi  pts/0    3:19  Dec 10 03:15 (c-50-176-226-51.hsd1.ma.comcast.net)
zoli     Zoltan Arpadffy        *:0             Dec  6 20:54
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: Polarhome.com server status numbers

Postby papa » Thu Dec 10, 2015 9:29 am

I thought it was something like that, but was wondering why off-line hosts like Alpha are shown with active shells.

Maybe the counting process is something simple like taking the number of lines in the output from finger and subtracting for the column headings line ("Login Name TTY ...") and "No one logged on" if they appear in the output. So hosts like Alpha that respond with an error message or other unexpected output get a count of 1 mistakenly.
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Thu Dec 10, 2015 12:06 pm

hahaha this is a know bug in the implementation.

Namely, when the host is down, not reachable the old finger information is not overwritten and shows the old value.
I'll try to fix it soon.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: Polarhome.com server status numbers

Postby papa » Thu Dec 10, 2015 2:34 pm

VAX has a problem of its own. FINGER replies "No interactive logins at this time" even when I enter it on VAX's own command line.
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Fri Dec 11, 2015 8:59 am

This is not a VAX but general VMS finger implementation issue.
I have already rapported to Compaq/HP back in the beginning of 2ks - nothing happened - or it has happened, just polarhome runs on too old VMS systems (but this is needed because of the development compatibility)
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: Polarhome.com server status numbers

Postby papa » Fri Dec 11, 2015 9:23 am

Impressive.

Maybe we can come up with a workaround for our own use.

:idea:
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Fri Dec 11, 2015 12:18 pm

It is not worth the effort.
This is a well known issue :)

The server can handle hundreds concurrent users - we are not in the risk to reach the upper limit... polarhome is on a lower usage limit and counting zeros is not fun anyway.

If you have a solution, I would be happy to implement - otherwise the 5 minutes delay polarhome header is good enough for the information purpose (because it uses system information and not finger)
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: Polarhome.com server status numbers

Postby papa » Fri Dec 11, 2015 12:30 pm

I realize it is not a very important issue, but when I am working on VAX or Alpha it would be nice to know if anyone is connected at the same time. It is beyond my ability to do anything very fancy, but I will let you know if I have any ideas for a quick-and-dirty solution.
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Fri Dec 11, 2015 12:48 pm

For the header display I use the following command

Code: Select all
SYSTEM@alpha$ show users
      OpenVMS User Processes at 11-DEC-2015 11:45:36.68
    Total number of users = 1,  number of processes = 1

 Username     Interactive  Subprocess   Batch
 SYSTEM            1


This command is able to inform you if there are any other user logged in - interective.

You may use the PHONE command... in fact not just on a single host but between all polarhome VMS hosts.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Re: Polarhome.com server status numbers

Postby papa » Fri Dec 11, 2015 3:18 pm

I found that in an online manual just now. Works like a charm. Now to induce someone other than me to log-on.
David "papa" Meyer
Takarazuka, Japan
papa@ alpha | ia64 |debian | netbsd | redhat | vax
User avatar
papa
Senior Member
 
Posts: 158
Joined: Mon Apr 14, 2008 8:55 pm
Location: Japan Takarazuka

Re: Polarhome.com server status numbers

Postby zoli » Fri Dec 11, 2015 5:03 pm

papa wrote:Works like a charm. Now to induce someone other than me to log-on.


hahaha this will be the harder part :)
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 785
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden


Return to Web development

Who is online

Users browsing this forum: No registered users and 3 guests

cron