LoginSignup
0
0

More than 3 years have passed since last update.

Linux 基本

Last updated at Posted at 2020-06-18

基本コマンド

  • ps -as
    • 稼働中のプロセスを見る
  • ps -ef|egrep|[見たいプロセス名]|[見たいプロセス名]|・・・|grep -v grep
  • systemctl status firewalld.service
  • systemctl list-unit-files -t service
    • 全サービスの稼働状況をみる

vim

  • 検索で次のヒットに移動する
    • /で検索した後に「n」
  • 元に戻す [u]
  • 元に戻したのを戻す [Ctrl+r]

mysql

  • 同時接続数のマックス確認
show variables like 'max_connections';

プロセスのkill

ps aux | grep '探したいプロセス'
kill -9 pid(プロセスID)
//-9 はSIGKILLで強制終了の意味

error message対応

システムリソース確認

free -m //メモリ使用量確認
top //CPU利用率とか
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0