Tag Archives: tools

/usr/bin/time notes

/usr/bin/time is a useful command (not to confuse with “time”) that can measure “real,user,sys”, but also “maximum resident set size, page faults, swaps” and other very useful system info for a specific program. Advertisements

Posted in Tools, Uncategorized | Tagged | Leave a comment

Notes on grep, awk and cut

grep can be a super useful command when combined with other commands in processing documents. This is a post summarizing some useful cases.

Posted in Tools, Uncategorized | Tagged | Leave a comment

Python Notes

Here are a some notes I compiled for the basics of python scripting. I think Python is much better than Bash in terms of scripting because much friendlier syntax and easy to write into small modules. The abundance of data … Continue reading

Posted in Tools, Uncategorized | Tagged | Leave a comment

notes on “screen” command

This is my notes on screen command. Nowadays I have mostly switched to “tmux” . But every once in a while, I still have to run on machines with no tmux. Here are some of my notes on keeping remote … Continue reading

Posted in Tools, Uncategorized | Tagged | Leave a comment

Simple ways for measuring load imbalance

Some notes from discussions with Vlad on how to simply measuring load balance of a program using PROCESS_CPUTIME and CLOCK_MONOTONIC.

Posted in Tools, Uncategorized | Tagged | Leave a comment

See cache sizes in a machine

This post documents the commands to use for finding out the L1, L2 and L3 cache sizes of a machine on Linux.

Posted in Tools, Uncategorized | Tagged | Leave a comment

C++ Notes Series 1 (Class)

I am starting to use C++ more. I used to be a Java programmer. This series of notes would be my first venture in the real of C++.

Posted in Tools, Uncategorized | Tagged | Leave a comment