4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

コマンドを数秒間隔で実行し続けるエイリアス作っておくと便利

4
Last updated at Posted at 2013-11-27
loop () { while (true) do $@ ; sleep 2; done;}

watchコマンド使えよって話ですがある程度の変化していく間隔のログを見たい時ですね。
コマンドライン上にログを吐き続けていってサラッと読めるようなの。

loop ps aux | grep [s]3cmd

とかやればs3cmdのプロセスの使用メモリとか時間とか出て来て見返せる

4
4
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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?