Tingle's Technology Notes

I am the Technical Lead for CDL Digital Special Collections, these are some notes of mine, views expressed are my own or the original author's and do not represent my employer. http://btingle.bitbucket.org/
Recent Tweets @tingletech
Posts I Like
Who I Follow
top 100 tags
Posts tagged "linux"

pip install iotop

Try to determine how much RAM is currently being used per program. Note per _program_, not per process. So for example this script will report RAM used by all httpd process together. In detail it reports: sum(private RAM for program processes) + sum(Shared RAM for program processes) The shared RAM is problematic to calculate, and this script automatically selects the most accurate method available for your kernel.

sample output — https://gist.github.com/1378510

(“btrfs” comes from “btree file system”). Btrfs consists of three types of on-disk structures: block headers, keys, and items, currently defined as follows:

been playing with coreutils on solaris… I guess in linux there are some new system calls that do copy on write by making duplicate inodes that point to the same blocks, and then have the copy on write built in. supported on ocfs2 and btrfs filesystems. Wish it worked with zfs on solaris…

infoneernet:

Mike started the talk by giving the developers a good laugh: it seems that Google manages its kernel code with Perforce. He apologized for that. There is a single tree that all developers commit to. About every 17 months, Google rebases its work to a current mainline release; what follows is a long struggle to make everything work again. Once that’s done, internal “feature” releases happen about every six months.

Seen at LWN.net

Notable comment:

Posted Oct 21, 2009 5:19 UTC (Wed) by bradfitz (subscriber, #4378)

if you’re going to have a blessed “central” repo anyway, who really cares if that repo is actually git, svn, perforce, etc, as long as you can use your DVCS of choice at the edge?

The alternative is changing years of accumulated tools & checks every time a new VCS comes out and you change your master repo’s storage format.

*shrug*