I want to understand how OpenSolaris ptools(process tools) works. How exactly  pstack, pmap, pargs etc works, but I can't find any link to its full source code. I can only find an online version of the source. Any advice where I can download source code for offline use?
Can not find link to download OpenSolaris source code
solaris;opensolaris
Like Kristof Provost mentioned, the official source for the code is:ssh://anon@hg.opensolaris.org/hg/project/project-repoLike you said the source tarballs are now deprecated.and I cant install Mercurial :(? But you should have access to some machine where you can? If not, another possibility would be a live cd with mercurial installed, for example the excellent GRML.Beside that, I cloned the repository for you ;-) You can find it under: http://solaris.oark.org/usr/src/. What you are looking for is the directory http://solaris.oark.org/usr/src/cmd/ptools/. wget should now do the job :-)Note: I will delete this cloned repository the next weeks...Have fun. 