top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to get mount point of cgroup without using libcgroup library?

0 votes
207 views

I am trying to get mount point of cgroups on my RHEL & SUSE system.

From This I am able to get it but it is with the use of libcgroup's system call. I have to do it without using any libcgroup library function as libcgroup may or may not be installed on customer's server.

Can any one please help?

posted Sep 26, 2016 by Chirag Gangdev

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

I have a recursive function as below,

void func()
{
       if(counter>10)
              return;
       func();
}

Here, I need to come out of the function when counter reaches specific number(10 as per example).
Now, the condition is, I can't take this counter as global or static or can't pass this counter as parameter.

Any suggestion to solve this given above terms.

+7 votes

Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all ??

+2 votes

Can Anyone write the C program without using Arthimethic operators for Math table?

...