1. OS/system $ vmstat 2 10 // 10 system resource status to every 2 sec. $ iostat 2 10 // 10 I/O status to every 2 sec. $ sar 2 10 // 1…
-
-
TCPDump: Capture and Record Specific Protocols / Port
http://www.cyberciti.biz/faq/tcpdump-capture-record-protocols-port/ Q. How do I capture specific protocol or port such as 80 ( http ) using TCPDump tool under Linux / UNIX? How do I recording Traffic…
-
VisualStudio is doesn't default support "MultiByteCode".
VisualStudio is doesn’t default support “MultiByteCode” so. When you compile MBCS ( Multi-Byte Character Set ) Project look like below error message. ===============================…
-
NTFS use on OSX
1. INSTALL “FUSE for OSX” ( http://osxfuse.github.io/ ) : OSXFUSE 2.7.5 (2015.2.7) download * must check option “MacFUSE compatibility layer” 2. INSTALL NTFS-3G for OS…
-
Cassandra cpp driver install
http://datastax.github.io/cpp-driver/topics/building/ Building Supported Platforms The driver is known to work on CentOS/RHEL 5/6/7, Mac OS X 10.8/10.9 (Mavericks and Yosemite), Ubuntu 12.04/14…
-
Working with Apache Cassandra on Mac OS X
If you use Mac OS X as your platform for development work, then you may be interested to know how easy it is to use Apache Cassandra on the Mac. The following shows you how to download and setup Cassa…
-
How To Install Cassandra on CentOS 7
Apache Cassandra is a NoSQL database intended for storing large amounts of data in a decentralized, highly available cluster. NoSQL refers to a database with a data model other than the tabular relati…
-
CMAKE compile options and etc options
cmake -G “Unix Makefiles” -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=`xcrun -f clang` -DCMAKE_CXX_COMPILER=`xcrun -f clang++` -DwxWidgets_CONFIG_…
-
tip for auto_ptr with C++
1. how to test whether auto_pointer is null? if (!myPointer.get()) { // do not dereference here } 2. how to pass auto_pointer ? std::auto_ptr<class> ptr_class = std::auto_ptr( new class );