1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4289
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
}
+root: App\Entity\EntryComment {#4046}
+body: """
I think you’re thinking of\n
\n
systemctl list-units --type=service --state=stopped\n
\n
status gives the state of the system and a cgroup tree
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701197013 {#4287
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@BaroqueInMind@kbin.social"
]
+children: Doctrine\ORM\PersistentCollection {#4290 …}
+nested: Doctrine\ORM\PersistentCollection {#4292 …}
+votes: Doctrine\ORM\PersistentCollection {#4294 …}
+reports: Doctrine\ORM\PersistentCollection {#4296 …}
+favourites: Doctrine\ORM\PersistentCollection {#4298 …}
+notifications: Doctrine\ORM\PersistentCollection {#4300 …}
-id: 174414
-bodyTs: "'cgroup':24 'give':16 'list':9 'list-unit':8 're':4 'servic':12 'state':13,18 'status':15 'stop':14 'system':21 'systemctl':7 'think':2,5 'tree':25 'type':11 'unit':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4074697"
+editedAt: null
+createdAt: DateTimeImmutable @1701197013 {#4288
date: 2023-11-28 19:43:33.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4289
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
}
+root: App\Entity\EntryComment {#4046}
+body: """
I think you’re thinking of\n
\n
systemctl list-units --type=service --state=stopped\n
\n
status gives the state of the system and a cgroup tree
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701197013 {#4287
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@BaroqueInMind@kbin.social"
]
+children: Doctrine\ORM\PersistentCollection {#4290 …}
+nested: Doctrine\ORM\PersistentCollection {#4292 …}
+votes: Doctrine\ORM\PersistentCollection {#4294 …}
+reports: Doctrine\ORM\PersistentCollection {#4296 …}
+favourites: Doctrine\ORM\PersistentCollection {#4298 …}
+notifications: Doctrine\ORM\PersistentCollection {#4300 …}
-id: 174414
-bodyTs: "'cgroup':24 'give':16 'list':9 'list-unit':8 're':4 'servic':12 'state':13,18 'status':15 'stop':14 'system':21 'systemctl':7 'think':2,5 'tree':25 'type':11 'unit':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4074697"
+editedAt: null
+createdAt: DateTimeImmutable @1701197013 {#4288
date: 2023-11-28 19:43:33.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4289
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4046
+user: App\Entity\User {#3995 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "systemctl status | grep stopped"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701998986 {#4055
date: 2023-12-08 02:29:46.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4044 …}
+nested: Doctrine\ORM\PersistentCollection {#4042 …}
+votes: Doctrine\ORM\PersistentCollection {#4040 …}
+reports: Doctrine\ORM\PersistentCollection {#4038 …}
+favourites: Doctrine\ORM\PersistentCollection {#4006 …}
+notifications: Doctrine\ORM\PersistentCollection {#4010 …}
-id: 173224
-bodyTs: "'grep':3 'status':2 'stop':4 'systemctl':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://kbin.social/m/linux@lemmy.ml/t/661120/-/comment/3817550"
+editedAt: null
+createdAt: DateTimeImmutable @1701171219 {#3987
date: 2023-11-28 12:33:39.0 +01:00
}
}
+root: App\Entity\EntryComment {#4046}
+body: """
I think you’re thinking of\n
\n
systemctl list-units --type=service --state=stopped\n
\n
status gives the state of the system and a cgroup tree
"""
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1701197013 {#4287
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@BaroqueInMind@kbin.social"
]
+children: Doctrine\ORM\PersistentCollection {#4290 …}
+nested: Doctrine\ORM\PersistentCollection {#4292 …}
+votes: Doctrine\ORM\PersistentCollection {#4294 …}
+reports: Doctrine\ORM\PersistentCollection {#4296 …}
+favourites: Doctrine\ORM\PersistentCollection {#4298 …}
+notifications: Doctrine\ORM\PersistentCollection {#4300 …}
-id: 174414
-bodyTs: "'cgroup':24 'give':16 'list':9 'list-unit':8 're':4 'servic':12 'state':13,18 'status':15 'stop':14 'system':21 'systemctl':7 'think':2,5 'tree':25 'type':11 'unit':10"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4074697"
+editedAt: null
+createdAt: DateTimeImmutable @1701197013 {#4288
date: 2023-11-28 19:43:33.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4258
+user: Proxies\__CG__\App\Entity\User {#4259 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "That's only for a single service, not really what OP seems to be asking for"
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1701157352 {#4256
date: 2023-11-28 08:42:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4260 …}
+nested: Doctrine\ORM\PersistentCollection {#4262 …}
+votes: Doctrine\ORM\PersistentCollection {#4264 …}
+reports: Doctrine\ORM\PersistentCollection {#4266 …}
+favourites: Doctrine\ORM\PersistentCollection {#4268 …}
+notifications: Doctrine\ORM\PersistentCollection {#4270 …}
-id: 172846
-bodyTs: "'ask':15 'op':11 'realli':9 'seem':12 'servic':7 'singl':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://the.coolest.zone/m/linux@lemmy.ml/t/126688/-/comment/1248339"
+editedAt: null
+createdAt: DateTimeImmutable @1701157352 {#4257
date: 2023-11-28 08:42:32.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4258
+user: Proxies\__CG__\App\Entity\User {#4259 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "That's only for a single service, not really what OP seems to be asking for"
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1701157352 {#4256
date: 2023-11-28 08:42:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4260 …}
+nested: Doctrine\ORM\PersistentCollection {#4262 …}
+votes: Doctrine\ORM\PersistentCollection {#4264 …}
+reports: Doctrine\ORM\PersistentCollection {#4266 …}
+favourites: Doctrine\ORM\PersistentCollection {#4268 …}
+notifications: Doctrine\ORM\PersistentCollection {#4270 …}
-id: 172846
-bodyTs: "'ask':15 'op':11 'realli':9 'seem':12 'servic':7 'singl':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://the.coolest.zone/m/linux@lemmy.ml/t/126688/-/comment/1248339"
+editedAt: null
+createdAt: DateTimeImmutable @1701157352 {#4257
date: 2023-11-28 08:42:32.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4258
+user: Proxies\__CG__\App\Entity\User {#4259 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "That's only for a single service, not really what OP seems to be asking for"
+lang: "en"
+isAdult: false
+favouriteCount: 7
+score: 0
+lastActive: DateTime @1701157352 {#4256
date: 2023-11-28 08:42:32.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4260 …}
+nested: Doctrine\ORM\PersistentCollection {#4262 …}
+votes: Doctrine\ORM\PersistentCollection {#4264 …}
+reports: Doctrine\ORM\PersistentCollection {#4266 …}
+favourites: Doctrine\ORM\PersistentCollection {#4268 …}
+notifications: Doctrine\ORM\PersistentCollection {#4270 …}
-id: 172846
-bodyTs: "'ask':15 'op':11 'realli':9 'seem':12 'servic':7 'singl':6"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://the.coolest.zone/m/linux@lemmy.ml/t/126688/-/comment/1248339"
+editedAt: null
+createdAt: DateTimeImmutable @1701157352 {#4257
date: 2023-11-28 08:42:32.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4274
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "Only if you know what the [service] is. In my case, I’m prone to forgetting so this way I can see what *should* be running but isn’t"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701157394 {#4272
date: 2023-11-28 08:43:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4275 …}
+nested: Doctrine\ORM\PersistentCollection {#4277 …}
+votes: Doctrine\ORM\PersistentCollection {#4279 …}
+reports: Doctrine\ORM\PersistentCollection {#4281 …}
+favourites: Doctrine\ORM\PersistentCollection {#4283 …}
+notifications: Doctrine\ORM\PersistentCollection {#4285 …}
-id: 172848
-bodyTs: "'case':11 'forget':16 'isn':28 'know':4 'm':13 'prone':14 'run':26 'see':22 'servic':7 'way':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064988"
+editedAt: null
+createdAt: DateTimeImmutable @1701157394 {#4273
date: 2023-11-28 08:43:14.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4274
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "Only if you know what the [service] is. In my case, I’m prone to forgetting so this way I can see what *should* be running but isn’t"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701157394 {#4272
date: 2023-11-28 08:43:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4275 …}
+nested: Doctrine\ORM\PersistentCollection {#4277 …}
+votes: Doctrine\ORM\PersistentCollection {#4279 …}
+reports: Doctrine\ORM\PersistentCollection {#4281 …}
+favourites: Doctrine\ORM\PersistentCollection {#4283 …}
+notifications: Doctrine\ORM\PersistentCollection {#4285 …}
-id: 172848
-bodyTs: "'case':11 'forget':16 'isn':28 'know':4 'm':13 'prone':14 'run':26 'see':22 'servic':7 'way':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064988"
+editedAt: null
+createdAt: DateTimeImmutable @1701157394 {#4273
date: 2023-11-28 08:43:14.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4274
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4084
+user: App\Entity\User {#4074 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Can’t you do `systemctl status [service]` to check that?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701917858 {#4096
date: 2023-12-07 03:57:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4089 …}
+nested: Doctrine\ORM\PersistentCollection {#4088 …}
+votes: Doctrine\ORM\PersistentCollection {#4078 …}
+reports: Doctrine\ORM\PersistentCollection {#4081 …}
+favourites: Doctrine\ORM\PersistentCollection {#4079 …}
+notifications: Doctrine\ORM\PersistentCollection {#4077 …}
-id: 172785
-bodyTs: "'check':9 'servic':7 'status':6 'systemctl':5"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/6186211"
+editedAt: null
+createdAt: DateTimeImmutable @1701154758 {#4097
date: 2023-11-28 07:59:18.0 +01:00
}
}
+root: App\Entity\EntryComment {#4084}
+body: "Only if you know what the [service] is. In my case, I’m prone to forgetting so this way I can see what *should* be running but isn’t"
+lang: "en"
+isAdult: false
+favouriteCount: 4
+score: 0
+lastActive: DateTime @1701157394 {#4272
date: 2023-11-28 08:43:14.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@SaltyIceteaMaker@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4275 …}
+nested: Doctrine\ORM\PersistentCollection {#4277 …}
+votes: Doctrine\ORM\PersistentCollection {#4279 …}
+reports: Doctrine\ORM\PersistentCollection {#4281 …}
+favourites: Doctrine\ORM\PersistentCollection {#4283 …}
+notifications: Doctrine\ORM\PersistentCollection {#4285 …}
-id: 172848
-bodyTs: "'case':11 'forget':16 'isn':28 'know':4 'm':13 'prone':14 'run':26 'see':22 'servic':7 'way':19"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064988"
+editedAt: null
+createdAt: DateTimeImmutable @1701157394 {#4273
date: 2023-11-28 08:43:14.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4308
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: "OK, that’s nothing I can help you with."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701176851 {#4307
date: 2023-11-28 14:07:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4311 …}
+nested: Doctrine\ORM\PersistentCollection {#4316 …}
+votes: Doctrine\ORM\PersistentCollection {#4312 …}
+reports: Doctrine\ORM\PersistentCollection {#4318 …}
+favourites: Doctrine\ORM\PersistentCollection {#4320 …}
+notifications: Doctrine\ORM\PersistentCollection {#4322 …}
-id: 173461
-bodyTs: "'help':7 'noth':4 'ok':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5222503"
+editedAt: null
+createdAt: DateTimeImmutable @1701176851 {#4304
date: 2023-11-28 14:07:31.0 +01:00
}
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4308
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: "OK, that’s nothing I can help you with."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701176851 {#4307
date: 2023-11-28 14:07:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4311 …}
+nested: Doctrine\ORM\PersistentCollection {#4316 …}
+votes: Doctrine\ORM\PersistentCollection {#4312 …}
+reports: Doctrine\ORM\PersistentCollection {#4318 …}
+favourites: Doctrine\ORM\PersistentCollection {#4320 …}
+notifications: Doctrine\ORM\PersistentCollection {#4322 …}
-id: 173461
-bodyTs: "'help':7 'noth':4 'ok':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5222503"
+editedAt: null
+createdAt: DateTimeImmutable @1701176851 {#4304
date: 2023-11-28 14:07:31.0 +01:00
}
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4308
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+slug: "How-to-see-enabled-services-that-have-been-stopped-systemd"
+title: "How to see enabled services that have been stopped [systemd]"
+url: null
+body: """
Someone tell me if there is a better way to do this, but I don’t see how.\n
\n
I needed a way to see which services I have *enabled* that I have manually stopped.\n
\n
There oddly isn’t a way to do this in one command, so I had to take the output of list-unit-files ‘enabled’, and use that to filter for ‘list-units’. The command is here:\n
\n
`alias sysstop=‘systemctl list-units --state=failed,dead,exited $( systemctl list-unit-files --state=enabled --type=service | awk “/.*.service/ {print }” )’`\n
\n
So now I can remember that I need to restart mariadb and nginx at some point:\n
\n
```\n
\n
<span style="color:#323232;">$ sysstop\n
</span><span style="color:#323232;"> UNIT LOAD ACTIVE SUB DESCRIPTION \n
</span><span style="color:#323232;"> blueman-mechanism.service loaded inactive dead Bluetooth management mechanism\n
</span><span style="color:#323232;"> mariadb.service loaded inactive dead MariaDB 11.2.2 database server\n
</span><span style="color:#323232;"> NetworkManager-wait-online.service loaded active exited Network Manager Wait Online\n
</span><span style="color:#323232;"> nginx.service loaded inactive dead A high performance web server and a reverse proxy server\n
</span><span style="color:#323232;"> systemd-homed-activate.service loaded active exited Home Area Activation\n
</span><span style="color:#323232;"> systemd-networkd-wait-online.service loaded active exited Wait for Network to be Configured\n
</span>\n
```\n
\n
My other aliases are here, in case anyone finds these helpful. I use them frequently myself.\n
\n
```\n
\n
<span style="color:#323232;">alias sysdis='systemctl list-unit-files --type=service --state=disabled'\n
</span><span style="color:#323232;">alias sysdisuser='systemctl list-unit-files --type=service --state=disabled --user'\n
</span><span style="color:#323232;">alias sysen='systemctl list-unit-files --type=service --state=enabled'\n
</span><span style="color:#323232;">alias sysenuser='systemctl list-unit-files --type=service --state=enabled --user'\n
</span><span style="color:#323232;">alias sysfail='systemctl list-units --type=service --state=failed'\n
</span><span style="color:#323232;">alias sysrun='systemctl list-units --type=service --state=running'\n
</span><span style="color:#323232;">alias sysrunuser='systemctl list-units --type=service --state=running --user'\n
</span><span style="color:#323232;">alias sysstatic='systemctl list-units --type=service --state=static'\n
</span>\n
```
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 8
+favouriteCount: 46
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1701197013 {#2410
date: 2023-11-28 19:43:33.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-id: 17684
-titleTs: "'enabl':4 'see':3 'servic':5 'stop':9 'systemd':10"
-bodyTs: "'11.2.2':129 'activ':114,134,156,160,163 'alia':73,187,198,210,221,233,243,253,264 'alias':173 'anyon':178 'area':159 'awk':92 'better':8 'blueman-mechanism.service':117 'bluetooth':121 'case':177 'command':46,70 'configur':170 'databas':130 'dead':81,120,127,143 'descript':116 'disabl':197,208 'enabl':29,59,89,220,231 'exit':82,135,157,164 'fail':80,242 'file':58,87,193,204,216,227 'filter':64 'find':179 'frequent':185 'help':181 'high':145 'home':158 'inact':119,126,142 'isn':37 'list':56,67,77,85,191,202,214,225,237,247,257,268 'list-unit':66,76,236,246,256,267 'list-unit-fil':55,84,190,201,213,224 'load':113,118,125,133,141,155,162 'manag':122,137 'manual':33 'mariadb':105,128 'mariadb.service':124 'mechan':123 'need':20,102 'network':136,167 'networkmanager-wait-online.service':132 'nginx':107 'nginx.service':140 'odd':36 'one':45 'onlin':139 'output':53 'perform':146 'point':110 'print':94 'proxi':152 'rememb':99 'restart':104 'revers':151 'run':252,262 'see':17,24 'server':131,148,153 'servic':26,91,93,195,206,218,229,240,250,260,271 'someon':1 'state':79,88,196,207,219,230,241,251,261,272 'static':273 'stop':34 'sub':115 'sysdi':188 'sysdisus':199 'sysen':211 'sysenus':222 'sysfail':234 'sysrun':244 'sysrunus':254 'sysstat':265 'sysstop':74,111 'systemctl':75,83,189,200,212,223,235,245,255,266 'systemd-homed-activate.service':154 'systemd-networkd-wait-online.service':161 'take':51 'tell':2 'type':90,194,205,217,228,239,249,259,270 'unit':57,68,78,86,112,192,203,215,226,238,248,258,269 'use':61,183 'user':209,232,263 'wait':138,165 'way':9,22,40 'web':147"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1701231232
+visibility: "visible "
+apId: "https://lemmy.nz/post/3837253"
+editedAt: DateTimeImmutable @1701898679 {#1850
date: 2023-12-06 22:37:59.0 +01:00
}
+createdAt: DateTimeImmutable @1701144832 {#2420
date: 2023-11-28 05:13:52.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4244
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4160
+user: App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Don’t you start a service with system tl *servicename*?"
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1701954179 {#4155
date: 2023-12-07 14:02:59.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
]
+children: Doctrine\ORM\PersistentCollection {#4161 …}
+nested: Doctrine\ORM\PersistentCollection {#4163 …}
+votes: Doctrine\ORM\PersistentCollection {#4165 …}
+reports: Doctrine\ORM\PersistentCollection {#4167 …}
+favourites: Doctrine\ORM\PersistentCollection {#4169 …}
+notifications: Doctrine\ORM\PersistentCollection {#4171 …}
-id: 172644
-bodyTs: "'servic':6 'servicenam':10 'start':4 'system':8 'tl':9"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5215800"
+editedAt: null
+createdAt: DateTimeImmutable @1701148841 {#4156
date: 2023-11-28 06:20:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: """
Yes,\n
\n
systemctl start [servicename]\n
\n
But I wanted to see what I have stopped and not started again
"""
+lang: "en"
+isAdult: false
+favouriteCount: 3
+score: 0
+lastActive: DateTime @1701157473 {#4245
date: 2023-11-28 08:44:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4241 …}
+nested: Doctrine\ORM\PersistentCollection {#4237 …}
+votes: Doctrine\ORM\PersistentCollection {#4235 …}
+reports: Doctrine\ORM\PersistentCollection {#4250 …}
+favourites: Doctrine\ORM\PersistentCollection {#4252 …}
+notifications: Doctrine\ORM\PersistentCollection {#4254 …}
-id: 172851
-bodyTs: "'see':9 'servicenam':4 'start':3,16 'stop':13 'systemctl':2 'want':7 'yes':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.nz/comment/4064998"
+editedAt: null
+createdAt: DateTimeImmutable @1701157473 {#4248
date: 2023-11-28 08:44:33.0 +01:00
}
}
+root: App\Entity\EntryComment {#4160}
+body: "OK, that’s nothing I can help you with."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1701176851 {#4307
date: 2023-11-28 14:07:31.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@luthis@lemmy.nz"
"@cows_are_underrated@feddit.de"
]
+children: Doctrine\ORM\PersistentCollection {#4311 …}
+nested: Doctrine\ORM\PersistentCollection {#4316 …}
+votes: Doctrine\ORM\PersistentCollection {#4312 …}
+reports: Doctrine\ORM\PersistentCollection {#4318 …}
+favourites: Doctrine\ORM\PersistentCollection {#4320 …}
+notifications: Doctrine\ORM\PersistentCollection {#4322 …}
-id: 173461
-bodyTs: "'help':7 'noth':4 'ok':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://feddit.de/comment/5222503"
+editedAt: null
+createdAt: DateTimeImmutable @1701176851 {#4304
date: 2023-11-28 14:07:31.0 +01:00
}
} |
|
Show voter details
|
37 |
DENIED
|
edit
|
App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "linux@lemmy.ml"
+title: "linux"
+description: """
From Wikipedia, the free encyclopedia\n
\n
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
\n
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
\n
### Rules\n
\n
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
- No misinformation\n
- No NSFW content\n
- No hate speech, bigotry, etc\n
\n
### Related Communities\n
\n
- [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
- [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
- [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
- [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
\n
Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 1406
+entryCommentCount: 28632
+postCount: 6
+postCommentCount: 214
+isAdult: false
+customCss: null
+lastActive: DateTime @1729583542 {#276
date: 2024-10-22 09:52:22.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 73
+apId: "linux@lemmy.ml"
+apProfileId: "https://lemmy.ml/c/linux"
+apPublicUrl: "https://lemmy.ml/c/linux"
+apFollowersUrl: "https://lemmy.ml/c/linux/followers"
+apInboxUrl: "https://lemmy.ml/inbox"
+apDomain: "lemmy.ml"
+apPreferredUsername: "linux"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1729583596 {#270
date: 2024-10-22 09:53:16.0 +02:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1698929468 {#272
date: 2023-11-02 13:51:08.0 +01:00
}
} |
|
Show voter details
|