List of users for mobile use: Difference between revisions

From The DXSpider Documentation Wiki
Jump to navigation Jump to search
(Created page with "Shows a list of users connected to the node reporting: If the user is registered with an <b>R</b> Type of USER which can be either <b>EXT</b> or <b>LOCL</b> And the duration of the session. This command has been created to be used from a mobile app. It is possible to use it from a terminal or from console. The script is called <b>muser.pl</b> Using the sysop user, it has to be copied to: /spider/local_cmd To run it use <b>muser</b> or <b>mu</b> The output woul...")
 
No edit summary
Line 7: Line 7:
This command has been created to be used from a mobile app.
This command has been created to be used from a mobile app.
It is possible to use it from a terminal or from console.
It is possible to use it from a terminal or from console.
It may be necessary to install the Date:Manip module.
# Debian or similar
apt install libdate-manip-perl
or
# Alternative
cpanm install Date:Manip


The script is called <b>muser.pl</b>
The script is called <b>muser.pl</b>
Line 41: Line 49:
   Users:  10
   Users:  10
</pre>
</pre>
It can be downloaded at muser
It can be downloaded at [https://www.dropbox.com/s/z2c017lh8rnpfv2/musers.pl?dl=0 muser]

Revision as of 09:55, 16 February 2023

Shows a list of users connected to the node reporting:

If the user is registered with an R Type of USER which can be either EXT or LOCL And the duration of the session.

This command has been created to be used from a mobile app. It is possible to use it from a terminal or from console.

It may be necessary to install the Date:Manip module.

# Debian or similar
apt install libdate-manip-perl

or

# Alternative
cpanm install Date:Manip

The script is called muser.pl

Using the sysop user, it has to be copied to:

/spider/local_cmd

To run it use

muser

or

mu

The output would look something like this example:

List of connected Users:

Callsign   R Type        Connection time
--------   - ---------   ---------------
CT7AGM-1     USER EXT    0 d   0 h  11 m
EA1FU-1    R USER EXT    0 d   1 h   9 m
EA3CV      R USER LOCL   0 d   4 h  42 m
EA3GOP       USER EXT    0 d   6 h  56 m
EA4HPI       USER EXT    0 d   0 h   8 m
EA5GST       USER EXT    1 d   2 h   0 m
EA5JN      R USER EXT    0 d   3 h  27 m
EA8DLF       USER EXT    0 d   0 h  30 m
EC3ALS       USER EXT    8 d   0 h   1 m
F6DAY        USER EXT    0 d   2 h  55 m
SK0MMR     R USER EXT    2 d   8 h  38 m
SK1MMR     R USER EXT    6 d  12 h  42 m

  Users:  10

It can be downloaded at muser