Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Registered Linux User Details

  • To: Roy <roy@xxxxxxxxxxxxxxx>
  • Subject: Re: Registered Linux User Details
  • From: Roy Schestowitz <r@xxxxxxxxxxxxxxx>
  • Date: Fri, 09 Sep 2005 03:00:25 +0100
  • Delivery-date: Fri, 09 Sep 2005 03:00:51 +0100
  • Envelope-to: r@schestowitz.com
  • In-reply-to: <380-2200594821530577@mail.adsl4less.com>
  • Openpgp: id=74572E8E; url=http://schestowitz.com/PGP
  • Organization: Manchester University
  • References: <380-2200594821530577@mail.adsl4less.com>
  • Reply-to: s@xxxxxxxxxxxxxxx
  • User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/09/05 22:05, you wrote:
> Hi Roy,
> 
> I today registered my details with http://counter.li.org/ and I am
> now registered user #398417   ;-)
> 
> I have followed the instruction for use below, but I am not really
> sure what is required.

Hmmmm.... interesting. I never knew that anything /beyond/ registration
was involved. All I knew is that I need to log in once a year or I would
lose my 'account', i.e. drop my number.

> -----------------------------------------------------------
> Instructions for use: 
> 
> Save machine-update to a file named "machine-update" in any
> convenient place 
>>From a terminal window, change directory to that place. 
> Change it to be executable (chmod +x machine-update) 
> Run "./machine-update -i" to enter information 
> Run "./machine-update -m" to send mail 
> Run "./machine-update -c" to add it to your crontab file 
> YOU DO NOT NEED TO RUN THIS AS ROOT. Running it as "any random user"
> is MUCH better practice. The user ID must only be able to send mail
> and write to its own home directory. 
> Here's what running machine-update -i looks like: 
> 
> 
> prompt> machine-update -i
> Here you can specify some info that the script can't know for itself
> Your Linux Counter reg#, if any [2]:
> Your machine's counter reg#, if any [2345]:
> Here is what the program has found:
> bogomips   : 35.84
> accounts   : 8
> name       : dokka.maxware.no
> kernel     : 2.0.35
> users      : 0
> cpu        : 586/90 (bogo 586)
> memory     : 48
> mailer     : sendmail
> disk       : 1851
> Do you want to override some of the found values? [no]:
> --------------------------------------------------------
> This is what will be sent to the Linux Counter if you
> run the program with the -m switch. Now, NOTHING IS SENT
> --------------------------------------------------------
> From: hta
> To: machine-registration@xxxxxxxxxxxxxx
> Subject: machine-update for dokka.maxware.no
> 
> //MACHINE
> accounts: 8
> bogomips: 35.84
> cpu: 586/90 (bogo 586)
> disk: 1851
> kernel: 2.0.35
> key: 2345
> mailer: sendmail
> memory: 48
> method: machine-update version 0.09
> name: dokka.maxware.no
> owner: 2
> uniqueid: 290176264
> uptime: 45 days,  2:22
> users: 0
> //END
> prompt>
> 
> 
> All the info sent to the counter is also stored in the file
> "$HOME/.linuxcounter/<machine>. You can edit the info you entered by
> hand by running "machine-update -i". 
> ---------------------------------------------------------------

I think they explain it quite poorly. They assume good knowledge of
Linux and I struggle to understand why they want so many details...
apart from 'fun' like SETI@HOME (extraterrestrial freaky stuff). *smile*

> I have entered my details as instructed above, but now what??
> 
> Run "./machine-update -i" to enter information
> Yep did this and entered details..... 

I suppose that's 'i' for (I)nitialisation.

> Run "./machine-update -m" to send mail 
> Yep did this but not sure if a mail was sent (where to?)the
> instruction waited a few moments the returned to screen (no error
> message)

It sounds like it all went okay. The idea of sending mail from the
command-line is unnatural to many, but it works, e.g.

mailx -s "See you tomottow" bob

will send an E-mail to Bob.


> Run "./machine-update -c" to add it to your crontab file
> Yep did this but was told I had no crontab file but would I like one
> - yes please, so now I have!! 

Cron tabs, which define repeating jobs, are one of the most beautiful
things that in due time everyone ought to use. It is like having your
own secretary. My cron jobs save me literally hours of work every day
and I still find ways of automating whatever I can... I imagine that
reports on usage will be sent to the Linux Counter periodically so that
they can generate statistics.

> Both my registered machines show 'NO AUTO' am I supposed to do any
> more? Register them somewhere else?

Registration is not essential. I wouldn't worry about at all.

> Where is the 'uptime' stored?

If you type in your command line:

man uptime

You will get the manual page which states: "If FILE is not specified,
use  /var/run/utmp.
       /var/log/wtmp as FILE is common."

I assume that you wish to do something particular with 'uptime'.

> and
> what the hell do I feed this penguin on??

Electricity. Everything else is free. Sometimes even beer. This becomes
an enormous advantage when you wish to accumulate computational units.
Look at Google with their Linux empire...

> Any help will be appreciated.
> 
> Thanks

You're very welcome as always,

Roy

- --
Roy S. Schestowitz      | SuSE, Mandriva, Fedora - Gotta love them girls
http://Schestowitz.com  |    SuSE Linux    |     PGP-Key: 74572E8E
  2:40am  up 15 days  4:32,  3 users,  load average: 2.03, 1.84, 1.38
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFDIOy5U4xAY3RXLo4RAg2hAJ0W6KtDLakWmZRqHSs3SLeuVBue1wCeL6Jg
g3USIy/Y8muBBvcJRA2sB6o=
=KJtp
-----END PGP SIGNATURE-----

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index