| Deepak Kamat | 73cec52 | 2025-03-26 18:04:37 +0530 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # config: 2 50 |
| Amithash Prasad | 4456bbd | 2025-10-02 14:46:48 -0700 | [diff] [blame^] | 4 | # @brief: Get the internal D-bus information. |
| Deepak Kamat | 73cec52 | 2025-03-26 18:04:37 +0530 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | # shellcheck source=/dev/null |
| 8 | . "$DREPORT_INCLUDE"/functions |
| 9 | |
| Amithash Prasad | 4456bbd | 2025-10-02 14:46:48 -0700 | [diff] [blame^] | 10 | desc="D-bus internal stats" |
| Deepak Kamat | 73cec52 | 2025-03-26 18:04:37 +0530 | [diff] [blame] | 11 | |
| Amithash Prasad | 4456bbd | 2025-10-02 14:46:48 -0700 | [diff] [blame^] | 12 | command="busctl call org.freedesktop.DBus /org/freedesktop/DBus \ |
| 13 | org.freedesktop.DBus.Debug.Stats GetStats \"\" a{sv} --verbose" |
| Deepak Kamat | 73cec52 | 2025-03-26 18:04:37 +0530 | [diff] [blame] | 14 | |
| 15 | file_name="dbusstats.log" |
| 16 | |
| 17 | add_cmd_output "$command" "$file_name" "$desc" |