On Wed, May 23, 2012 at 1:35 AM, Dhaval Giani <dhaval.gi...@gmail.com> wrote:
> On Wed, May 23, 2012 at 12:12 AM, Hoot, Joseph <joe.h...@itec.suny.edu> wrote:
>> Hi all,
>>
>> I've finally gotten a little bit of time to devote towards learning more 
>> about cgroups.  I've tested things manually and am still trying to get my 
>> feet wet.  I saw a presentation on it at Redhat Summit 2011 where some 
>> demo's were done.  I was sold then!  So now that I'm exploring the best way 
>> for us to exploit cgroup functionality, I've been pulled towards the 
>> libcgroup work.   I've tested this out in Oracle Linux 6 and like what I 
>> see.  99% of the systems we have here are running RHEL5 or OEL5.
>>
>> Our database servers are running OEL5 x86_64 with Oracle's Unbreakable 
>> Enterprise Kernel (basically mainline 2.6.32 + oracle patches, from what I 
>> understand).
>>
>> So what I'm looking to do is compile the libcgroup-0.38 tarball.  I seem to 
>> be running into possible issues with the configure script and/or with 
>> includes?  Here's what I see:
>>
>> [root@vorlof libcgroup-0.38]# ./configure
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> ./configure: line 3067: with_bindings: command not found
>> checking for g++... no
>> checking for c++... no
>> checking for gpp... no
>> checking for aCC... no
>> checking for CC... no
>> checking for cxx... no
>> checking for cc++... no
>> checking for cl.exe... no
>> checking for FCC... no
>> checking for KCC... no
>> checking for RCC... no
>> checking for xlC_r... no
>> checking for xlC... no
>> checking whether the C++ compiler works... no
>> configure: error: in `/home/hootjr/Downloads/libcgroup-0.38':
>> configure: error: C++ compiler cannot create executables
>
> Would be extremely useful to have a compiler installed on the system ;-)
>

My suggestion would be

Start by looking at /proc/cgroups. RHEL5 does not have cgroups support
from what I know, they are based of a 2.6.18 kernel, not sure about
OEL5. /proc/cgroups will show you all compiled systems and their
current state

Once that is done, we can help you with the configuration, you'll need
to get the development tools to compile the libcgroup library

Balbir

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to