Periodically executing programs and watching outputs
If you want to call a program periodically you can use watch utility. For example to see the contents of file /proc/meminfo on every 1 second:
watch -n1 'cat /proc/meminfo'
- 0 Comment
- Murat Demirten
- 17 Apr 2008, 08:56
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Redirecting tcp / udp ports with socat
- dropbear rsa key problem
- XFS Filesystem has duplicate UUID problem
- Remove all frozen messages from exim mail queue
- Rewriting destination ip address
- Users with /bin/false shell to login on vsftpd
- Recovering mysql root password
- Syntax highlighting in less
- Passwordless sudo setup
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
