Skip to content
Snippets Groups Projects

remove special chars from systemd status

Merged Hahn Axel (hahn) requested to merge fix-specialchars-systemd into master
2 files
+ 16
12
Compare changes
  • Side-by-side
  • Inline

Files

@@ -16,7 +16,7 @@ A unit is everything listed by systemctl command - services, timers, targets, ..
______________________________________________________________________
CHECK_SYSTEMDUNIT
v1.4
v1.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
@@ -89,17 +89,17 @@ To check a single service you need to add the unit name in the 1st column.
``$ ./check_systemdunit nginx`` returns
```txt
OK: nginx.service - A high performance web server and a reverse proxy server
OK: nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: disabled)
Active: active (running) since Tue 2023-09-05 08:04:45 CEST; 8h ago
Process: 577 ExecStart=/usr/bin/nginx -g pid /run/nginx.pid; error_log stderr; (code=exited, status=0/SUCCESS)
Main PID: 612 (nginx)
Active: active (running) since Fri 2023-10-20 08:04:35 CEST; 3h 14min ago
Process: 783 ExecStart=/usr/bin/nginx (code=exited, status=0/SUCCESS)
Main PID: 787 (nginx)
Tasks: 2 (limit: 18881)
Memory: 3.0M
CPU: 38ms
Memory: 3.8M
CPU: 39ms
CGroup: /system.slice/nginx.service
├─612 "nginx: master process /usr/bin/nginx -g pid /run/nginx.pid; error_log stderr;"
└─613 "nginx: worker process"
-787 "nginx: master process /usr/bin/nginx"
-788 "nginx: worker process"
...
```
Loading