Skip to content

Instantly share code, notes, and snippets.

View snajpa's full-sized avatar

Pavel Snajdr snajpa

  • vpsFree.cz
  • Brno, Czech Republic
View GitHub Profile
[root@node14.prg.vpsfree.cz]
~ # zpool status
pool: vz
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
vz ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
[root@nasbox.prg.vpsfree.cz]
/dev/disk/by-path # zpool status
pool: storage
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
/dev/disk/by-path # zpool status
pool: storage
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
pci-0000:03:00.0-sas-0x4433221100000000-lun-0 ONLINE 0 0 0
gcode-outline.sh
#!/bin/bash
X_EDGE=$1
Y_EDGE=$2
Z_SAFE=3
DEPTH=2
PASSES=5
BRIDGE_SIZE=0.2
snajpa@snajpabook:~/Documents/eagle/espbreakout12e$ cat gcode-multiply.sh
#!/bin/bash
ADD_X=$2
ADD_Y=$3
PLACE_XTIMES=${4:-0}
PLACE_YTIMES=${5:-0}
for x in $(seq 0 $PLACE_XTIMES); do
for y in $(seq 0 $PLACE_YTIMES); do
#!/bin/bash
debug() {
:;
# echo $* 1>&2
}
ADD_X=$2
ADD_Y=$3
[root@node10.prg.vpsfree.cz]
~ # cat /proc/vmstat
nr_free_pages 34692740
nr_inactive_anon 8345265
nr_active_anon 6867193
nr_inactive_file 178191
nr_active_file 133859
nr_unevictable 354727
nr_mlock 354727
nr_anon_pages 13057430
[root@node7.prg.vpsfree.cz]
~ # cat /proc/zoneinfo
Node 0, zone DMA
pages free 3894
min 0
low 0
high 0
scanned 80211
spanned 4080
present 3784
[root@node7.prg.vpsfree.cz]
~ # perf list
List of pre-defined events (to be used in -e):
branch-instructions OR branches [Hardware event]
branch-misses [Hardware event]
bus-cycles [Hardware event]
cache-misses [Hardware event]
cache-references [Hardware event]
[root@node7.prg.vpsfree.cz]
~ # perf list
List of pre-defined events (to be used in -e):
branch-instructions OR branches [Hardware event]
branch-misses [Hardware event]
bus-cycles [Hardware event]
cache-misses [Hardware event]
cache-references [Hardware event]