little script to show available kdevelop repos and whether they are used

Milian Wolff mail at milianw.de
Fri Aug 28 14:45:39 UTC 2009


Attached is a simple bash script which someone might find handy. It basically 
just shows available repositories and whether they are currently used and by 
whom/where.

Example output:
$ used_kdevelop_duchains
Available duchain repositories: 0  1

 USAGE
repo #0 is in use by kdevelop (pid:9790, cwd:/home/milian)
repo #1 has stale lockfile

 SIZE
size of repo #0: 63M
size of repo #1: 35M
---------------------
total size: 97M

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: used_kdevelop_duchains
Type: application/x-shellscript
Size: 724 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090828/f20991aa/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090828/f20991aa/attachment.sig>


More information about the KDevelop-devel mailing list