hostinfo.sh

I created a new script hostinfo.sh, it works a little like this:

-------------------
Mon Mar 27 00:13:55 [bash:5.1.16 jobs:0 error:0 time:0]
jj5@charm:/home/jj5
$ hostinfo.sh
id.............: 218-jj-wrk-8-charm-prod-home

fqdn...........: charm.jj5.net
host...........: charm
host-prod......: charm
host-test......: charm-test
domain.........: jj5.net

sysid..........: 218
system.........: jj-wrk-8
realm..........: jj
class..........: wrk
typenum........: 8

deployment.....: prod
provider.......: home
environment....: home
netenv.........: prod
net............: GREEN

instance-type..: None
-------------------

Leave a Reply