10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
First of all, I'd like to congratulate this big family and all members for all the work you do!
I'm trying to do an script or sentence which kills an specific printers PIDs: all printers PIDs older than 72h running in the server.
Steps:
1.- List all printers PID sorting by date:
ps... (6 Replies)
Discussion started by: djflu
6 Replies
2. Shell Programming and Scripting
I was trying to read the file to create a table in SAS and I got error as follows while I read.
Resource is write-locked by another user. File
=/usr/sas/sas_config/Lev1/SASApp/StoredProcessServer/Logs/SASApp_STPServer_2015-09-29_tmp_18208.log. System Error Code =
0.
ERROR: File is in... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies
3. Shell Programming and Scripting
Hi there !!!
I am writing a script to kill the pids on different linux boxes :cool:
the output of my command gives the pids running on that box, but how can I kill all the pids without looping? :confused:
Code:
ssh $i ps -fu $USER | grep ManServer | grep -v grep | awk '{print $2}' | kill
... (4 Replies)
Discussion started by: prany_cool
4 Replies
4. Shell Programming and Scripting
Want to kill multiple processes by name. for the example below, I want to kill all 'proxy-stagerd_copy' processes.
I tried this but didn't work:
>> ps -ef|grep proxy_copy
root 991 986 0 14:45:34 ? 0:04 proxy-stagerd
root 1003 991 0 14:45:49 ? 0:01... (2 Replies)
Discussion started by: catalinawinemxr
2 Replies
5. AIX
How to can find all locked files and release the locks in Unix?
We have an issue were an ftp job lands files under /home/loginid at 5:30 pm and at 6 pm we run a get file on the mvs mainframe machine ftp the file from the server to the mainframe. We get an error file is in use eventhu it is not !!... (4 Replies)
Discussion started by: mrn6430
4 Replies
6. UNIX for Dummies Questions & Answers
Here's the story:
I had an LaCie Internet Space (1TB)... Recently the network (or software)
functions of the device just died... I tried to access it via different routers,
checking UTP, tried everything possible to rule out physical damage to
components.
Then i got the disk out of its... (2 Replies)
Discussion started by: SentinelX
2 Replies
7. Shell Programming and Scripting
I have a script that conducts some SSH calls and I would like to capture the child info so that I can do a sleep and then a cleanup to make sure they do not stay out there as ghosts.
I was told I could do something like this...
#!/bin/sh
for m = job1, job2, job3
x=1... (4 Replies)
Discussion started by: LRoberts
4 Replies
8. Shell Programming and Scripting
Hi,
I know that the answer to this is very simple, since I saw somebody do it some time back..but I forgot how.
The problem is, I have multiple instances of the same program running simultaneously and I want to kill them all in a single command.
I know that it can be done using awk '{print... (12 Replies)
Discussion started by: ipzig
12 Replies
9. UNIX for Dummies Questions & Answers
Hi There
How do i kill multiple processors on unix version 5.05, I know how to kill a single processors individually (e.g kill -9 process number),but i need to do it daily as some users dont log off the systems and keeps processor's running, and when the night jobstream executes it falls over... (7 Replies)
Discussion started by: esh
7 Replies
10. UNIX for Dummies Questions & Answers
I have some locked files ( locked via the Mac finder)
I have tired rm -R and rm -rdf but it doesnt delete the locked files
just says "override rw------- etc?"
type "yes" and says "operation not permitted"
is there some way to do this (or unlock the files)
Thanks (1 Reply)
Discussion started by: Aussie John
1 Replies