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
| top - 19:59:58 up 147 days, 23:10, 2 users, load average: 161.37, 62.16, 26.06 | |
| Tasks: 770 total, 19 running, 748 sleeping, 0 stopped, 3 zombie | |
| %Cpu(s): 5.3 us, 5.4 sy, 16.8 ni, 22.3 id, 49.3 wa, 0.8 hi, 0.0 si, 0.0 st | |
| KiB Mem: 8160716 total, 5682500 used, 2478216 free, 9620 buffers | |
| KiB Swap: 8372220 total, 5781780 used, 2590440 free. 192484 cached Mem | |
| top - 15:51:17 up 148 days, 19:01, 2 users, load average: 443.64, 404.19, 202.08 | |
| Tasks: 1139 total, 1 running, 886 sleeping, 0 stopped, 252 zombie | |
| %Cpu(s): 11.7 us, 2.8 sy, 0.3 ni, 15.7 id, 69.0 wa, 0.4 hi, 0.0 si, 0.0 st |
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
| / # icinga2 feature list | |
| Disabled features: api compatlog debuglog gelf graphite ido-pgsql influxdb livestatus mainlog notification opentsdb perfdata statusdata syslog | |
| Enabled features: checker command ido-mysql |
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
| object Host "mb2web01" { | |
| address = "10.2.2.11" | |
| check_command = "hostalive" | |
| } | |
| object Service "ping4" { | |
| host_name = "mb2web01" | |
| check_command = "ping4" | |
| } |
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
| root@MADNAS:~# ls -al / | |
| total 1048644 | |
| drwxr-xr-x 23 root root 4096 Jul 26 05:59 . | |
| drwxr-xr-x 23 root root 4096 Jul 26 05:59 .. | |
| lrwxrwxrwx 1 root root 7 Jul 15 00:24 bin -> usr/bin | |
| drwxr-xr-x 6 root root 0 Jul 26 06:00 config | |
| drwxr-xr-x 14 root root 19020 Jul 26 06:00 dev | |
| drwxr-xr-x 45 root root 4096 Jul 27 06:26 etc | |
| drwxr-xr-x 42 root root 4096 Jul 19 22:19 etc.defaults | |
| drwxr-xr-x 2 root root 4096 Jul 13 06:50 initrd |
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
| pi@raspberrypi:~ $ sudo ppstest /dev/pps0 | |
| trying PPS source "/dev/pps0" | |
| found PPS source "/dev/pps0" | |
| ok, found 1 source(s), now start fetching data... | |
| source 0 - assert 1500825589.100224786, sequence: 130320 - clear 1500825590.000222440, sequence: 130320 | |
| source 0 - assert 1500825590.100208640, sequence: 130321 - clear 1500825590.000222440, sequence: 130320 | |
| source 0 - assert 1500825590.100208640, sequence: 130321 - clear 1500825591.000199924, sequence: 130321 | |
| source 0 - assert 1500825591.100199518, sequence: 130322 - clear 1500825591.000199924, sequence: 130321 | |
| source 0 - assert 1500825591.100199518, sequence: 130322 - clear 1500825592.000198959, sequence: 130322 | |
| source 0 - assert 1500825592.100204396, sequence: 130323 - clear 1500825592.000198959, sequence: 130322 |
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
| admin@NAS02:/$ sudo sync; sudo dd if=/dev/zero of=tempfile bs=1M count=1024; sudo sync | |
| 1024+0 records in | |
| 1024+0 records out | |
| 1073741824 bytes (1.1 GB) copied, 7.27588 s, 148 MB/s | |
| admin@NAS02:/$ sudo dd if=tempfile of=/dev/null bs=1M count=1024 | |
| 1024+0 records in | |
| 1024+0 records out | |
| 1073741824 bytes (1.1 GB) copied, 0.710544 s, 1.5 GB/s |
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
| ========================================================== | |
| Separate redis container and use bridge network | |
| ========================================================== | |
| mobex@docker-host2:~$ wrk -c 150 -d 30s -t 10 -H "Host: abc.web.com" http://10.7.7.7:8080/index.html | |
| Running 30s test @ http://10.7.7.7:8080/index.html | |
| 10 threads and 150 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 28.97ms 8.87ms 69.72ms 83.87% | |
| Req/Sec 520.08 116.69 757.00 78.00% | |
| 155390 requests in 30.02s, 92.02MB read |
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
| \ SORRY / | |
| \ / | |
| \ This page does / | |
| ] not exist yet. [ ,'| | |
| ] [ / | | |
| ]___ ___[ ,' | | |
| ] ]\ /[ [ |: | | |
| ] ] \ / [ [ |: | | |
| ] ] ] [ [ [ |: | |
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
| <!doctype html> | |
| <HTML lang="zh_tw"> | |
| <HEAD> | |
| <TITLE>PChome 線上購物 -- 郵遞區號</TITLE> | |
| <meta charset="utf-8"> | |
| </HEAD> | |
| <BODY bgColor=#ffffff> | |
| <TABLE border=1 cellSpacing=0 cellPadding=0 width=700> | |
| <TBODY> | |
| <TR> |
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
| grep -vE "Minion" fix.txt | sed -e 's/://g' | xargs -L 1 sudo salt-key -y -d | |
| grep -vE "Minion" fix.txt | sed -e 's/://g' | xargs -L 1 -i sudo systemctl start salt-proxy@{} | |
| sudo systemctl start salt-proxy@db-dmz_sw01 | |
| sudo systemctl start salt-proxy@db-dmz_sw02 |