A few things, first, run:
watch w
this will tell you what they are up to.
More tricky, find the pid of their original shell,
Now you can do:
cat /proc/<pid>/environ | perl-5.6 -e 'while(<>) { s/\00/\n/g; print $_ . "\n"}'
To see their environment as well as
ls -l /proc/<pid> to see what their CWD is, etc.
I should do a script for this ...
cl