Adds the ability to retieve process statistics for go-sbot by querying systemctl.
The following type is returned:
pubstructSbotStat{/// Current process state.
state: String,/// Current process memory usage in bytes.
memory: Option<u32>,/// Uptime for the process (if state is `active`).
uptime: Option<String>,/// Downtime for the process (if state is `inactive`).
downtime: Option<String>,}
More fields can be added as required.
Adds the ability to retieve process statistics for go-sbot by querying `systemctl`.
The following type is returned:
```rust
pub struct SbotStat {
/// Current process state.
state: String,
/// Current process memory usage in bytes.
memory: Option<u32>,
/// Uptime for the process (if state is `active`).
uptime: Option<String>,
/// Downtime for the process (if state is `inactive`).
downtime: Option<String>,
}
```
More fields can be added as required.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds the ability to retieve process statistics for go-sbot by querying
systemctl.The following type is returned:
More fields can be added as required.