Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D doc-website
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Systerserver
  • doc-website
  • Wiki
  • Sysadmin tasks

Sysadmin tasks · Changes

Page history
Update Sysadmin tasks authored Sep 24, 2021 by Mara Karagianni's avatar Mara Karagianni
Hide whitespace changes
Inline Side-by-side
Sysadmin-tasks.md
View page @ 32e9fcb1
...@@ -23,7 +23,7 @@ Inform the community that a reboot would take place and who wants to join, prefe ...@@ -23,7 +23,7 @@ Inform the community that a reboot would take place and who wants to join, prefe
List and save all services currently running in a file with a timestamp in the name, before and after the reboot: List and save all services currently running in a file with a timestamp in the name, before and after the reboot:
``` ```
# systemctl list-units --type=service --state=running > DD-MM-YY-beforeboot # systemctl list-units --type=service --state=running,exited > DD-MM-YY-beforeboot
``` ```
ref: https://linuxhint.com/list-all-running-services-debian/ ref: https://linuxhint.com/list-all-running-services-debian/
``` ```
...@@ -34,7 +34,7 @@ ref: https://linuxhint.com/list-all-running-services-debian/ ...@@ -34,7 +34,7 @@ ref: https://linuxhint.com/list-all-running-services-debian/
When server is back again, save the list of services and check for differences When server is back again, save the list of services and check for differences
``` ```
# systemctl list-units --type=service --state=running > DD-MM-YY-aftereboot # systemctl list-units --type=service --state=running,exited > DD-MM-YY-aftereboot
# diff service-<timestamp>-beboreboot DD-MM-YY-afterboot > diff-services # diff service-<timestamp>-beboreboot DD-MM-YY-afterboot > diff-services
# less diff-services # less diff-services
``` ```
......
Clone repository
  • Container Backups with Restic
  • Mailing Lists Docs
  • Sysadmin tasks
  • Home