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?
Like Kristof Provost mentioned, the official source for the code is:
Like you said the source tarballs are now deprecated.
? 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/.
Note: I will delete this cloned repository the next weeks...
|show 1 more comment|