Is there a way to Grep processes running on Windows Servers...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Is there a way to Grep processes running on Windows Servers...
# 1  
Old 06-02-2010
Is there a way to Grep processes running on Windows Servers...

Hi guys - newbie question:

Is there a way for me to grep running processes from a windows machine? If its possible I could then try to script it.

Currently I can see Windows file shares on my Linux server.
# 2  
Old 06-02-2010
Doubt you'd be able to pick out a client connection from a Windows machine per se...although if there's a network segment assigned to the Wintel workstations/servers in use, you'd be able to identify that much. On the other hand, you might be able to identify the specifics of their client app, such as ssh, etc.
# 3  
Old 06-02-2010
Not sure if I got you right:

tasklist.exe Smilie
http://www.watchingthenet.com/wp-con...ds//tlist2.png

You could run tasklist.exe > /path/to/dir/that/is/visible/to/your/linux/server/tasklist.txt on the Windows machine.
This task could be automated using Task Scheduler.

Mount windows share and grep for the specific process.
This User Gave Thanks to pseudocoder For This Post:
# 4  
Old 06-02-2010
oooh...180 in terms of the proper Forum placement if pseudocoder's correct...

If you're looking to monitor processes on an actual Windows machine, and not connections from a Windows machine onto *nix or vice versa, then you'll want to look into SysInternals (ie, http://www.sysinternals.com). There's a variety of CLI and GUI options...notably Process Explorer.
This User Gave Thanks to curleb For This Post:
# 5  
Old 06-03-2010
Great - Many thanks guys
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error running grep on Remote Servers

Im running the below command sshpass -p mypassword ssh -t user1@server2 /bin/bash -c 'echo "mypassword" | sudo -S -l; echo "$?#`grep -iE "user66|dbuser|tomcat|splunk|stash|jira|user2|docadmin" /etc/passwd`"; exit' Below is the error I get: Output: I run this command across a... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. Linux

Running processes

Hi guys is it normal to have 5-10 cron/syslog processes running... in my case i got 10 cron process running. (4 Replies)
Discussion started by: batas
4 Replies

3. Shell Programming and Scripting

Checking running process status using "grep" on multiple servers in load sharing system.

Suppose i have 3 different servers say x,y and z. Im running some process say ABC and 40 instances for the same is being created. In load sharing suppose on server x, 20 instances are running server y, 10 instances are running server z, 10 instances are running. While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies

4. Solaris

Running processes on GZ/LZ

Hi guys just a question is it normal to see running process on a non-global zone in the global zone... processes such as cron. (3 Replies)
Discussion started by: batas
3 Replies

5. Shell Programming and Scripting

script to monitor different processes on different Unix servers

GM, Can you pls help how to write a script to monitor different processes on different unix servers and send the output to a /tmp/report file, earlier my boss asked me to write a script to monitor just one process running on different servers and send the output to a file so I wrote this exec... (0 Replies)
Discussion started by: baders
0 Replies

6. Shell Programming and Scripting

unable to grep the running processes.

Hi All, We have a shell script(ODS_Load)which loads the data from perticular flat file to oracle table invoking sqlplus based on the parameter. When we execute the script(ODS_Load) independently, script is working fine and able to load the tables successfully. We invoke(ODS_Load) with... (1 Reply)
Discussion started by: Nagaraja Akkiva
1 Replies

7. Shell Programming and Scripting

how to know the running processes.

Hi can anybody help me regarding this.. i want know the output of ps -ef with explanation. how can we know the running processess. this is the output of ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 19 T root 0 0 0 0 SY ... (1 Reply)
Discussion started by: rajesh_pola
1 Replies

8. UNIX for Dummies Questions & Answers

identifying running processes

how to identify the processes running by giving the parent process id (1 Reply)
Discussion started by: trichyselva
1 Replies

9. Linux

What's better for running Windows software in Linux, Wine or Windows VMware?

What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
Login or Register to Ask a Question