Live Chat!

Obtain some system statistics from vmstat

* * * * * 1 votos

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, you want to [...]

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

customize date output

          0 votos

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 , etc.
I am going [...]

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