* start logging more

This commit is contained in:
Jeff Carr 2011-08-16 12:25:46 -04:00
parent 9c6dabff01
commit 4219375d19
2 changed files with 8 additions and 2 deletions

6
Makefile Normal file
View File

@ -0,0 +1,6 @@
DATESTAMP=`date -u +%Y.%m%d.%H%M`
all:
mkdir $(DATESTAMP)
inventory/inventory.sh $(DATESTAMP)
cd cpu; make

View File

@ -1,10 +1,10 @@
#!/bin/bash
STAMP=`date -u +%Y.%m%d.%H%M`
STAMP=$1
echo $STAMP
mkdir $STAMP
# mkdir $STAMP
lshw > $STAMP/lshw.out
cat /proc/cpuinfo > $STAMP/cpuinfo
cat /proc/meminfo > $STAMP/meminfo