5

Show kernel stack usage for a process in Linux

view full story
linux-howto

http://serverfault.com – I am trying to determine how much kernel stack is being used by processes on a server. I found a document that indicates that the output from sysrq-t shows the amount of unused stack in the 4th field of the line with the process name. The problem is, every machine I run the sysrq-t on except an old, 32-bit CentOS 5 box always has 0 for this field. Is there another way to determine the stack usage? (HowTos)