Probably did this before - but administered lost and found computers has made me need this info again.
Version of linux.
Linux version 2.6.28-15-generic (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009
And then you need the release info for the distribution.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
And of course uname -a. Which is a start. Would love to hear other tips on determining the state of a box that has previously been abandoned.
Update: Naming of the actual machine and shit as well.
Running hostname should give you the name of the actual machine. Not entirely sure how this works when you have multiple "machines" kinda running off the same physical machine.
You can then check this the other way round:
user@machine:~$ host name.domain.tld
ip address .in-addr.arpa domain name pointer name.domain.tld