Help us understand the problem. What is going on with this article?

Webサーバ調査でよく使用したLinuxコマンド

Apache周り

# Apacheの起動
sudo systemctrl start httpd.service

# Apacheの再起動
sudo systemctrl restart httpd.service

# Apacheの状態を確認
sudo systemctl status httpd.service

# Apacheの停止
sudo systemctl stop httpd.service

プロセスの確認

# すべてのプロセスの一覧を確認
ps aux

オプション

a:端末操作の他ユーザのプロセスを表示
uCPUやメモリの使用率を表示
x端末操作以外のプロセスを表示

ネームサーバー確認

dig <ドメイン名> NS +short

オプション

NS:ドメイン名に対応するNSレコードを取得
+short:IPアドレスだけ表示

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away