Results 1 to 4 of 4

Thread: anyone else play w/cygwin?

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default anyone else play w/cygwin?

    I started to gather some stats from our windows servers through the use of cygwin and sshd

    is anyone else doing this sort of thing?

    interested in some other indicators I should be checking for...

    thanks,
    manny

    [/home/is/username] >./testSCRIPT remoteWINDOWShost(w/cygwin and sshd configured)

    checking filesystem stats:

    Filesystem 1K-blocks Used Available Use% Mounted on
    C:/cygwin/bin 22019740 11584704 10435036 53% /usr/bin
    C:/cygwin/lib 22019740 11584704 10435036 53% /usr/lib
    C:/cygwin 22019740 11584704 10435036 53% /
    C: 22019740 11584704 10435036 53% /cygdrive/c
    D: 40963196 10887108 30076088 27% /cygdrive/d
    E: 797064716 41262988 755801728 6% /cygdrive/e


    checking memory stats:

    total used free shared buffers cached
    Mem: 2097151 0 2097151 0 0 0
    Swap: 1046528 58272 988256


    /cygdrive/c/WINDOWS/system32/mem:

    655360 bytes total conventional memory
    655360 bytes available to MS-DOS
    633536 largest executable program size

    1048576 bytes total contiguous extended memory
    0 bytes available contiguous extended memory
    941056 bytes available XMS memory
    MS-DOS resident in High Memory Area


    vmstat (virtual memory statistics) info:

    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 58268 2097151 0 0 0 0 0 0 0 0 0 0 99 0
    0 0 58268 2097151 0 0 0 0 0 0 654 6408 1 0 98 0
    0 0 58268 2097151 0 0 0 0 0 0 751 5581 0 0 100 0
    0 0 58268 2097151 0 0 0 0 0 0 597 5991 0 0 100 0
    0 0 58268 2097151 0 0 0 0 0 0 632 5770 0 0 100 0


    checking active WINDOWS processes:

    PID PPID PGID WINPID TTY UID STIME COMMAND
    4 0 0 4 ? 0 Apr 22 *** unknown ***
    336 0 0 336 ? 0 Dec 3 \SystemRoot\System32\smss.exe
    384 0 0 384 ? 0 Dec 3 \??\C:\WINDOWS\system32\csrss.exe
    412 0 0 412 ? 0 Dec 3 \??\C:\WINDOWS\system32\winlogon.exe
    ...
    7700 0 0 7700 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\MDXKPIOffline.exe
    7424 0 0 7424 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\MDXKPIOnline.exe
    6416 0 0 6416 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\notify.exe
    7276 0 0 7276 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\tiancontentservice.exe
    1876 0 0 1876 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\contentAgent.exe
    6928 0 0 6928 ? 0 Dec 10 E:\Everest\Websrvr\BPU\bin\synchronize.exe
    8480 0 0 8480 ? 0 Dec 24 C:\Program Files\McAfee\Common Framework\naPrdMgr.exe

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,500
    Thanks
    17
    Thanked 790 Times in 507 Posts
    Rep Power
    10

    Default

    So you want to monitor windows host via cygwin?
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    start off with monitoring.
    you could easily leverage existing unix monitoring scripts to watch your key windows servers.

    if they are sqlservers, cygwin would provide for tsql sessions.

    got the idea, when one of the developers introduced us to cygwin for improved job flow.

    thanks,
    manny

  4. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,500
    Thanks
    17
    Thanked 790 Times in 507 Posts
    Rep Power
    10

    Default

    I see; I never used cygwin for monitoring or porting existing shell or perl scripts to windows. We are basically a UNIX shop. However, we do have departmental Windows 2008/2003 servers (around 200 servers). And we use nagios to keep an eye on those boxes. We monitor:


    • Memory usage
    • CPU load
    • Disk usage
    • Service states
    • Running processes
    • and much more...

    Have you tried out nagios? It may save lots of time in a long run. But if your setup is small and it is not going to scale in near future than cygwin can help too.

    HTH
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to play music files using VLC on Ubunthu Server
    By enochalbert in forum Ubuntu / Debian
    Replies: 1
    Last Post: 31st August 2008, 10:24 AM
  2. How to play music files in FreeBSD
    By enochalbert in forum All about FreeBSD/OpenBSD/NetBSD
    Replies: 7
    Last Post: 30th August 2008, 12:40 PM
  3. Amarok won't play mp3's
    By tiger in forum Ubuntu / Debian
    Replies: 3
    Last Post: 23rd August 2008, 09:54 PM
  4. how do i play streaming divx from 66stage etc
    By joshua in forum Ubuntu / Debian
    Replies: 1
    Last Post: 21st December 2007, 11:53 PM
  5. why real player wont play
    By kavi in forum Linux software
    Replies: 1
    Last Post: 4th November 2005, 11:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •