- tcpdump tcpdump -n port 80 -i eth0|lo monitor all package transferred on 80 port on the network interface eth0/lo
- netstat netstat -anp|grep java trace all network traffic on the process named java netstat -anp|grep 128.224.159.xxx trace all network traffic on the host whose ip address is 128.224.159.xxx
- …
Read MoreUsing -exec command like below, need add escape character for semicolon that separated two commands in shell 1find directory/ -type d -exec chmod a+x {} \; Feb 24, 2010 - update: 1find . -maxdepth 4 -type d -name 'g-vxworks' 2>/dev/null -print Jan. 7, 2024 - update: You might see No such file or directory when …
Read MoreI suffered p2 installation failed on the configure parse. Becase I try to add vm arguments for my application. For example, I added '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8272' in the product configuration. P2 will fail when parsing the argument, because it contains ':' and ',' that should be …
Read Moremount -t cifs -o username=xxx,password=xxx,workgroup=xx,iocharset=utf8 //share.domain/folder /localfolder
Read Morepublic class NameRuleTest { @Rule public TestName name = new TestName(); @Test public void testA() { assertEquals("testA", name.getMethodName()); } @Test public void testB() { assertEquals("testB", name.getMethodName()); }}
Read MoreP2 install wizard firstly query the repository to find out the root installable unit(as well as top installable). Then p2 recalculate the dependency and try to search the requirements in all available repositories after user submits their installation request. Go to the license agreement page if all the dependencies …
Read MoreSetup SSH without password. a) execute "ssh-keygen -t rsa" under your linux/unix login to get the RSA keys. (press Enter for all) You will get 2 files uner ~/.ssh/, id_rsa and id_rsa.pub b) Put the public key id_rsa.pub to your remote host: ~/.ssh/authorized_keys If the remote host share the same nfs, just try " cat …
Read MoreI wrote a plug-in to simplify the process to install the same plug-ins in different platform or different workstation. Anyone is interested in it, pls follow below guide to freely use it. http://code.google.com/p/kane-toolkit/wiki/P2Replication Enjoy it.
Read MoreHow Equinox load bundles Equinox launcher is responsible to start OSGi framework. The system bundle would be created and marked as installed when initializing the framework. Equinox also tries to install the installed bundles if finding them in persistence data during the initializing period. Of course there is no …
Read More