tree: b7ab4824e8b447b9db95449f5a3833908e057a55 [path history] [tgz]
  1. dbus/
  2. init/
  3. seccomp/
  4. src/
  5. udev/
  6. Cargo.toml
  7. OWNERS
  8. README.md
resourced/README.md

resourced - Chrome OS Resource Management Daemon

resourced supports the following 2 D-Bus interfaces for resource management. Check go/resourced for details.

  • org.chromium.MemoryPressure - low memory notification API
    • When memory pressure is high, notifying subsystems to free memory.
    • Method GetAvailableMemoryKB - returns the available memory.
    • Method GetMemoryMarginsKB - returns the margin (threshold) for critical and moderate memory pressure.

Debugging

You can use the following to call the dbus service:

$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.SetRTCAudioActive byte:1
$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.GetRTCAudioActive