Configue sqlplus under linux env
1. Using 'Backspace' to delete:add 'stty erase ^h' to '/home/oracle/.bash_profile'then execute ' source .bash_profile's2. Use Line Up and Line Down keys to get the command ...
内网查看出口IP
Windows: tracert www.google.comLinux: wget http://members.3322.org/dyndns/getip cat getip &...
Hosts文件中一个域名绑定多个IP后处理机制
电脑在hosts文件中是由上往下查找ip,若无此IP则打不开网页,然后继续查找,若找到则可以打开IP,则不再继续查找,不论是否正确。因此,可以在hosts里绑定多个IP指向同一个网站,这样就可以增大打开该网站的...
Webbench and Apachebench
Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() for simulating multiple clients and can use HTTP/0.9-HTTP/1.1 requests. This benchmark is not very realistic, ...
Linux Performance Monitoring
diff / sed/ histtimeformat
1. diff [-q][--brief][-y][--left] file1 file22. sed -i 's/stringReplaced/stringNew/' filename3. export HISTTIMEFORMAT = "%F %T" history
SSH PuttyGen
PuttyGen : generate public and private keys used to login Linux after configuration without password,convinent.private key - keeped in localhost, and located into putty Authen.public key - transmit ...
Linux Disk info
/* check disk space */cat /proc/diskinfodf [-a][-i][-t]du -sh/* check the process of the file deleted */lsof|grep deletekill pids/* cleanup content of a file*/cat /dev/null > filen...
nmon and nmon analyser
nmon: linux and aix monitoring and analysis tool download and put on linux or aix,then chmod 755 nmon before the execution.usages:nmon -f -t -s interval -c count -m /path/log/nmo...
1st. download installer and start 1st ruby script
1. start->programmes->ruby->start command prompt with ruby ruby -v: ruby 1.9.2p180<2011-02-18> [term 1.001]irb: interactive ruby programming environme...
Oracle - 10053 Event
Event 10053 is used to dump optimizer decisions to trace file. Usage:{alter session set tracefile_identifier=' id_flag';alter session set events '10053 trace name context forever, lev...
Terms in Execution plan & Optimization Trace
Cost: the value of this column does not have any particular unit of measurement; It is merely a weighted value used to compute costs of execution plans.Card: estimated by the cost-b...
Eclipse Java EE - 1
GNU is a Unix-like computer operating system developed by GNU project,ultimately aiming to be a "complete Unix-compatibale software system" composed wholly fo free software.GCJ: GNU Compi...
Java GC Part1 <ZZ>
What is Garbage Collection?Garbage Collection – not just garbage collectionGarbage collection is a format of automatic memory management. Memory which has been dynamically allocated but whic...
JRE SDK and JDK Terms
JRE: Java Runtime Environment, it just provides an environment for u to run java applications and applets.SDK: Standard Develop Kit, an environment to develop java applications and applets...
DB2_RR_TO_RS
db2set DB2_RR_TO_RE=YES;* RR: Repeatable Read* RS: Read StabilityThe potential deadlock and timeout problems can be resolved by turning on DB2_RR_TO_RS environment var...
Java assert
assert logical_expresion;assert logical_expresion: string_expresion;example:if(daysInMonth == 30){System.out.println("Month is April, June, September, or November");} else if(daysInMo...
DIT - LDAP entries and nodes
1. DIT: Directory Information Tree, LDAP . ldif formate file contains entries that conform. to it.2. LDAP directory stores information in ndoes. In this directory, each u...
backup and restore ldap database off line on windows platform
1. Backup:First to stop TDS server and TDS instance in services.Then cd d:/ldap/v6.2/sbin/ to execute backup command:idsdbback -I <instance_name> -k <backup_dir> -...
DB2 Create Index
An index is an ordered set of pointers to rows of a table. DB2 can use indexes to improve performance and ensure uniqueness.In most cases, access to data is faster with an index than with a sc...