質問編集履歴
2
勘違いしたものを載せていたので削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -97,62 +97,4 @@
|
|
97
97
|
CREATE USER mysqluser;
|
98
98
|
CREATE USER mysqluser IDENTIFIED BY [PASSWORD] 'devmysql';
|
99
99
|
SELECT user,host FROM mysql.user;
|
100
|
-
```
|
101
|
-
|
102
|
-
# `systemctl mysqld -h` の結果
|
103
|
-
|
104
|
-
|
105
|
-
```
|
106
|
-
[root@0a64ed3de470 /]# systemctl mysqld -h
|
107
|
-
systemctl [OPTIONS...] {COMMAND} ...
|
108
|
-
|
109
|
-
Query or send control commands to the systemd manager.
|
110
|
-
|
111
|
-
-h --help Show this help
|
112
|
-
--version Show package version
|
113
|
-
--system Connect to system manager
|
114
|
-
-H --host=[USER@]HOST
|
115
|
-
Operate on remote host
|
116
|
-
-M --machine=CONTAINER
|
117
|
-
Operate on local container
|
118
|
-
-t --type=TYPE List units of a particular type
|
119
|
-
--state=STATE List units with particular LOAD or SUB or ACTIVE state
|
120
|
-
-p --property=NAME Show only properties by this name
|
121
|
-
-a --all Show all loaded units/properties, including dead/empty
|
122
|
-
ones. To list all units installed on the system, use
|
123
|
-
the 'list-unit-files' command instead.
|
124
|
-
-l --full Don't ellipsize unit names on output
|
125
|
-
-r --recursive Show unit list of host and local containers
|
126
|
-
--reverse Show reverse dependencies with 'list-dependencies'
|
127
|
-
--job-mode=MODE Specify how to deal with already queued jobs, when
|
128
|
-
queueing a new job
|
129
|
-
--show-types When showing sockets, explicitly show their type
|
130
|
-
-i --ignore-inhibitors
|
131
|
-
When shutting down or sleeping, ignore inhibitors
|
132
|
-
--kill-who=WHO Who to send signal to
|
133
|
-
-s --signal=SIGNAL Which signal to send
|
134
|
-
--now Start or stop unit in addition to enabling or disabling it
|
135
|
-
-q --quiet Suppress output
|
136
|
-
--no-block Do not wait until operation finished
|
137
|
-
--no-wall Don't send wall message before halt/power-off/reboot
|
138
|
-
--no-reload Don't reload daemon after en-/dis-abling unit files
|
139
|
-
--no-legend Do not print a legend (column headers and hints)
|
140
|
-
--no-pager Do not pipe output into a pager
|
141
|
-
--no-ask-password
|
142
|
-
Do not ask for system passwords
|
143
|
-
--global Enable/disable unit files globally
|
144
|
-
--runtime Enable unit files only temporarily until next reboot
|
145
|
-
-f --force When enabling unit files, override existing symlinks
|
146
|
-
When shutting down, execute action immediately
|
147
|
-
--preset-mode= Apply only enable, only disable, or all presets
|
148
|
-
--root=PATH Enable unit files in the specified root directory
|
149
|
-
-n --lines=INTEGER Number of journal entries to show
|
150
|
-
-o --output=STRING Change journal output mode (short, short-iso,
|
151
|
-
short-precise, short-monotonic, verbose,
|
152
|
-
export, json, json-pretty, json-sse, cat)
|
153
|
-
--plain Print unit dependencies as a list instead of a tree
|
154
|
-
|
155
|
-
Unit Commands:
|
156
|
-
list-units [PATTERN...] List loaded units
|
157
|
-
以下略
|
158
100
|
```
|
1
`systemctl mysqld -h` の結果を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -97,4 +97,62 @@
|
|
97
97
|
CREATE USER mysqluser;
|
98
98
|
CREATE USER mysqluser IDENTIFIED BY [PASSWORD] 'devmysql';
|
99
99
|
SELECT user,host FROM mysql.user;
|
100
|
+
```
|
101
|
+
|
102
|
+
# `systemctl mysqld -h` の結果
|
103
|
+
|
104
|
+
|
105
|
+
```
|
106
|
+
[root@0a64ed3de470 /]# systemctl mysqld -h
|
107
|
+
systemctl [OPTIONS...] {COMMAND} ...
|
108
|
+
|
109
|
+
Query or send control commands to the systemd manager.
|
110
|
+
|
111
|
+
-h --help Show this help
|
112
|
+
--version Show package version
|
113
|
+
--system Connect to system manager
|
114
|
+
-H --host=[USER@]HOST
|
115
|
+
Operate on remote host
|
116
|
+
-M --machine=CONTAINER
|
117
|
+
Operate on local container
|
118
|
+
-t --type=TYPE List units of a particular type
|
119
|
+
--state=STATE List units with particular LOAD or SUB or ACTIVE state
|
120
|
+
-p --property=NAME Show only properties by this name
|
121
|
+
-a --all Show all loaded units/properties, including dead/empty
|
122
|
+
ones. To list all units installed on the system, use
|
123
|
+
the 'list-unit-files' command instead.
|
124
|
+
-l --full Don't ellipsize unit names on output
|
125
|
+
-r --recursive Show unit list of host and local containers
|
126
|
+
--reverse Show reverse dependencies with 'list-dependencies'
|
127
|
+
--job-mode=MODE Specify how to deal with already queued jobs, when
|
128
|
+
queueing a new job
|
129
|
+
--show-types When showing sockets, explicitly show their type
|
130
|
+
-i --ignore-inhibitors
|
131
|
+
When shutting down or sleeping, ignore inhibitors
|
132
|
+
--kill-who=WHO Who to send signal to
|
133
|
+
-s --signal=SIGNAL Which signal to send
|
134
|
+
--now Start or stop unit in addition to enabling or disabling it
|
135
|
+
-q --quiet Suppress output
|
136
|
+
--no-block Do not wait until operation finished
|
137
|
+
--no-wall Don't send wall message before halt/power-off/reboot
|
138
|
+
--no-reload Don't reload daemon after en-/dis-abling unit files
|
139
|
+
--no-legend Do not print a legend (column headers and hints)
|
140
|
+
--no-pager Do not pipe output into a pager
|
141
|
+
--no-ask-password
|
142
|
+
Do not ask for system passwords
|
143
|
+
--global Enable/disable unit files globally
|
144
|
+
--runtime Enable unit files only temporarily until next reboot
|
145
|
+
-f --force When enabling unit files, override existing symlinks
|
146
|
+
When shutting down, execute action immediately
|
147
|
+
--preset-mode= Apply only enable, only disable, or all presets
|
148
|
+
--root=PATH Enable unit files in the specified root directory
|
149
|
+
-n --lines=INTEGER Number of journal entries to show
|
150
|
+
-o --output=STRING Change journal output mode (short, short-iso,
|
151
|
+
short-precise, short-monotonic, verbose,
|
152
|
+
export, json, json-pretty, json-sse, cat)
|
153
|
+
--plain Print unit dependencies as a list instead of a tree
|
154
|
+
|
155
|
+
Unit Commands:
|
156
|
+
list-units [PATTERN...] List loaded units
|
157
|
+
以下略
|
100
158
|
```
|