Skip to content

Instantly share code, notes, and snippets.

@sargun
Created April 2, 2014 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sargun/9936598 to your computer and use it in GitHub Desktop.
Save sargun/9936598 to your computer and use it in GitHub Desktop.
open("/etc/cgconfig.conf", O_RDONLY|O_CLOEXEC) = 3
mmap(NULL, 315392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2390bb6000
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff678baa88) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=1008, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2390c10000
read(3, "#\n# Copyright IBM Corporation. "..., 8192) = 1008
read(3, "", 4096) = 0
read(3, "", 8192) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff678baa88) = -1 ENOTTY (Inappropriate ioctl for device)
stat("/sys/fs//cgroup/cpu", 0x7fff678bb490) = -1 ENOENT (No such file or directory)
mkdir("/sys", 0775) = -1 EEXIST (File exists)
mkdir("/sys/fs", 0775) = -1 EEXIST (File exists)
mkdir("/sys/fs//cgroup", 0775) = -1 EEXIST (File exists)
mkdir("/sys/fs//cgroup/cpu", 0775) = -1 ENOENT (No such file or directory)
umount("/sys/fs//cgroup/cpu", 0) = -1 ENOENT (No such file or directory)
rmdir("/sys/fs//cgroup/cpu") = -1 ENOENT (No such file or directory)
umount("/sys/fs/cgroup/cpuacct", 0) = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/cpuacct") = -1 ENOENT (No such file or directory)
umount("/sys/fs/cgroup/devices", 0) = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/devices") = -1 ENOENT (No such file or directory)
umount("/sys/fs/cgroup/memory", 0) = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/memory") = -1 ENOENT (No such file or directory)
umount("/sys/fs/cgroup/freezer", 0) = -1 ENOENT (No such file or directory)
rmdir("/sys/fs/cgroup/freezer") = -1 ENOENT (No such file or directory)
munmap(0x7f2390bb6000, 315392) = 0
close(3) = 0
munmap(0x7f2390c10000, 4096) = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2390c10000
write(1, "Loading configuration file /etc/"..., 53Loading configuration file /etc/cgconfig.conf failed
) = 53
write(1, "Cgroup, operation not allowed\n", 30Cgroup, operation not allowed
) = 30
exit_group(3) = ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment