* start logging more
This commit is contained in:
parent
9c6dabff01
commit
4219375d19
|
@ -0,0 +1,6 @@
|
|||
DATESTAMP=`date -u +%Y.%m%d.%H%M`
|
||||
|
||||
all:
|
||||
mkdir $(DATESTAMP)
|
||||
inventory/inventory.sh $(DATESTAMP)
|
||||
cd cpu; make
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue