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
var yoxviewPath = getYoxviewPath(); | |
var cssLink = top.document.createElement("link"); | |
cssLink.setAttribute("rel", "Stylesheet"); | |
cssLink.setAttribute("type", "text/css"); | |
cssLink.setAttribute("href", yoxviewPath + "yoxview.css"); | |
top.document.getElementsByTagName("head")[0].appendChild(cssLink); | |
function LoadScript(url) | |
{ | |
document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; |
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
while [ 1 ]; do M=`free | grep Mem | awk '{printf("%d",$4/$2 * 100.0)}'`;if [ $M -lt 10 ]; then echo "Memory under 10%"; fi; done |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <pthread.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <errno.h> |
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
#!/bin/sh | |
# | |
REPOS=$1 | |
REV=$2 | |
UUID=`sudo svnlook uuid $REPOS` | |
CI_SERVER=10.5.88.190 | |
CI_PORT=6060 |
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
#!/bin/sh | |
# | |
# ./log-icmp-packet-flow.sh [Source IP Address] [[Delete]] | |
# | |
SRCIP=$1 | |
ACT=$2 | |
IPT=`which iptables` | |
EBT=`which ebtables` |
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
#!/bin/sh | |
# | |
# ./log-http-packet-flow.sh [Source IP Address] [[Delete]] | |
# | |
SRCIP=$1 | |
ACT=$2 | |
IPT=`which iptables` | |
EBT=`which ebtables` |
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
#!/bin/sh | |
# | |
. /lib/functions.sh | |
LOG_FILE=/tmp/vlan.log | |
START_VLAN_NUM=$1 | |
END_VLAN_NUM=$2 |
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
#!/bin/sh | |
# | |
# ./test-wireless.sh [number of run] | |
# | |
SSID1= | |
SSID2= | |
LOG_FILE=/tmp/wireless.log | |
. /lib/functions.sh |
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
#!/bin/sh | |
# | |
# ./test-network.sh [[sequence number]] | |
# | |
LOG_FILE=/tmp/network.log | |
CLIENT_IP="192.168.100.1" | |
# $1: sequence number of testing | |
test_network() { |
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
#!/bin/sh | |
# | |
# ./test-config-foreach.sh | |
# SSID wificity_f16e82_2G UP !!! | |
# SSID wificity_f16e82_guest DISABLED !!! | |
# SSID wificity_f16e82_5G UP !!! | |
# SSID wificity_f16e82_2G_1 UP !!! | |
# SSID wificity_f16e82_5G_1 UP !!! | |
# SSID wificity_f16e82_2G_2 UP !!! | |
# SSID wificity_f16e82_5G_2 UP !!! |
OlderNewer