Summary: Hi, I am trying to create a script that will kill a process. I have a file (proc.txt) which contains the process number but I don't seem to be able t...
Summary: Hello, I need a small script to check which user and when is killing some processes in our database. This information shall be documented in a log fi...
Summary: Hi, does anyone know how to write a script (prob using pgrep/pkill) to kill processes that making more than 5 copies of ITSELF ?? Thanks PS: this is q...
Summary: ps -ef will output a list of currently running processes. Column 2 of the output is the PID. To kill off a running process, forcefully, execute the c...
Summary: I wrote this script the other day to kill processes that had the string 'testWS' in the program name for pid in `ps -ef | grep testWS | cut -c10-14` ...
Summary: I want to write a csh script to search files "Scan_ddmmyy.csv" placed in a directory. The program should look for EXCLUSIVE flags in the 6th, 7th & 8t...
Summary: Hello - I'm trying to write an expect script to first su to another user adn then run the passwd command. I created it by using autoexpect and then m...
Summary: How do I write the script without considering the case sensitivity in a file? For example, i wanted to search process id, and without caring too much ...
Summary: hello, How does a kill process work? Is it true that when a kill is sent to a process, the process to be killed can decide whether to terminate itself...
Summary: Hi, I'm trying to create a shell script to check for the existence of a file on an NT box prior to an FTP process. If it doesn't exist then the proces...
Summary: i really appreciate your concern bud... but you know something... now its not giving any error but it hangs .. and i meant by hang, it shows that its...
Summary: Sorry, the confusion was mine. Unix bases its date on GMT date plus your local time-zone setting, and I thought you wanted to convert from the basic ...
Summary: I want to write script to get a port value from property file and find whether process is running in the port using netstat -a command. It should work...
Summary: I got a script to kill all processes that have more than N copies of itself to prevent fork bombing. However, this script also kill "innocent" process...
Summary: I need a script to send an e-mail to system admin when a Solaris 7 server reboot. Please send me a example script if anyone has the script available. ...
Summary: I am look for a shell script to scan all files in the system to find out if a file contains a particular string. If yes, then write the file name, pat...
Summary: Hi, Need Help. I need a script to find the idel user using the finger command and if the idel time is more the 30 mins, then i need to check whether t...
Summary: Hello I need to write a simple batch script to delete all the files in a particular directory which are older than 24 hours. Sound simple, but to a n...
Summary: hi, I am trying to write a script to delete few lines from the existing files. The requirement is as follows: 1. I need to grep for a pattern "abc" in...
Summary: I really need help how to write this script to make it work.....This script called "Test.ksh" at host A to remote on host B (host B = ps4580-1. /usr/l...