you can use watch command directly like this
watch –interval=1 “ps aux|grep xinetd”
to watch xinetd at a 1 second interval.
or you can define a script like this,
vi /bin/wh
press i to enter insert mode. And write

watch –interval=1 $1

then write :wq to save file
change executable attribute with chmod 755 /bin/wh
use it like this

wh “ps uax|grep xinetd”

Buy me a beer

Related posts:

  1. How to change ‘ls’ command color @ linux terminal First change ls commands color attribute to auto alias ls=’ls...
  2. High CPU usage solution for vmware on linux (files on NTFS) If you have high cpu usage problem for your vmware...
  3. MBR backup with dd command @ LINUX MBR is the master boot record of your disks. It...
  4. Disk Usage Information The CLI way The df utility displays the disk space...
  5. Sample Linux Driver (module) I am generally writing linux drivers for embedded systems for...