|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace VMSTAT_Analyzer
{
public partial class frmHelp : Form
{
int intTimeCount = 0;
public frmHelp()
{
InitializeComponent();
}
private void frmHelp_Load(object sender, EventArgs e)
{
richTextBox1.Text = "VMSTAT Analyzer\nVersion 1.0.0.0";
richTextBox1.Text = richTextBox1.Text + "\n\nThis article has no explicit license attached to it and is under GNU General Public License Versions";
richTextBox1.Text = richTextBox1.Text + "\n\nVMSTAT (Virtual Memory STATistics) reports information about processes, memory, paging, block IO, traps, and cpu activity in UNIX environment.";
richTextBox1.Text = richTextBox1.Text + "\n\nThis prgram will run with log files which has been obtained by using the command \"vmstat -n 1 > vmstat.log\"";
richTextBox1.Text = richTextBox1.Text + "\n\nThe program will check the integrity and validate the VMSTAT file before proceeding further.";
richTextBox1.Text = richTextBox1.Text + "\nSo user need not worry about the files integrity.";
richTextBox1.Text = richTextBox1.Text + "\n\nJust point the file in VMSTAT_Analyzer and customizible graphs are infront of you.";
richTextBox1.Text = richTextBox1.Text + "\n\nVarious graphs available are \"procs\", \"memory\", \"swap\", \"io\", \"system\", \"cpu\" and also there individual compononent";
richTextBox1.Text = richTextBox1.Text + "\n\nUser has the option of configuring various other settings as per need.";
richTextBox1.Text = richTextBox1.Text + "\n\nVMSTAT Log file looks like...";
richTextBox1.Text = richTextBox1.Text + "\nprocs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----";
richTextBox1.Text = richTextBox1.Text + "\nr b swpd free buff cache si so bi bo in cs us sy id wa";
richTextBox1.Text = richTextBox1.Text + "\n0 0 0 12623268 891348 17191484 0 0 4 16 0 0 3 1 97 0";
richTextBox1.Text = richTextBox1.Text + "\n0 0 0 12623060 891348 17191552 0 0 0 0 445 1069 0 0 99 0";
richTextBox1.Text = richTextBox1.Text + "\n\n\t\t\t\t\t\tSumit Biswas";
timerForm.Enabled = true;
}
private void timerForm_Tick(object sender, EventArgs e)
{
intTimeCount = intTimeCount + 1;
if (intTimeCount == 60)
{
this.Close();
}
}
private void btnOK_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a Performance Engineer, but I like programming. i don't do it as a specialty, but because i love it. anyone who supports source code sharing on the same plane as me.
Anyone who wants to learn more about me can feel free to contact me. Meanwhile, i'd appreciate your feedback. Get in touch sumitsushil@gmail.com
* If this article is helpful, please give reputation points.
* Don't forget to tip the waiter with your appreciation.