title: How can I tarball the proc file system?
body: <p>I would like to take a snapshot of my entire proc file system, and save it in a tarball (or in the worst case concatenate all of the text files together into a single text file).</p>
  
  <p>But when I run:</p>
  
  <pre><code>tar -c /proc
  </code></pre>
  
  <p>I get a segfault.</p>
  
  <p>What's the best way to do this?  Should I set up some kind of recursive walk through each file?</p>
  
  <p>I only have the basic *nix utilities, such as bash, cat, ls, echo, etc.  I don't have anything fancy like python or perl or java.</p>