[Libreoffice] Setting up a non-intrusive build cluster
Jonathan Aquilina
eagles051387 at gmail.com
Wed Nov 23 22:18:17 PST 2011
On 24/11/2011 00:43, Marc-Andre' Laverdie`re wrote:
> Quick question...
>
> Is GDM the default/standard graphical login in linux distros? If so, I
> think that this could be good:
> http://library.gnome.org/admin/gdm/stable/configuration.html.en
>
> Marc-Andre' LAVERDIE`RE
> "Perseverance must finish its work so that you may be mature and
> complete,
> not lacking anything." -James 1:4
> http://asimplediscipleslife.blogspot.com/
> mlaverd.theunixplace.com <http://mlaverd.theunixplace.com>
>
>
>
Morning Marc-Andre
GDM is the standard for gnome. Kde has its own called KDM.
>
> 2011/11/23 Marc-Andre' Laverdie`re <marcandre.laverdiere at gmail.com
> <mailto:marcandre.laverdiere at gmail.com>>
>
> I played with the utmp stuff, and it records the shells only, not
> the interactive sessions...
>
> Any method other than the ps trick? (which may break of process
> names changes...)
>
>
> Marc-Andre' LAVERDIE`RE
> "Perseverance must finish its work so that you may be mature and
> complete,
> not lacking anything." -James 1:4
> http://asimplediscipleslife.blogspot.com/
> mlaverd.theunixplace.com <http://mlaverd.theunixplace.com>
>
>
>
>
> 2011/11/23 Marc-Andre' Laverdie`re <marcandre.laverdiere at gmail.com
> <mailto:marcandre.laverdiere at gmail.com>>
>
> Working on that... it looks simple, but the code isn't giving
> me what I expected...
> /me grumbles looking at unknown APIs...
>
>
> Marc-Andre' LAVERDIE`RE
> "Perseverance must finish its work so that you may be mature
> and complete,
> not lacking anything." -James 1:4
> http://asimplediscipleslife.blogspot.com/
> mlaverd.theunixplace.com <http://mlaverd.theunixplace.com>
>
>
>
>
> On Mon, Nov 21, 2011 at 7:15 AM, Lionel Elie Mamane
> <lionel at mamane.lu <mailto:lionel at mamane.lu>> wrote:
>
> On Mon, Nov 21, 2011 at 11:50:52AM +0000, Michael Meeks wrote:
> > On Sat, 2011-11-19 at 16:15 -0500, Marc-Andre'
> Laverdie`re wrote:
>
> >> I am convincing some powers-that-be that having a build
> farm would
> >> be good, and they are starting to listen. This would
> really help me
> >> write patches for LO, as my poor computer is having
> impossibly long
> >> compile cycles.
>
> >> There is a bunch of somewhat old Linux workstations
> that could
> >> contribute to it. The concern is mostly that it should
> be so that the
> >> systems should not accept jobs when users are logged
> in, as it may
> >> interfere with whatever work it is that they are doing.
>
> Maybe more interesting than "nobody logged on" would be
> "system load
> very low", e.g. "load <= 0.1*(number of cores)", possibly
> combined
> with "free memory + memory used for cache >= threshold".
>
> > I'm sure they'd accept a patch to add a config option to
> use some
> > system heuristic before accepting a job. Of course,
> reliably detecting a
> > login session is prolly quite fun in itself ;-) ps ax | grep
> > gnome-session | kdeinit or something ?
>
> Nah:
>
> #include <utmpx.h>
>
> struct utmpx *getutxent(void);
> struct utmpx *getutxid(const struct utmpx *);
> struct utmpx *getutxline(const struct utmpx *);
> struct utmpx *pututxline(const struct utmpx *);
> void setutxent(void);
> void endutxent(void);
>
> is the POSIX/SUS interface to do that. Or just run
> "/usr/bin/who -q"
> :)
>
> --
> Lionel
>
>
>
>
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
Regards
Jonathan Aquilina
Get a signature like this.
<http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17>
CLICK HERE.
<http://r1.wisestamp.com/r/landing?promo=17&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111124/1d741a29/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.gif
Type: image/gif
Size: 35 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111124/1d741a29/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixel.png
Type: image/png
Size: 90 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111124/1d741a29/attachment-0001.png>
More information about the LibreOffice
mailing list