# System Ability Manager() ## Introduction The System Ability Manager (SAMGR) subsystem implements the system service framework. It provides the functions of starting, registering, and querying system services, and querying cross-device distributed system services. ## System Architecture **Figure 1** SAMGR architecture ![](figures/samgr-architecture.png) ## Directory Structure ``` /foundation/distributedschedule ├── safwk # System ability framework ├── samgr # System ability manager ├── safwk_lite # Lightweight foundation process └── samgr_lite # Lightweight system ability manager ``` ## Repositories Involved **SAMGR** [distributedschedule\_safwk](https://gitee.com/openharmony/distributedschedule_safwk) [distributedschedule\_samgr](https://gitee.com/openharmony/distributedschedule_samgr) [distributedschedule\_safwk\_lite](https://gitee.com/openharmony/distributedschedule_safwk_lite) [distributedschedule\_samgr\_lite](https://gitee.com/openharmony/distributedschedule_samgr_lite)