> 1) why I got 131072 instead of 0 or 1?
> Am I on the right way?
My observation was the same. I usualy get 65536 at first.
> 2) why the /mnt/cpu/131072/exec file accepts cp command
> only once?
"xcpu operation" section in xcpu.pdf describes this.
A session allows a remote user (or program) to start
a process or process tree for one binary, once.
:
We have adopted this simple rule, one xcpu-started process
per session, to simplify system management:
--
"on travel, off the network ... and a fossil in my pocket"