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
Installing devise (1.1.5) | |
Installing ffi (1.0.99) with native extensions | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.9.1 extconf.rb | |
checking for ffi.h in /usr/local/include... no | |
checking for rb_thread_blocking_region()... yes | |
checking for ruby_thread_has_gvl_p()... no | |
checking for ruby_native_thread_p()... yes | |
checking for rb_thread_call_with_gvl()... yes |
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
ASA-5510-2# | |
ASA-5510-2# show cpu usage | |
CPU utilization for 5 seconds = 12%; 1 minute: 16%; 5 minutes: 15% | |
ASA-5510-2# show traffic | |
outside: | |
received (in 52970.420 secs): | |
50295603 packets 6666480103 bytes | |
57 pkts/sec 125042 bytes/sec | |
transmitted (in 52970.420 secs): | |
78539796 packets 89298560989 bytes |
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
ASA-5510-2# sh snmp-server oidlist | |
------------------------------------------------- | |
[0] 1.3.6.1.2.1.1.1. sysDescr | |
[1] 1.3.6.1.2.1.1.2. sysObjectID | |
[2] 1.3.6.1.2.1.1.3. sysUpTime | |
[3] 1.3.6.1.2.1.1.4. sysContact | |
[4] 1.3.6.1.2.1.1.5. sysName | |
[5] 1.3.6.1.2.1.1.6. sysLocation | |
[6] 1.3.6.1.2.1.1.7. sysServices |
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
#include <stdio.h> | |
#include <stdlib.h> | |
void swap(int *pa, int *pb) | |
{ | |
int c; | |
c = *pa; | |
*pa = *pb; | |
*pb = c; | |
} |
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
static int update_ldap(const char *basedn, const char *table_name, const char *attribute, | |
1177 const char *lookup, va_list ap) | |
1178{ | |
1179 int error = 0; | |
1180 LDAPMessage *ldap_entry = NULL; | |
1181 LDAPMod **ldap_mods; | |
1182 const char *newparam = NULL; | |
1183 const char *newval = NULL; | |
1184 char *dn; | |
1185 int num_entries = 0; |
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
-------- BT core-20120801-094423.txt -------- | |
#0 0x00007f13f9912852 in ?? () from /lib64/libc.so.6 | |
#0 0x00007f13f9912852 in ?? () from /lib64/libc.so.6 | |
#1 0x00007f13e135e3a2 in ?? () from /usr/lib64/asterisk/modules/res_config_ldap.so | |
#2 0x0000000000491cec in ast_load_realtime_multientry () | |
#3 0x00007f13e588e06f in ?? () from /usr/lib64/asterisk/modules/pbx_realtime.so | |
#4 0x00007f13e588e1f7 in ?? () from /usr/lib64/asterisk/modules/pbx_realtime.so | |
#5 0x00000000005033d2 in pbx_find_extension () | |
#6 0x0000000000507a48 in ?? () | |
#7 0x000000000050d504 in ?? () |
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
-------- BT core-20120801-094423.txt -------- | |
#0 0x00007f13f9912852 in ?? () from /lib64/libc.so.6 | |
#0 0x00007f13f9912852 in ?? () from /lib64/libc.so.6 | |
#1 0x00007f13e135e3a2 in ?? () from /usr/lib64/asterisk/modules/res_config_ldap.so | |
#2 0x0000000000491cec in ast_load_realtime_multientry () | |
#3 0x00007f13e588e06f in ?? () from /usr/lib64/asterisk/modules/pbx_realtime.so | |
#4 0x00007f13e588e1f7 in ?? () from /usr/lib64/asterisk/modules/pbx_realtime.so | |
#5 0x00000000005033d2 in pbx_find_extension () | |
#6 0x0000000000507a48 in ?? () | |
#7 0x000000000050d504 in ?? () |
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@storage03 ~]# strace -s 4096 -p 7392 | |
Process 7392 attached - interrupt to quit | |
epoll_wait(5, {}, 1000, 165) = 0 | |
epoll_wait(5, {}, 1000, 1) = 0 | |
epoll_wait(5, {{EPOLLIN, {u32=6, u64=6}}}, 1000, 121) = 1 | |
read(6, "3\t0.00\n.\n", 10240) = 9 | |
write(12, "3\t0.00\n", 7) = 7 | |
write(14, "3\t0.00\n", 7) = 7 | |
write(12, ".\n", 2) = 2 | |
write(14, ".\n", 2) = 2 |
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
#!/bin/bash | |
if [ -z $1 ]; then | |
echo "ussage ping.sh destip" | |
exit -1; | |
fi | |
while (true);do | |
ping -qc 1 -w 1 $1 1>/dev/null | |
if [ $? -ne 0 ];then | |
echo -n "!" |
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 ruby | |
folders = [ | |
["chsys-wiki/Customers/3070/servers/3070_server.asciidoc", 3], | |
["chsys-wiki/Customers/Ait/servers/ait_firewall.asciidoc", 4], | |
["chsys-wiki/Customers/Blumenbecker/servers/server_fileserver.asciidoc", 5], | |
["chsys-wiki/Customers/Blumenbecker/servers/server_firewall.asciidoc", 6], |