This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "set terminal png;\ | |
set datafile separator \",\";\ | |
set ylabel \"Mb\"; \ | |
set yrange [0:2000]; \ | |
plot \"mem.log\" using (\$0+1):(\$2/1000000) smooth csplines with line title \"rss\", \ | |
\"mem.log\" using (\$0+1):(\$3/1000000) smooth csplines with line title \"heapTotal\", \ | |
\"mem.log\" using (\$0+1):(\$4/1000000) smooth csplines with line title \"heapUsed\" \ | |
" | gnuplot -p > out.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use test; | |
drop table if exists words; | |
create table words (id int primary key auto_increment, adjective varchar(100) not null, noun varchar(100) not null); | |
insert into words (adjective, noun) values | |
("hot", "dog"), | |
("fast", "banana"), | |
("orange", "cloud"), | |
("charming", "curtain"), |
OlderNewer