Anyone else use Cygwin?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Anyone else use Cygwin?
# 1  
Old 02-04-2010
Anyone else use Cygwin?

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

is anyone else doing this sort of thing?

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

thanks,
manny


the following is only an example of the type of data I am able to collect remotely:

checking filesystem stats:

Code:
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:

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

/cygdrive/c/WINDOWS/system32/mem:

Code:
    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:

Code:
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:

Code:
      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  
Old 02-04-2010
I am not a Windows expert but the System Event logs (Security Log and others?) are worth keeping an eye on?
# 3  
Old 02-05-2010
As far a I know there are many ways to do it (vbscripting, windows powershell). Therefore, I prefer to use nagios to this business.
# 4  
Old 02-05-2010
Quote:
Originally Posted by nefeli
As far a I know there are many ways to do it (vbscripting, windows powershell). Therefore, I prefer to use nagios to this business.
You might also take a look at Zabbix.
# 5  
Old 02-05-2010
Great! I didn't know it, Neo, Sounds good. Now I have something to have fun this weekend

Thank you very much
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cygwin

Do clear command do not work in cygwin.. (4 Replies)
Discussion started by: parthmittal2007
4 Replies

2. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

3. UNIX for Dummies Questions & Answers

cygwin

hi.... i want to set an alias to "ls -lart" permanently. i am using cygwin and in that .bashrc and .bash_profile files are readonly. so please tell me how i can do that? thanks (1 Reply)
Discussion started by: Usha Shastri
1 Replies

4. Programming

cygwin

hello ... i am new with cygwin ... and i want you to help me. ... First of all, i want to determine the steady state stream function in a 2-D duct using a square mesh by using the finite-difference methodology and i want to simulate it....and i read a lot of information at... (1 Reply)
Discussion started by: mostafamagdy
1 Replies

5. UNIX for Dummies Questions & Answers

cygwin - sh-3.2$ help!

i am completely new to unix and am trying to learn with cygwin. my problem is simple.... when i use the 'man' command, eg 'man cat' id do not know how to get out of the manual!!!? if i type '!' and Return, rather than having just the $ prompt, it has 'sh-3.2$' as a command prompt.... (1 Reply)
Discussion started by: bobby999
1 Replies

6. Linux

cygwin

I'm trying to run the make command in cygwin. The directory is d:\resiprocate-1.2.3\resip\dum\test. But the command outputs: cant open perl script "c:\Program": No such file or directory why??...check the attached JPEG file....plz help (10 Replies)
Discussion started by: m_well
10 Replies

7. UNIX for Dummies Questions & Answers

Cygwin X

I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies

8. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have software CYGWIN . Can i practice for shell script on that? Thanks sam71 (1 Reply)
Discussion started by: sam71
1 Replies

9. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have cygwin software on my machine. can i practice shell script on that software or not? thanks sam71 (0 Replies)
Discussion started by: sam71
0 Replies

10. UNIX for Dummies Questions & Answers

about cygwin

hi everyone. i have a problem on installing binary file in my cygwin. could anyone help me wat command should i use to install it ? thanks a lot (4 Replies)
Discussion started by: wins1982
4 Replies
Login or Register to Ask a Question

Featured Tech Videos