Editing
0019.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Re: [vserver] monitoring all contexts? (super context!) = * <span class="dfn">This message</span>: [ [[#start|Message body]] ] [ [[#options2|More options]] ] * <span class="dfn">Related messages</span>: [ [[0020.html|Next message]] ] [ [[0018.html|Previous message]] ] [ [[0018.html|In reply to]] ] [ [[0020.html|Next in thread]] ] [ [[#replies|Replies]] ] </div> <div class="mail"> <span id="from"> <span class="dfn">From</span>: Corey Wright <[mailto:undefined_at_pobox.com?Subject=Re:%20%5Bvserver%5D%20monitoring%20all%20contexts?%20(super%20context!) undefined_at_pobox.com]> </span><br /> <span id="date"><span class="dfn">Date</span>: Tue 09 Mar 2010 - 15:51:49 GMT</span><br /> <span id="message-id"><span class="dfn">Message-Id</span>: <20100309095149.94c42890.undefined@pobox.com> </span><br /> On Tue, 09 Mar 2010 14:01:21 +0000<br /> Ed W <lists@wildgooses.com> wrote:<br /> ''> Hi, I would like to run iotop to examine some performance counters, but''<br /> ''> simply running it on the host obviously doesn't show the guest processes.''<br /> ''>''<br /> ''> So instead I try using context 1''<br /> ''>''<br /> ''> chcontext --ctx 1 iotop''<br /> ''>''<br /> ''> However, this gives me an error about missing /proc/vmstat, and in fact''<br /> ''> if I change the above command to an "ls" then it's absolutely correct''<br /> ''> that context 1 cannot see the full /proc tree''<br /> ''>''<br /> ''> I'm running 2.6.32.8-grsec2.1.14-vs2.3.0.36.29.1 - how can I run iotop''<br /> ''> (or any arbitrary command) in a context which can see all guest''<br /> ''> processes AND have full access to the /proc filesystem?''<br /> i'm not running with the grsec patch, but i believe the attached<br /> script/wrapper deals with your /proc problem (if i remember correctly).<br /> corey<br /> <pre> -- undefined@pobox.com</pre> <div> * text/x-sh attachment: [[att-0019/viotop.sh|viotop.sh]] </div> <span id="received"><span class="dfn">Received on</span> Tue Mar 9 15:52:40 2010</span> </div> <div class="foot"> * <span class="dfn">This message</span>: [ [[#start|Message body]] ] * <span class="dfn">Next message</span>: [[0020.html|Corey Wright: "Re: [vserver] monitoring all contexts? (super context!)"]] * <span class="dfn">Previous message</span>: [[0018.html|Ed W: "[vserver] monitoring all contexts? (super context!)"]] * <span class="dfn">In reply to</span>: [[0018.html|Ed W: "[vserver] monitoring all contexts? (super context!)"]] * <span class="dfn">Next in thread</span>: [[0020.html|Corey Wright: "Re: [vserver] monitoring all contexts? (super context!)"]] * <span id="replies"></span><span class="dfn">Reply</span>: [[0020.html|Corey Wright: "Re: [vserver] monitoring all contexts? (super context!)"]] * <span id="options2"></span><span class="dfn">Contemporary messages sorted</span>: [ [[date.html#19|By Date]] ] [ [[index.html#19|By Thread]] ] [ [[subject.html#19|By Subject]] ] [ [[author.html#19|By Author]] ] [ [[attachment.html|By messages with attachments]] ] </div> <div align="center"> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]]<br /> <span class="small">Generated on Tue 09 Mar 2010 - 15:52:41 GMT by [http://www.hypermail.org/ hypermail 2.1.8]</span> </div>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information