refresh lxc-netstat
refresh lxc-netstat

Modify the cgroup search to only use hierarchies that contain one
or more subsystems. When searching, if a hierarchy contains the
'ns' subsystem, do not append '/lxc' to the parent cgroup.

Change method of bind mounting /proc/<pid>/net onto /proc/net, to
avoid error "cannot mount block device /proc/<pid>/net read-only".

Check that user is root. Check that container name is specified
before calling 'exec'.

Update the help information.

Print error messages and help information to stderr.

Make indentation consistent.

Signed-off-by: David Ward <6be1308aeebeeeac115bb2fe2e0d71ae5645edd9@ll.mit.edu>
Signed-off-by: Daniel Lezcano <3211518dd4d87cb3f7ee12cb52e14b7fb2bc0446@fr.ibm.com>

hfuCN/lxc,QingweiPeterLan/cs188-lxc,tych0/lxc,rowhit/lxc,JohnPeacockMessageSystems/lxc,sapun/lxc,bostjan/lxc,ioops/lxc,caglar10ur/lxc,thmo/lxc,terceiro/lxc,armcc/lxc,abstrakraft/lxc-android-lxc,Pelagicore/lxc,hallyn/lxc,codebauss/lxc,ss1h2a3tw/lxc,akshaykarle/lxc,lazy404/lxc,codebauss/lxc,thmo/lxc,Distrotech/lxc,ss1h2a3tw/lxc,smoser/lxc,cjwatson/lxc,QingweiPeterLan/cs188-lxc,GreatFruitOmsk/lxc,efiop/lxc,thmo/lxc,ysbnim/lxc,rldleblanc/lxc,GreatFruitOmsk/lxc,weizhenwei/lxc,QingweiPeterLan/cs188-lxc,ysbnim/lxc,federicobriata/lxc,aeris/lxc,christiaan/lxc,bmoar/lxc,lazy404/lxc,ojkastl/lxc_Patches,hallyn/lxc,rldleblanc/lxc,LynxChaus/lxc,armcc/lxc,virajs/lxc,glensc/lxc,hkjolhede/lxc,virajs/lxc,cjwatson/lxc,efiop/lxc,DarknessBeforeDawn/lxc,akshaykarle/lxc,lisongmin/lxc,bmoar/lxc,raspberrypython/lxc,yubo/lxc,ojkastl/lxc_Patches,szaszg/lxc,abstrakraft/lxc-android-lxc,rowhit/lxc,hfuCN/lxc,Ponce/lxc,fwilson42/lxc,ostap/lxc,major/lxc,Pelagicore/lxc,aeris/lxc,federicobriata/lxc,ksperis/lxc,fwilson42/lxc,ecarrara/lxc,ioops/lxc,hkjolhede/lxc,smoser/lxc,regit/lxc,abstrakraft/lxc-android-lxc,rowhit/lxc,codebauss/lxc,LynxChaus/lxc,raspberrypython/lxc,abstrakraft/lxc-android-lxc,sapun/lxc,raspberrypython/lxc,efiop/lxc,virajs/lxc,jirislaby/lxc,szaszg/lxc,weizhenwei/lxc,ss1h2a3tw/lxc,glensc/lxc,lazy404/lxc,cjwatson/lxc,JohnPeacockMessageSystems/lxc,tych0/lxc,regit/lxc,hallyn/lxc,federicobriata/lxc,rldleblanc/lxc,jirislaby/lxc,ioops/lxc,DarknessBeforeDawn/lxc,regit/lxc,christiaan/lxc,yubo/lxc,smoser/lxc,ecarrara/lxc,caglar10ur/lxc,ecarrara/lxc,coconutpilot/lxc-gentoo-new,terceiro/lxc,Ponce/lxc,glensc/lxc,lisongmin/lxc,ojkastl/lxc_Patches,ostap/lxc,akshaykarle/lxc,smoser/lxc,sapun/lxc,DarknessBeforeDawn/lxc,hkjolhede/lxc,bostjan/lxc,GreatFruitOmsk/lxc,ojkastl/lxc_Patches,Pelagicore/lxc,aeris/lxc,JohnPeacockMessageSystems/lxc,fwilson42/lxc,yubo/lxc,christiaan/lxc,ksperis/lxc,tych0/lxc,ysbnim/lxc,caglar10ur/lxc,Ponce/lxc,bostjan/lxc,major/lxc,terceiro/lxc,jirislaby/lxc,hfuCN/lxc,Distrotech/lxc,bmoar/lxc,szaszg/lxc,major/lxc,Distrotech/lxc,weizhenwei/lxc,ksperis/lxc,lisongmin/lxc,LynxChaus/lxc,armcc/lxc,coconutpilot/lxc-gentoo-new