Skip to content

Instantly share code, notes, and snippets.

Avatar

Mauricio Wolff bitbonsai

View GitHub Profile
View 11.log
12:41:21 PM UID PID minflt/s majflt/s VSZ RSS %MEM Command
12:41:22 PM 0 5206 0.00 0.00 46340 1824 0.00 hapee-lb-system
12:41:22 PM 498 28849 0.00 0.00 177540 85296 0.09 hapee-lb
12:41:22 PM 498 28892 284.00 0.00 213356 121660 0.12 hapee-lb
12:41:22 PM 498 28894 231.00 0.00 217144 124900 0.13 hapee-lb
12:41:22 PM 498 28895 231.00 0.00 213936 122992 0.12 hapee-lb
12:41:22 PM 498 28896 8.00 0.00 211840 122544 0.12 hapee-lb
12:41:22 PM 498 28897 223.00 0.00 210380 122132 0.12 hapee-lb
12:41:22 PM 498 28899 311.00 0.00 212492 118752 0.12 hapee-lb
12:41:22 PM 498 28901 223.00 0.00 212460 120640 0.12 hapee-lb
View 10.log
12:41:20 PM UID PID minflt/s majflt/s VSZ RSS %MEM Command
12:41:21 PM 0 5206 0.00 0.00 46340 1824 0.00 hapee-lb-system
12:41:21 PM 498 28849 0.00 0.00 177540 85296 0.09 hapee-lb
12:41:21 PM 498 28892 102.00 0.00 213204 121164 0.12 hapee-lb
12:41:21 PM 498 28894 179.00 0.00 216592 124324 0.13 hapee-lb
12:41:21 PM 498 28895 116.00 0.00 213360 122676 0.12 hapee-lb
12:41:21 PM 498 28896 153.00 0.00 211840 122544 0.12 hapee-lb
12:41:21 PM 498 28897 106.00 0.00 210236 121816 0.12 hapee-lb
12:41:21 PM 498 28899 55.00 0.00 210196 118000 0.12 hapee-lb
12:41:21 PM 498 28901 140.00 0.00 212192 120288 0.12 hapee-lb
View 9.log
12:41:21 PM UID PID kB_rd/s kB_wr/s kB_ccwr/s Command
12:41:22 PM 498 28849 0.00 0.00 0.00 hapee-lb
12:41:22 PM 498 28892 0.00 5964.00 0.00 hapee-lb
12:41:22 PM 498 28894 0.00 0.00 0.00 hapee-lb
12:41:22 PM 498 28895 0.00 0.00 0.00 hapee-lb
12:41:22 PM 498 28896 0.00 0.00 0.00 hapee-lb
12:41:22 PM 498 28897 0.00 6276.00 0.00 hapee-lb
12:41:22 PM 498 28899 0.00 20.00 0.00 hapee-lb
12:41:22 PM 498 28901 0.00 0.00 0.00 hapee-lb
12:41:22 PM 498 28902 0.00 0.00 0.00 hapee-lb
View 8.log
12:39:40 PM pswpin/s pswpout/s
12:39:43 PM 0.00 0.00
12:39:44 PM 0.00 78.22
12:39:45 PM 0.00 75.00
12:39:46 PM 0.00 0.00
(...)
12:41:20 PM 0.00 9.00
12:41:21 PM 0.00 43.00
12:41:22 PM 0.00 84.00
12:41:23 PM 0.00 70.00
View 7.log
12:38:00 PM CPU %user %nice %system %iowait %steal %idle
12:41:20 PM 0 11.22 0.00 8.16 0.00 0.00 80.61
12:41:20 PM 1 14.29 0.00 6.12 0.00 0.00 79.59
12:41:20 PM 2 18.00 0.00 11.00 0.00 0.00 71.00
12:41:20 PM 3 16.00 0.00 12.00 0.00 0.00 72.00
12:41:20 PM 4 30.61 0.00 15.31 0.00 0.00 54.08
12:41:20 PM 5 11.34 0.00 3.09 0.00 0.00 85.57
12:41:20 PM 6 28.57 0.00 9.18 0.00 0.00 62.24
12:41:20 PM 7 16.16 0.00 12.12 0.00 0.00 71.72
12:41:20 PM 8 20.83 0.00 6.25 0.00 0.00 72.92
View 6.log
12:38:00 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty
12:41:13 PM 7417424 91456184 92.50 238480 60751344 9223012 9.23 34595324 28501704 72000
12:41:14 PM 7409968 91463640 92.51 238488 60752448 9223012 9.23 34595720 28501756 72956
12:41:15 PM 7382684 91490924 92.53 238488 60762264 9236604 9.24 34620324 28501852 82740
12:41:16 PM 7360992 91512616 92.56 238488 60759248 9255500 9.26 34638704 28501984 79724
12:41:17 PM 7353856 91519752 92.56 238492 60765264 9255500 9.26 34640664 28502168 85748
12:41:18 PM 7346384 91527224 92.57 238496 60766612 9252824 9.26 34642028 28502248 72148
12:41:19 PM 7341944 91531664 92.57 238504 60768276 9254356 9.26 34644128 28502328 73528
12:41:20 PM 7407176 91466432 92.51 238396 60726744 9252828 9.26 34593160 28509368 79052
12:41:21 PM 77
View 5.log
12:38:00 PM frmpg/s bufpg/s campg/s
12:41:16 PM -5423.00 0.00 -754.00
12:41:17 PM -1784.00 1.00 1504.00
12:41:18 PM -1868.00 1.00 337.00
12:41:19 PM -1110.00 2.00 416.00
12:41:20 PM 16308.00 -27.00 -10383.00
12:41:21 PM 77274.00 -56.00 -71772.00
12:41:22 PM 154106.00 -147.00 -121659.00
12:41:23 PM 121624.00 -253.00 -93271.00
12:41:24 PM 109223.00 -238.00 -84747.00
View 4.log
12:41:21.913124 read(932, "\25\3\3\0\32", 5) = 5
12:41:21.913140 read(932, "\0\0\0\0\0\0\0\1\244=\241\234Jw\316\370\330\246\276\220N\225\315\2333w", 26) = 26
12:41:21.913171 sendto(55, "<a href=\"&#47;general.sv.html?label=gen173nr-1FCAEoggJCAlhYSDNiBW5vcmVmaAKIAQGYAS64
12:41:21.913199 sendto(55, "; form.append( input ).append( check ); } }); } </script> \n<script src=\"https://r-e
12:41:22.413476 recvfrom(1143, "T[16], r.MB, r.MN, null), T[17], r.ME(T[18], r.MB, r.MN, null), T[12], r.ME(T[19
12:41:22.413512 sendto(55, "T[16], r.MB, r.MN, null), T[17], r.ME(T[18], r.MB, r.MN, null), T[12], r.ME(T[19], r
12:41:22.413539 connect(2665, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("10.198.156.38")}, 16)
View 3.log
12:38:00 PM active/s passive/s iseg/s oseg/s
12:41:18 PM 4403.00 836.00 48416.00 66313.00
12:41:19 PM 4115.00 819.00 48401.00 67910.00
12:41:20 PM 1417.00 786.00 43005.00 57608.00
12:41:21 PM 4225.00 824.00 35247.00 49883.00
12:41:22 PM 1198.00 814.00 21580.00 25604.00
12:41:23 PM 3446.00 768.00 24229.00 33893.00
12:41:24 PM 4269.00 773.00 30462.00 46604.00
12:41:25 PM 2259.00 821.00 24347.00 33772.00
12:41:26 PM 994.06 880.20 13207.92 15813.86
View 2.sh
#! /bin/bash
#
# hapee_tracing.sh
KILL_FILE="/tmp/kill_hapee_tracing"
BASE_DIR="/var/log/pidstats/"
SOCKET_DIR="/run/lb_engine/"
PROCESS_NUMBER="$1"
PIDS=( $(cat /run/hapee-lb.pid) )
PID_INDEX=$(($PROCESS_NUMBER-1))
PID=${PIDS[${PID_INDEX}]}
You can’t perform that action at this time.