reply, oh, that's easy...first you need to find the programs PID
(process ID)
do that with ps
will give you the PID for ALL process running on the entire system
next go to the /proc folder
then enter the folder which matches the PID
then view the status file for that process
it will look something like this...
Code:
Name: X
State: S (sleeping)
SleepAVG: 98%
Tgid: 17109
Pid: 17109
PPid: 17107
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups:
VmPeak: 354104 kB
VmSize: 167596 kB
VmLck: 104 kB
VmHWM: 198224 kB
VmRSS: 142208 kB
VmData: 153828 kB
VmStk: 96 kB
VmExe: 1580 kB
VmLib: 9804 kB
VmPTE: 332 kB
Threads: 1
SigQ: 0/6141
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001000
SigCgt: 00000000518066cb
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
the stack is listed as "VmStk"
hope this helps