Tagged Questions
4
votes
1answer
737 views
What is the difference between /proc/self/stack and output from pstack?
I have been looking through the documentation for /proc and the "stack" object being a new'ish object in proc, I have also looked through the kernel commit to create it -- however the documentation ...
10
votes
5answers
1k views
What happens when I open and read from /proc?
Does the hard drive need to be accessed or is everything done in memory? Basically I would like to constantly get updated values from meminfo and cpuinfo.
Do I need to reopen the file and then reread ...