<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2916&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / ps_mem.py]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2916</link>
		<description><![CDATA[The most recent posts in ps_mem.py.]]></description>
		<lastBuildDate>Fri, 28 Jun 2019 21:47:10 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16721#p16721</link>
			<description><![CDATA[<p>So you don&#039;t have any shared memory in the container then.</p><p>Probably a good thing though, at least in respect of security.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 28 Jun 2019 21:47:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16721#p16721</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16720#p16720</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p># df -h<br />Filesystem&#160; &#160; &#160; Size&#160; Used Avail Use% Mounted on<br />udev&#160; &#160; &#160; &#160; &#160; &#160; 485M&#160; &#160; &#160;0&#160; 485M&#160; &#160;0% /dev<br />tmpfs&#160; &#160; &#160; &#160; &#160; &#160;100M&#160; 340K&#160; 100M&#160; &#160;1% /run<br />/dev/vda1&#160; &#160; &#160; &#160; 25G&#160; 5.2G&#160; &#160;20G&#160; 21% /<br />tmpfs&#160; &#160; &#160; &#160; &#160; &#160;5.0M&#160; &#160; &#160;0&#160; 5.0M&#160; &#160;0% /run/lock<br />tmpfs&#160; &#160; &#160; &#160; &#160; &#160;200M&#160; &#160; &#160;0&#160; 200M&#160; &#160;0% /run/shm</p></div></blockquote></div><p>On the last line I see /run/shm, but no /dev/shm</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Fri, 28 Jun 2019 21:44:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16720#p16720</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16718#p16718</link>
			<description><![CDATA[<div class="quotebox"><cite>nixer wrote:</cite><blockquote><div><p>Any ideas on what is missing?</p></div></blockquote></div><p>Looks like vultr isn&#039;t exposing shared memory in it&#039;s containers but that&#039;s just an uninformed guess on my behalf.</p><p>Can you see /dev/shm in the output of <span class="bbc">df -h</span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 28 Jun 2019 21:16:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16718#p16718</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16711#p16711</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Devuan lets me work my way up from scratch</p></div></blockquote></div><p>I hear you on that.&#160; It is my preferred way to build, not desktop install and then removing stuff.</p><p>Question, on my desktop, this ps_mem.py works fine.&#160; But on another system I get this error.&#160; Any ideas on what is missing?</p><div class="quotebox"><blockquote><div><p>$ sudo ps_mem.py<br />&#160; File &quot;/usr/local/sbin/ps_mem.py&quot;, line 448<br />&#160; &#160; &quot;%s: Shared memory is not reporte<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ^<br />SyntaxError: EOL while scanning string literal</p></div></blockquote></div><p>The difference between the two systems is that the one that works is a desktop install.&#160; The other is a virtual machine, devuan (ascii) on vultr.</p><p>Python is installed:</p><div class="quotebox"><blockquote><div><p>python is already the newest version (2.7.13-2).</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Fri, 28 Jun 2019 13:07:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16711#p16711</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16703#p16703</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Are you sure you&#039;re running devuan?</p></div></blockquote></div><p>Oh yes, that&#039;s Devuan — I used the netinstall ASCII image then upgraded to beowulf and installed my <a href="https://build.opensuse.org/package/show/home:Head_on_a_Stick:debian_desktop/simple-desktop" rel="nofollow">simple-desktop</a> package and switched to OpenRC.</p><p>It&#039;s running under 64-bit QEMU/KVM with 4GiB assigned and it runs very well indeed.</p><div class="codebox"><pre><code>devuan:~$ pstree
init─┬─cron
     ├─2*[dbus-daemon]
     ├─dbus-launch
     ├─elogind-daemon
     ├─5*[getty]
     ├─login───startx───xinit─┬─Xorg───{Xorg}
     │                        └─dwm─┬─slstatus
     │                              └─xterm───loksh───pstree
     ├─rsyslogd───3*[{rsyslogd}]
     └─udevd
devuan:~$</code></pre></div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>That looks more like antix.</p></div></blockquote></div><p>antiX is awesome but I would have to spend ages gutting it like a fish to get the desktop I want but Devuan lets me work my way up from scratch, which is much quicker and simpler <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 27 Jun 2019 17:29:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16703#p16703</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16698#p16698</link>
			<description><![CDATA[<div class="quotebox"><cite>macondo wrote:</cite><blockquote><div><p>Ogi: you&#039;re right, I should use it as user.</p></div></blockquote></div><p>Hi! I read the official documentation. As I understood, you need to use super-user rights. That&#039;s what this program is designed for...</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Thu, 27 Jun 2019 15:11:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16698#p16698</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16694#p16694</link>
			<description><![CDATA[<p>Devuan 1 (Jessie) i686</p><p>Mem: 217MB / 2GB</p><p>X @ <a href="https://i.imgur.com/FYZL2OL.png" rel="nofollow">6.7MB</a> (striped to very minimum) for an old 2007 hardware.<br />I have in use for 12 years and still is strong for nowdays tasks.</p><p>After starting startx, fake busy...</p><div class="codebox"><pre class="vscroll"><code>█▓▒░█▓▒░█▓▒░█▓▒░█▓▒░█▓▒░█▓▒░█▒░

   hello nili, i&#039;m devuan
 
       distro Devuan GNU/Linux
          upt 11 min
     packages 445
         gfon Ubuntu 12
           wm openbox-session
 
    cpu 2%    ━────────────── 
    vol 28%   ━━━━━────────── 
    ram 7%    ━━───────────── 
    tmp 54°c  ━━━━━━━━━────── 

#! nili ~ $ 
#! nili ~ $ pstree
init─┬─hddtemp
     ├─login───startx───xinit─┬─Xorg
     │                        └─openbox─┬─compton
     │                                  ├─conky───9*[{conky}]
     │                                  ├─deadbeef-gtkui─┬─{deadbeef-alsa}
     │                                  │                ├─{deadbeef-artwor}
     │                                  │                ├─{deadbeef-gtkui-}
     │                                  │                ├─{deadbeef-hotkey}
     │                                  │                ├─3*[{deadbeef-main}]
     │                                  │                ├─{deadbeef-server}
     │                                  │                └─{deadbeef-stream}
     │                                  ├─obconf
     │                                  ├─obmenu
     │                                  ├─spacefm
     │                                  ├─tint2
     │                                  ├─x-terminal-emul───bash───pstree
     │                                  └─x-www-browser─┬─{Cache I/O}
     │                                                  ├─{Cache2 I/O}
     │                                                  ├─{Compositor}
     │                                                  ├─{DNS Resolver #1}
     │                                                  ├─{DOM Worker}
     │                                                  ├─3*[{DataStorage}]
     │                                                  ├─{Gecko_IOThread}
     │                                                  ├─{HTML5 Parser}
     │                                                  ├─{Hang Monitor}
     │                                                  ├─{IPDL Background}
     │                                                  ├─{ImageBridgeChil}
     │                                                  ├─{ImageIO}
     │                                                  ├─{ImgDecoder #1}
     │                                                  ├─{ImgDecoder #2}
     │                                                  ├─6*[{JS Helper}]
     │                                                  ├─{JS Watchdog}
     │                                                  ├─{Link Monitor}
     │                                                  ├─{Proxy R~olution}
     │                                                  ├─{Socket Thread}
     │                                                  ├─{SoftwareVsyncTh}
     │                                                  ├─{Timer}
     │                                                  ├─{gmain}
     │                                                  ├─{localStorage DB}
     │                                                  ├─{mozStorage #1}
     │                                                  ├─{mozStorage #2}
     │                                                  ├─{mozStorage #3}
     │                                                  ├─{mozStorage #4}
     │                                                  └─{mozStorage #5}
     └─udevd

#! nili ~ $ psmem
Password: 
 Private  +   Shared  =  RAM used	Program

176.0 KiB +  75.5 KiB = 251.5 KiB	startx
192.0 KiB + 106.0 KiB = 298.0 KiB	init
172.0 KiB + 145.5 KiB = 317.5 KiB	xinit
372.0 KiB +  71.5 KiB = 443.5 KiB	hddtemp
380.0 KiB + 357.5 KiB = 737.5 KiB	su
516.0 KiB + 315.5 KiB = 831.5 KiB	login
768.0 KiB + 523.0 KiB =   1.3 MiB	compton
  1.3 MiB + 152.5 KiB =   1.4 MiB	udevd
  1.3 MiB + 221.0 KiB =   1.5 MiB	bash
  1.2 MiB + 558.0 KiB =   1.8 MiB	conky
  1.9 MiB +   2.1 MiB =   4.0 MiB	tint2
  6.6 MiB +   1.2 MiB =   7.8 MiB	x-terminal-emulator
  5.1 MiB +   3.4 MiB =   8.5 MiB	spacefm
  6.1 MiB +   2.8 MiB =   8.9 MiB	openbox
  5.5 MiB +   6.0 MiB =  11.5 MiB	obconf
  7.8 MiB +   4.9 MiB =  12.7 MiB	Xorg
 12.1 MiB +   3.9 MiB =  15.9 MiB	obmenu
 14.8 MiB +   4.5 MiB =  19.3 MiB	deadbeef-gtkui
116.5 MiB +   3.2 MiB = 119.7 MiB	x-www-browser
---------------------------------
                        217.2 MiB
=================================
#! nili ~ $ </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Nili)]]></author>
			<pubDate>Thu, 27 Jun 2019 07:38:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16694#p16694</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16691#p16691</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I can&#039;t see your image. All I get are ads when I allow javascript.</p></div></blockquote></div><p>Click on &quot;continue to image&quot; to see the image <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></div></blockquote></div><p>Yes, I tried that before and after allowing javascript. It didn&#039;t work. I can never see twitter, either. Just a big blue bird. Maybe my computer is trying to protect me from what&#039;s there.</p><div class="quotebox"><blockquote><div><div class="codebox"><pre><code>                         66.5 MiB
=================================</code></pre></div><p>I win <img src="http://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p></div></blockquote></div><p>Whoa. To paraphrase the late rickh: Are you sure you&#039;re running devuan? That looks more like antix.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 27 Jun 2019 01:59:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16691#p16691</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16688#p16688</link>
			<description><![CDATA[<p>It seems you&#039;re supposed to launch it as root (sudo):</p><div class="codebox"><pre class="vscroll"><code>bobo@foo:~$ ps_mem
Sorry, root permission required, or specify pids with -p
bobo@foo:~$ sudo ps_mem
 Private  +   Shared  =  RAM used	Program

128.0 KiB +  72.5 KiB = 200.5 KiB	gnome-pty-helper
188.0 KiB +  43.5 KiB = 231.5 KiB	startx
236.0 KiB +  77.5 KiB = 313.5 KiB	init
200.0 KiB + 143.0 KiB = 343.0 KiB	xinit
236.0 KiB + 155.5 KiB = 391.5 KiB	unclutter
272.0 KiB + 150.5 KiB = 422.5 KiB	cron
340.0 KiB + 157.5 KiB = 497.5 KiB	irqbalance
392.0 KiB + 179.0 KiB = 571.0 KiB	dbus-launch [updated]
868.0 KiB + 167.5 KiB =   1.0 MiB	elogind
616.0 KiB + 587.0 KiB =   1.2 MiB	getty (5)
900.0 KiB + 340.0 KiB =   1.2 MiB	login
  1.2 MiB +  88.0 KiB =   1.3 MiB	udevd
968.0 KiB + 372.0 KiB =   1.3 MiB	sudo
  1.4 MiB +  92.5 KiB =   1.4 MiB	rsyslogd
  1.4 MiB +  63.5 KiB =   1.5 MiB	dhclient
820.0 KiB +   1.0 MiB =   1.8 MiB	dbus-daemon [updated] (2)
  1.1 MiB +   1.4 MiB =   2.6 MiB	bash (3)
  3.0 MiB + 869.0 KiB =   3.8 MiB	icewm
  6.3 MiB +   1.6 MiB =   7.9 MiB	lxterminal
 19.8 MiB +   3.7 MiB =  23.5 MiB	Xorg
426.3 MiB +  92.9 MiB = 519.2 MiB	firefox-esr (6)
---------------------------------
                        570.6 MiB</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (macondo)]]></author>
			<pubDate>Wed, 26 Jun 2019 23:11:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16688#p16688</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16684#p16684</link>
			<description><![CDATA[<p>HOS: you the MAN! Never occurred to me to paste it. Dementia is creeping up. (72)<br />Ogi: you&#039;re right, I should use it as user.</p>]]></description>
			<author><![CDATA[dummy@example.com (macondo)]]></author>
			<pubDate>Wed, 26 Jun 2019 19:23:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16684#p16684</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16683#p16683</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I can&#039;t see your image. All I get are ads when I allow javascript.</p></div></blockquote></div><p>Click on &quot;continue to image&quot; to see the image <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="quotebox"><cite>Ogis1975 wrote:</cite><blockquote><div><p>I never understood the benefits of this program</p></div></blockquote></div><p>It displays the memory used for each process running, which can be very useful.</p><p><strong>@OP:</strong> why not just post the text rather than an image of text?</p><p>Like this:</p><div class="codebox"><pre><code> Private  +   Shared  =  RAM used       Program

216.0 KiB +  71.5 KiB = 287.5 KiB       startx
284.0 KiB + 117.5 KiB = 401.5 KiB       init
312.0 KiB + 147.5 KiB = 459.5 KiB       cron
260.0 KiB + 222.5 KiB = 482.5 KiB       xinit
284.0 KiB + 240.5 KiB = 524.5 KiB       slstatus
364.0 KiB + 186.5 KiB = 550.5 KiB       dbus-launch
616.0 KiB + 134.5 KiB = 750.5 KiB       loksh
580.0 KiB + 671.5 KiB =   1.2 MiB       getty (5)
600.0 KiB + 698.0 KiB =   1.3 MiB       dbus-daemon (2)
  1.0 MiB + 339.5 KiB =   1.4 MiB       login
  1.1 MiB + 433.5 KiB =   1.5 MiB       sudo
  1.7 MiB + 107.5 KiB =   1.8 MiB       elogind-daemon
  1.7 MiB + 186.5 KiB =   1.9 MiB       rsyslogd
  1.3 MiB +   1.3 MiB =   2.6 MiB       dwm
  2.8 MiB + 216.5 KiB =   3.0 MiB       udevd
  3.7 MiB +   1.4 MiB =   5.1 MiB       xterm
 42.5 MiB + 816.5 KiB =  43.3 MiB       Xorg
---------------------------------
                         66.5 MiB
=================================</code></pre></div><p>I win <img src="http://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 26 Jun 2019 17:52:34 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16683#p16683</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16682#p16682</link>
			<description><![CDATA[<p>But why use super-user rights to see how much RAM is used? I never understood the benefits of this program (ps_mem).</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Wed, 26 Jun 2019 17:21:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16682#p16682</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16681#p16681</link>
			<description><![CDATA[<p>I gotta replace my monitor, the screesnshot waw ps_mem showing how much memory I use.</p>]]></description>
			<author><![CDATA[dummy@example.com (macondo)]]></author>
			<pubDate>Wed, 26 Jun 2019 12:54:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16681#p16681</guid>
		</item>
		<item>
			<title><![CDATA[Re: ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16680#p16680</link>
			<description><![CDATA[<p>What&#039;s in the black box? I can&#039;t see your image. All I get are ads when I allow javascript.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 26 Jun 2019 09:53:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16680#p16680</guid>
		</item>
		<item>
			<title><![CDATA[ps_mem.py]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16678#p16678</link>
			<description><![CDATA[<p><a href="http://www.imagebam.com/image/2bb8e61262113044" rel="nofollow"><span class="postimg"><img src="http://thumbs2.imagebam.com/e1/dc/70/2bb8e61262113044.jpg" alt="2bb8e61262113044.jpg" /></span></a></p>]]></description>
			<author><![CDATA[dummy@example.com (macondo)]]></author>
			<pubDate>Wed, 26 Jun 2019 04:36:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16678#p16678</guid>
		</item>
	</channel>
</rss>
