title: How to change working of top command
body: <p>I am running a docker container which has /proc /sys by default when I mount my host volumes to docker using</p>
  
  <blockquote>
    <p>docker run -it -v /proc/:/nodeserver/proc/:ro -v /sys/fs/cgroup/:/nodeserver/sys/fs/cgroup:ro giri/ubuntu:latest</p>
  </blockquote>
  
  <p>By using the above command I have mounted my host's /proc and /sys to /nodeserver/proc and /nodeserver/sys respectively. Now if I use top or ps command, what it gives is the detail about the running process in the container by using the /proc and /sys directory. Is it possible to make the top command work from /nodeserver/proc instead of /proc by default.</p>