Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Service Last updated Time in si.services() #886

Open
narmatha291289 opened this issue Jan 23, 2024 · 1 comment
Open

Include Service Last updated Time in si.services() #886

narmatha291289 opened this issue Jan 23, 2024 · 1 comment

Comments

@narmatha291289
Copy link

Is your feature request related to a problem? Please describe.

I'm currently using si.services() from the systeminformation library to gather information about services on my system. However, I've noticed that the library doesn't provide information about the Last updated time of services, which is crucial for my use case.

Describe the solution you'd like

The systemctl show -p ActiveEnterTimestamp -p ActiveExitTimestamp command can be employed to obtain the last updated time of a specific service. Integrating this command into the si.services() output will enhance the library's information by including the Last Updated Time for each service.

Additional context

This feature is important for monitoring and analyzing the performance of services over time. Knowing the last updated time of a service helps in identifying patterns and troubleshooting issues more effectively.

@parthiganesh
Copy link

@sebhildebrandt +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants