Saved for posterity. Possibly there is an easier way.
$# root@mt:/var/log# bash memreport
Name: bash: 10588
Name: bash: 10600
Name: bash: 20548
Name: cron: 22420
Name: getty: 5928
Name: init: 8352
Name: ntpd: 38332
Name: rsyslogd: 54144
Name: sort: 59840
Name: sshd: 49168
Name: sshd: 70452
Name: udevd: 16864
Name: udevd: 16864
Name: udevd: 16868
$# cat memreport
#!/bin/bash
for i in /proc/[123456789]*/status; do
size=$(grep VmSize $i | awk '{print $2}')
(( size > 0 )) && echo -e "$(grep Name: $i): \t$size"
done | sort -n;
I work with Linux most days, and run it on pretty much all my desktops. So the a few days back I was feeling a bit jaded about doing the same old stuff and started Googling for some interesting things to do. I saw lots of posts about desktop related stuff, but not so much server side things. The goal is fun a play here… with a bit more effort I came up with the following ideas Read more…
Some of you may know where I work, which explains some of the more technical of my posts here. I recently completed a couple of cool scripts to set up these two web applications. Head on over to the RimuHosting blog and check the scripts out!
Disclaimer/shameless plug: I work there, the server plans are great
.
Getting started with Xen http://wiki.debian.org/Xen
Xen and qcow on lvm is a pain, use kpartx to present file-systems and test boot of those before migrating to raw lvm images
Fix for annoying messages about network bridge still present in stable http://xenbits.xensource.com/xen-unstable.hg/rev/b0fe8260cefa7
February 27th, 2011
Glenn
In the recent past I’ve had some helpful feedback on how this blog is loading and/or bits that a busted. Thanks to all who offered their observations and suggestions. That is most appreciated.
A while back I started using the Producer theme, which seemed to work great and had lots of nice features. Unfortunately those features have seemed a bit buggy or unusable on occasions, and reports of the site loading slowly or inconsistently were the last straw. So I’ve reverted back to the iNove theme I used before, which provides a great middle ground between features and simplicity. And just works out of the box.
I hope that will be helpful to all you faithful visitors out there who keep coming back, thanks again…