10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I am trying to write a script that logs into a remote server as root and greps a particular process, awks its PID and then xargs kill -9 .
This is the actual command :
for i in `cat nodes.txt`
do
ssh root@$i 'ps -ef | grep puppet | grep -v grep | awk "{print $2}" | xargs kill... (7 Replies)
Discussion started by: Junaid Subhani
7 Replies
2. Emergency UNIX and Linux Support
Hi friends,
I am quite used to using glance in HPUX servers for analysis performance issues with a particular process as requested by app. folks.
The options which are very helpful to me are the "F" , "W" , "L" stats. How can i get the similar details on Linux servers without using glance?... (2 Replies)
Discussion started by: kunwar
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am fresher in Unix and hence need your help in understanding the basic concepts in Server Building.
Please guide me with the next steps in building our own server after Assembling hardware and installing OS. (1 Reply)
Discussion started by: laxmi Sharma
1 Replies
4. UNIX for Dummies Questions & Answers
Consider two servers tst01 and tst02.
i need to log in tst01 and check for the processes which run in tst02.
then based on pid , i need to kill that process.
is it possible to achieve?
I am able to connect to tst02 using ftp.
But the problem is, if i use ps it says invalid command.
... (3 Replies)
Discussion started by: pandeesh
3 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have a question regarding how to manage a process on a distant unix server.
I perform calculations on a dedicated Unix server (RedHat ELS5.5) using Matlab (installed on the server). The commands are written in a terminal session (via ssh) on my laptop (MacBook Pro6,2 - MacOS X 10.6.7).... (1 Reply)
Discussion started by: antonino_ch
1 Replies
6. Linux
Hi everybody,
I want to find out all the processes that ran before a server crashed. Is that possible?
I've looked in /var/log/messages and found out that the system was out of memory.
A user probably wrote a script (in Perl or Python) that used up all available memory and crashed the... (11 Replies)
Discussion started by: z1dane
11 Replies
7. Shell Programming and Scripting
suppose there are in 10 different server
how can i know in which server a process (ex:oracle )is running (6 Replies)
Discussion started by: alokjyotibal
6 Replies
8. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
9. UNIX for Dummies Questions & Answers
Greetings everyone,
I am new to the unix environment and I need help with my question below.
I need to monitor certain critical processes on several servers and we have scripts that will grep and display those we need to monitor but we need to open new PuTTy sessions to each server in order... (4 Replies)
Discussion started by: kumaran21
4 Replies
10. Windows & DOS: Issues & Discussions
hi all
in our office we have windows 2003 server for one particular application designed by our team need one service must be running on windows server now when we run process from any user it runs till that user is logged in as soon as he logs off service stops running.
we had win 2000... (1 Reply)
Discussion started by: zedex
1 Replies