Obtain some system statistics from vmstat

December 8th, 2007 mysurface

vmstat know as virtual memory statistics reporter, but it gives more information the just only virtual memory. Besides memory, it covers overall CPU usage, IO, Swap, Proc, System interupts and context switching. vmstat is pretty easy to use, ignores all other options, the normal usage will be looks like this: vmstat [delay] [counts] Let say, [...]

Posted in Admin, date, tail, vmstat | Hits: 88764 | 4 Comments »

customize date output

August 23rd, 2006 mysurface

By typing date on your terminal, it will display current date and time like: #output Wed Aug 23 08:00:58 MYT 2006 But the functionality of date is beyond that function, you can customize the output you want. With this function, it allows admin to use the output for filename, for certain backup files, logs , [...]

Posted in Admin, Common, date | Hits: 26077 | 1 Comment »