[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] How to know that whether a process run inside a container or not?
From:       liu.sp () neusoft ! com (liu ! sp at neusoft ! com)
Date:       2011-12-20 8:57:44
Message-ID: 144267214417bd.14417bd1442672 () neusoft ! com
[Download RAW message or body]

Hi Greg Kurz ,Daniel Lezcano,

   Could you give me some guidance on how to check if a process run 
inside a container 
or host?

   In the kernel space ,we can check the level of pid to do it.
   But in the user space ,how to check it ?
   

Best regards
Spring

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic