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...
  2. MBR backup with dd command @ LINUX MBR is the master boot record of your disks....
  3. Backup entire disk (mbr included) with dd (linux command) and gzip BACKUP DISK dd if=/dev/sdX | gzip > a.gz RESTORE...
  4. Linux Shared Lib Creation, Compilation & Usage Shared library file b.c #include void b_printer () {...
  5. Disk Usage Information The CLI way The df utility displays the disk...