Linux Commands for Beginners--The Watch Command
来源:互联网 发布:linux 显示目录结构 编辑:程序博客网 时间:2024/06/01 09:36
In this part, I talk about the watch command.
DESCRIPTION :
execute a program periodically, showing output fullscreen
SYNOPSIS :
watch [option] <command>
OPTION :
-n : By default, the program is run every 2 seconds; use -n to specify a different interval.
command: any linux command you want to type
Example :
[piniheaven@localhost ~]$ watch -n 10 free -m #Every 10.0s free -mwill be executed automatically
Every 10.0s: free -m Tue Sep 3 17:48:56 2013
total used free shared buffers cached
Mem: 5690 1388 4301 0 82 620
-/+ buffers/cache: 685 5004
Swap: 0 0 0
1.COMMAND :
watchDESCRIPTION :
execute a program periodically, showing output fullscreen
SYNOPSIS :
watch [option] <command>
OPTION :
-n : By default, the program is run every 2 seconds; use -n to specify a different interval.
command: any linux command you want to type
Example :
[piniheaven@localhost ~]$ watch -n 10 free -m #Every 10.0s free -mwill be executed automatically
Every 10.0s: free -m Tue Sep 3 17:48:56 2013
total used free shared buffers cached
Mem: 5690 1388 4301 0 82 620
-/+ buffers/cache: 685 5004
Swap: 0 0 0
- Linux Commands for Beginners--The Watch Command
- Linux Commands for Beginners--The top Command
- Linux Commands for Beginners-- Regular Expressions--the grep command
- Linux Commands for Beginners--The .bashrc File
- Linux Commands for Beginners--Changing Ownership --chown command
- Linux Commands for Beginners-- Changing Permissions --chmod command
- Linux Commands for Beginners--Head and Tail Command
- Linux Commands For Beginners: SUDO
- Linux Commands for Beginners--Finding Files
- Linux Commands for Beginners--Create Your Own Commands Via alias
- Linux Commands for Beginners--which and whatis commands
- Linux Commands for Beginners--Viewing Resources--du,df,free commands
- Linux Commands for Beginners--Arithmetic in Bash--expr,let commands
- Linux Commands for Beginners---SSH for Remote Administration
- Linux Commands for Beginners-- FTP for Remote Administration
- Linux Commands for Beginners-- Echo And Creating Variables
- Linux Commands for Beginners--Creating Your First Scripting
- Bash Commands - $? for testing the result of a command
- FSharp.Data 程序集之 CSV 文件解析
- Qt QSS 设置文件
- 函数的概述
- 在对话框上创建视图的方法总结
- ubuntu 13.04 安装 JDK
- Linux Commands for Beginners--The Watch Command
- python 连接 MySQL 配置及增 删 改 查的操作
- Java设计模式——面向对象的几个基本原则
- 截取图片某一部分
- hdu 2100 Lovekey(进制下的高精度加法)
- 编译C++的时候系统提示【 “#include “iostream.h”: 在查找预编译头使用时跳过 】
- 两行代码实现输入法切换
- Java图形化界面GUI-02-----黑马程序员
- 大风歌