0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】caffeinateコマンドの使い方

Posted at

caffeinateコマンドを使用するとスリープしないようにできます。

1時間(3600秒)スリープしないようにする

caffeinate -u -t 3600

コマンドが完了するまでスリープしないようにする

caffeinate -s "command"

指定したPIDのプロセスが完了するまでスリープしないようにする

caffeinate -w pid

スリープしないようにする(Ctrl + cで終了)

caffeinate -i

ディスクがスリープしないようにする(Ctrl + cで終了)

caffeinate -m
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?