monitor custom programs with ps and watch

March 26th, 2007 mysurface

ps is a very useful tool to list all current running processes with various info such as CPU usage, memory usage, process status, process id etc. watch is another good tool to continuously execute some programs in infinite loop. watch allows you to make use of commands such as ps, netstat, lsof into monitoring purpose. [...]

Posted in Admin, ps, watch | Hits: 44748 | 6 Comments »

grep as a filter for your raw text based data

August 15th, 2006 mysurface

grep is a very useful and simple tools for a unix user to extract info from text based data files, command output, etc. grep always apply together with pipeline to simplified the data output we obtain to form the information which is presentable. For example, ps aux will shows info about the current running processes. [...]

Posted in cat, Common, grep, pipeline, ps, Text Manipulation | Hits: 38830 | 3 Comments »