Aus der Tiefe
   


About
Aus der Tiefe, Meldungen des Rechenzentrums in der Cauerstrasse 11

Matthias Bauer und Martin Bayer problems@math.fau.de

Subscribe
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Flavours
There's more than one way to view this weblog; try these flavours on for size.

  • index
  • circa 1993
  • RSS
  • Links

  • Shoestring FoundationMiscellaneous byproducts

  •        
    Wed, 04 Jun 2014

    Wednesday, June 4, 2014 10:39:34


    	Folgendes Script liefert auf dem management alle MAC Adressen von cip-Pool Rechnern:
    		#!/bin/sh
    		echo "select computer.hostname, mac_address.mac_address from mac_address, computer where computer.hostname like 'cip-%' and mac_address.computer_id = computer.id;" | sudo -u postgres psql -U postgres inventar
    	  (Ja, man haette das auch mit einem JOIN machen koennen...)
    
    

    [/bauerm] permanent link