LoginSignup
1
2

More than 1 year has passed since last update.

忘備録:macにインストールされているサービスを探す

Posted at

macにインストールされているサービスを探す

port 80 を使っているhttpdがbrewで入れたものなのかどうなのかがわからなくなってしまい、いくつかのコマンドを実行して確認しました。結局はMac標準のhttpdだったのですが、コマンドが便利だったので備忘録として残します。

brew

brew services list の実行

$ brew services list
Name    Status  User Plist
httpd   stopped
mysql   stopped

Mac のサービス管理ツール(launchctl)

lunchyというものをインストールすると簡単になる。

$ brew install lunchy

lunchy list の実行

% lunchy list
com.amazon.music
com.amazon.music.startup
com.dropbox.DropboxMacUpdate.agent
com.google.inputmethod.Japanese.Converter
com.google.inputmethod.Japanese.Renderer
.
.
.
org.virtualbox.vboxwebsrv

Mac標準のApacheの停止

これもluncyでできたかもしれない。。。

$ sudo launchctl stop /System/Library/LaunchDaemons/org.apache.httpd.plist
$ sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist
1
2
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
1
2