This file contains 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
[[email protected]] | |
~ # cat /proc/3819/stack | |
[<ffffffffa0249f2f>] cv_wait_common+0xaf/0x130 [spl] | |
[<ffffffffa0249fc8>] __cv_wait_io+0x18/0x20 [spl] | |
[<ffffffffa034dc4b>] zio_wait+0x10b/0x1e0 [zfs] | |
[<ffffffffa02a5425>] arc_read+0x875/0xa00 [zfs] | |
[<ffffffffa03489e3>] zil_parse+0x2d3/0x850 [zfs] | |
[<ffffffffa034903d>] zil_check_log_chain+0xdd/0x1c0 [zfs] | |
[<ffffffffa02b5d3b>] dmu_objset_find_impl+0xfb/0x400 [zfs] | |
[<ffffffffa02b5dfa>] dmu_objset_find_impl+0x1ba/0x400 [zfs] |
This file contains 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
[[email protected]] | |
~ # ~/useful-scripts/meminfo -v | |
mem_total 257788 MB | |
mem_free 12899 MB | |
mem_free_no_cache 13225 MB | |
mem_swap_free 31922 MB | |
mem_swap_used 739 MB | |
slab_size 116202 MB | |
dcache_size 4964 MB | |
swapcache_size 325 MB |
This file contains 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
snajpa@snajpabook:~/Videos/KapitanBomba$ node1 | |
Last login: Sat Jul 11 19:25:29 2015 from 172.16.107.100 | |
[[email protected]] | |
~ # zpool status | |
pool: vz | |
state: ONLINE | |
scan: resilvered 62.6M in 0h25m with 0 errors on Thu Jul 9 18:21:18 2015 | |
config: | |
NAME STATE READ WRITE CKSUM |
This file contains 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
snajpa@snajpabook:~$ echo "vpsFree.cz Cluster Stats"; echo; total_ram=0; total_cores=0; total_ct=0; for node in $VPSFREE_NODES; do total_ram=$(( $total_ram + $($node cat /proc/meminfo | grep MemTotal | awk '{ print $2; }') )); total_cores=$(( $total_cores + $($node cat /proc/cpuinfo | grep MHz | wc -l) )); total_ct=$(( $total_ct + $($node vzlist -H | wc -l) )); done; echo "RAM: $(( $total_ram / 1024 / 1024 )) GB"; echo "CPU: $total_cores cores"; echo "Containers: $total_ct"; | |
vpsFree.cz Cluster Stats | |
RAM: 2768 GB | |
CPU: 320 cores | |
Containers: 1007 |
This file contains 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
is_ip() { | |
IP="$1" | |
python - "${IP}" <<EOF | |
import socket | |
import sys | |
# Check IPv6 | |
if socket.has_ipv6: | |
try: | |
socket.inet_pton(socket.AF_INET6, sys.argv[1]) | |
sys.exit(0) |
This file contains 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
[[email protected]] | |
~ # total=0; for mem in $(vzlist -Ho physpages); do total=$(($mem+$total)); done; echo $(($total/256)) M;93434 M | |
[[email protected]] | |
~ # cat /proc/meminfo | |
MemTotal: 263971464 kB | |
MemFree: 8237540 kB | |
Buffers: 121564 kB | |
Cached: 18635392 kB | |
SwapCached: 0 kB | |
MemCommitted: 433061888 kB |
This file contains 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
[[email protected]] | |
/var/www/virtual/app1061/htdocs # grep -rni REMOTE_ADDR . 2> /dev/null | |
./forum/includes/session.php:270: // původní verze (RelBit edit) $this->ip = (!empty($_SERVER['REMOTE_ADDR'])) ? (string) $_SERVER['REMOTE_ADDR'] : ''; | |
./forum/includes/session.php:279: // Default IP if REMOTE_ADDR is invalid | |
./log/exception 2014-12-01 00-56-04 8c7069a8bad6c8c9d6010e3a9acbbf29.html:5170:<tr><th>REMOTE_ADDR</th><td><pre class="nette-dump">"172.17.129.65" (13) | |
./log/exception 2014-12-01 00-29-51 c0c51d852d040aff9e011a971ed1bb9e.html:5467:<tr><th>REMOTE_ADDR</th><td><pre class="nette-dump">"172.17.129.65" (13) | |
./log/exception 2014-12-14 13-45-42 b7f689197858d0a5ee874d1fd0b221f6.html:456:<span class='line'>223:</span> </span><span style="color: #080">'ip' </span><span style="color: #D24; font-weight: bold">=> </span><span style="colo |
This file has been truncated, but you can view the full file.
This file contains 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
1: | |
/sbin/init | |
[<ffffffff811c4cc9>] poll_schedule_timeout+0x39/0x60 | |
[<ffffffff811c5d8c>] do_select+0x57c/0x6c0 | |
[<ffffffff811c605a>] core_sys_select+0x18a/0x2d0 | |
[<ffffffff811c63f7>] sys_select+0x47/0x110 | |
[<ffffffff8100b102>] system_call_fastpath+0x16/0x1b | |
[<ffffffffffffffff>] 0xffffffffffffffff | |
=== | |
10: |
This file contains 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
1: | |
/sbin/init | |
[<ffffffff811c4cc9>] poll_schedule_timeout+0x39/0x60 | |
[<ffffffff811c5d8c>] do_select+0x57c/0x6c0 | |
[<ffffffff811c605a>] core_sys_select+0x18a/0x2d0 | |
[<ffffffff811c63f7>] sys_select+0x47/0x110 | |
[<ffffffff8100b102>] system_call_fastpath+0x16/0x1b | |
[<ffffffffffffffff>] 0xffffffffffffffff | |
=== | |
10: |
This file has been truncated, but you can view the full file.
This file contains 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
1: | |
/sbin/init | |
[<ffffffff811c4cc9>] poll_schedule_timeout+0x39/0x60 | |
[<ffffffff811c5d8c>] do_select+0x57c/0x6c0 | |
[<ffffffff811c605a>] core_sys_select+0x18a/0x2d0 | |
[<ffffffff811c63f7>] sys_select+0x47/0x110 | |
[<ffffffff8100b102>] system_call_fastpath+0x16/0x1b | |
[<ffffffffffffffff>] 0xffffffffffffffff | |
=== | |
10: |