From: Robert Yang <liezhi.yang@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: [PATCH 0/2] Disk space monitoring
Date: Thu, 15 Dec 2011 18:44:03 +0800 [thread overview]
Message-ID: <cover.1323944674.git.liezhi.yang@windriver.com> (raw)
Here are the test info:
1) set the following variables in conf/local.conf for testing:
BB_DISKMON_DIRS = "${TMPDIR} ${DL_DIR} ${SSTATE_DIR} /home/lyang1"
BB_DISKMON_MINSPACE = "200G"
BB_DISKMON_MININODES = "20M"
BB_DISKMON_INTERVAL = "30s"
The TMPDIR, DL_DIR and SSTATE_DIR are in the same disk(/dev/sdb4) in
my build, so I added another direcotory /home/lyang1 to test the
ability of monitoring multi mount points.
2) bitbake core-image-sato
WARNING: The free space of /dev/sdb5 is running low (25.915GB left)
WARNING: The free inode of /dev/sdb5 is running low (1788.202K left)
WARNING: The free space of /dev/sdb4 is running low (189.309GB left)
WARNING: The free inode of /dev/sdb4 is running low (18005.443K left)
3) Aalso have tested about the following items:
a) Use ctrl-c to stop the monitor
b) The monitor should stop when the build stops
c) Test the space unit G, B, K(case in-sensitive) and the time unit
h, m, s(case-sensitive)
// Robert
The following changes since commit 9d136b2db8f906c562cbdb23a9b238f0e237074b:
gdk-pixbuf: Ensure the binaries can be relocated (2011-12-13 18:00:25 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/disk-space-monitor
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/disk-space-monitor
Robert Yang (2):
Disk space monitoring
Add config sample for disk space monitoring
bitbake/bin/bitbake | 12 +++
bitbake/lib/bb/monitordisk.py | 153 +++++++++++++++++++++++++++++++++++++
meta-yocto/conf/local.conf.sample | 28 +++++++
3 files changed, 193 insertions(+), 0 deletions(-)
create mode 100644 bitbake/lib/bb/monitordisk.py
--
1.7.4.1
next reply other threads:[~2011-12-15 10:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 10:44 Robert Yang [this message]
2011-12-15 10:44 ` [PATCH 1/2] Disk space monitoring Robert Yang
2011-12-15 10:44 ` [PATCH 2/2] Add config sample for disk " Robert Yang
2011-12-15 10:58 ` [PATCH 0/2] Disk " Robert Yang
2011-12-15 15:59 ` Mark Hatle
2011-12-16 3:25 ` Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1323944674.git.liezhi.yang@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox