Jump to content

hankjrfan00

Member
  • Posts

    72
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by hankjrfan00

  1. That looks promising. Does it keep a history so that I can look at the statistics for a previous day? Or can I look at the data for a whole week. For example it would be nice to look at the processor load and memory load in a graph for the whole week so I can see if some days the load is more than others and track usage patterns?

    Yes it keeps a "history". Just look at the linked page for the very first image here. There's even a yearly graph on there.

    It's meant to monitor SNMP devices, but you can make it graph really anything you want using simple scripts (gotta understand basic scripting though - which I would hope you do if you're monitoring servers).

    Also, check out RRDtool for somewhat nicer graphing.

    There's a bit of work involved to make it all work, but it's totally worth it. You can find tutorials, guides, FAQs and all kinds of resources using good ole google.

    This looks really great. I can't believe I have not looked into this sooner.

    Thanks a lot. This will be a huge help to me.

  2. I usually monitor things this way. Just need MRTG and some scripts. You can monitor anything you want.

    That looks promising. Does it keep a history so that I can look at the statistics for a previous day? Or can I look at the data for a whole week. For example it would be nice to look at the processor load and memory load in a graph for the whole week so I can see if some days the load is more than others and track usage patterns?

  3. I am looking for a way to log server performance data to be viewed later as a graph. This will help we tell the times which our servers are under the most load as well as show me possible performance bottlenecks. I would like to monitor things like cpu load, memory use, nework activity and disk activity. The operating systems I need this to run on are Windows 2000 Server and Windows Server 2003. Can this be done with the Performance Monitor snap in that comes with windows? If so does anyone know of a good guide because I can't figure out how to use it?

    Thanks in advance

  4. Calm Down a little bit. We have this forum because we all like Windows 98. It is really that simple. It is true that I do not think we need an "official guinea pig" thread because we are all guinea pigs. Lots of us test out the patches and updates here. I really do not know what you expect with the last post you made. It accomplished nothing. Also I do not know nor is it any of my business why any msfn member was banned. It has never been ok to discuss such things reguardless of the reason. Just my 2 cents.

  5. about 2 years ago I I was board and decided to try to get my old 386 on the internet. It is a 386 with 4 mb of ram and 100 mb hard drive. I think 25mhz. Loaded MS-Dos 6.2, set up my old network card, and loaded a dos based web browser. I believe it is called Archane and is still being activly developed to some extent. Although some websites did not work browsing speed was much better than I expected. Most pages loaded in less than a minute.

    Other Comments:

    I use K-Meleon as my default web browse in both windows 98 and XP.

    As someone mentioned FoxitReader would have probably been a better choose for a pdf reader. I am pretter sure it still supports windows 95 and is much faster than adobe acrlobat..

  6. I would not worry too much about cooling. Most ITX chipsets are designed to produce a minimum amount of heat. If I am not mistaken many ITX boards also have an integrated processor that does not produce much heat.

    I am not sure if I would go completely fanless though. I would have maybe one thermal controlled exhaust. Also be sure to keep cable clutter to a minimum.(I am sure this will not even be a problem for your setup.)

    Other thoughts:

    256mb of ram should be plenty for your purpose.

    Also I think you can find a premade case that fits your size requirements if you look hard. (but this takes the fun out of doing it yourself.)

  7. I am tryint to create a wrapper class for creating a window in c++. The code compiles and links fine, but does not create a window. The problem seems to be in the CreateWindow function but I cannot seem to find it. I am new to windows gui programming, so any help would be greatly appreciated.

    #include <windows.h>
    #include <stdio.h>

    #define WIN32_LEAN_AND_MEAN

    LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

    class Window
    {
    private:
    HWND hwnd;
    HINSTANCE hInstance;

    protected:
    char winClassName[MAX_PATH];
    char winCaption[MAX_PATH];

    WNDCLASSEX wndclass;

    DWORD winStyle;
    int winXPos;
    int winYPos;
    int winWidth;
    int winHeight;

    public:
    Window(HINSTANCE hInstance);

    HWND GethWnd();
    HINSTANCE GethInst();

    BOOL Run();

    BOOL Move(long XPos, long YPos);
    BOOL Resize(long Width, long Height);

    BOOL ShowMouse(BOOL Show = TRUE);
    };


    int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
    {
    Window main(hInstance);
    return main.Run();
    }

    Window::Window(HINSTANCE hInstance)
    {
    strcpy(winClassName, "AppClass");
    strcpy(winCaption, "Application Caption");

    winStyle = WS_OVERLAPPEDWINDOW;
    winXPos = 10;
    winYPos = 10;
    winWidth = 640;
    winHeight = 480;
    hwnd = NULL;

    wndclass.cbSize = sizeof(WNDCLASSEX);
    wndclass.style = CS_HREDRAW | CS_VREDRAW;
    wndclass.cbClsExtra = 0;
    wndclass.cbWndExtra = 0;
    wndclass.hInstance = hInstance;
    wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
    wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
    wndclass.hbrBackground = NULL;
    wndclass.lpszMenuName = NULL;
    wndclass.lpszClassName = winClassName;
    wndclass.hIconSm = LoadIcon(NULL, IDI_APPLICATION);
    wndclass.lpfnWndProc = WndProc;
    }

    HWND Window::GethWnd()
    {
    return hwnd;
    }

    HINSTANCE Window::GethInst()
    {
    return hInstance;
    }

    BOOL Window::Run()
    {
    MSG msg;

    if(!RegisterClassEx(&wndclass))
    {
    MessageBox (NULL, TEXT ("Class not registered!"), winClassName, MB_ICONERROR);
    return FALSE;
    }
    hwnd = CreateWindowEx(0,
    winClassName,
    winCaption,
    winStyle,
    winXPos,
    winYPos,
    winWidth,
    winHeight,
    NULL,
    NULL,
    hInstance,
    NULL);
    if(!hwnd)
    {
    MessageBox (NULL, TEXT ("Error createing window"), winClassName, MB_ICONERROR);
    return FALSE;
    }

    ShowWindow (hwnd, SW_SHOWNORMAL);
    UpdateWindow (hwnd);

    while (GetMessage (&msg, NULL, 0, 0))
    {
    TranslateMessage (&msg);
    DispatchMessage (&msg);
    }

    return TRUE;
    }

    BOOL Window::Move(long XPos, long YPos)
    {
    RECT ClientRect;

    GetClientRect(hwnd, &ClientRect);
    MoveWindow(hwnd, XPos, YPos, ClientRect.right, ClientRect.bottom, TRUE);

    return TRUE;
    }

    BOOL Window::Resize(long Width, long Height)
    {
    RECT WndRect, ClientRect;
    long WndWidth, WndHeight;

    GetWindowRect(hwnd, &WndRect);
    GetClientRect(hwnd, &ClientRect);

    WndWidth = (WndRect.right - (ClientRect.right - Width)) - WndRect.left;
    WndHeight = (WndRect.bottom - (ClientRect.bottom - Height)) - WndRect.top;

    MoveWindow(hwnd, WndRect.left, WndRect.top, WndWidth, WndHeight, TRUE);

    return TRUE;
    }

    BOOL Window::ShowMouse(BOOL Show)
    {
    ShowCursor(Show);
    return TRUE;
    }

    LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
    {
    HDC hdc;
    PAINTSTRUCT ps;
    RECT rect;

    switch (message)
    {
    case WM_CREATE:
    PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC);
    return 0;

    case WM_PAINT:
    hdc = BeginPaint (hwnd, &ps);

    GetClientRect (hwnd, &rect);

    DrawText (hdc, TEXT ("Hello, Windows 98!"), -1, &rect,
    DT_SINGLELINE | DT_CENTER | DT_VCENTER);

    EndPaint (hwnd, &ps);
    return 0;

    case WM_DESTROY:
    PostQuitMessage (0);
    return 0;
    }
    return DefWindowProc (hwnd, message, wParam, lParam);
    }

    Thanks Again.

  8. I have personaly tested Gape's service pack on about 100 different computers with no problems at all. Gape's pack is actually just a collection of microsoft security updates, therefore it is really not his fault if it causes conflicts.

    As for RP it is not a service pack at all. Its main goal is to change the look and feel of windows.

    Also I have never used Mcafee myself but it is notorious for causeing system conflicts and is a huge resource hog. Maybe you should think about switching to a different antivirus. Nod32 is great.

  9. there is this server out of the box, install, called CWS

    its based on apache php perl ftp mail and mysql postgresql and some other stuf like that,

    it also includes a hosting control panel called WEB-CP

    its free, and aesy to install neads 9gb of diskspace and 256ram

    www.completewebserver.nl (build in english as far as i know by a dutch guy)

    Somthing like this is what I had in mind. Thanks.

  10. Depends on your isp.

    But most people would rather have a static ip than a dynamic one.....until they get an ip ban from somewhere

    It depends on your ISP how you renew the IP!? All of the ISP's I know assign IPs by DHCP.

    --

    If you are using an ADSL Router with Ethernet (RJ45) port, you can renew it by doing the following commands on cdm.exe:

    ipconfig /release

    ipconfig /renew

    However, if you are using an USB modem, this will not work.

    What I meant was that if his isp assigned him a static ip address then he can't change it. I have in the past had an isp that did this.

×
×
  • Create New...