10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to run a set of scripts, say 50 of them, parallely. I'm running these 50 scripts, from inside a script with the help of 'nohup' command.
1.The fifty scripts are stored in a separate file.
2.In a master script, i'm reading every line of the file through loop and executing... (4 Replies)
Discussion started by: SriRamKrish
Hi to all, I hope that you can help me with this...
SCO Unix 5.0.5, old mashine Pentium III x86, SCSI HDD 36.4 Gb
PANIC: exit – Cannot exec /etc/init (PID 1), status 0x00000200
Cannot dump 49055 pages to dumpdev hd (1/41) : space for only 48640 pages
Dump not completed
Safe to Power Off... (1 Reply)
Discussion started by: lakicevic
3. Shell Programming and Scripting
Can I use -ctime/-mtime to verify if a particular directory has been updated or not?
I don't care about number of days. I just want to perform some operations only if the folder is modified (or it's metadata is modified), i.e. some files are added to the directory.
This thread has a more... (1 Reply)
Discussion started by: Pramit
4. Shell Programming and Scripting
I like to check the status of sendmail and take the appropriate action based on success / failure etc.
I have gone through one of the thread where a suggestion is made to use RC for return code
Following is the code:
export... (0 Replies)
Discussion started by: tmanda
when ever i power on my sco server it give me the message:PANIC: exit - cannot exec /etc/init (PID 1), status 0*00000200. its not booting. any help?? (1 Reply)
Discussion started by: Danish
6. Shell Programming and Scripting
Is there any way to check the status of the mail sent or not.e.g
mail -s "Error Message" firstname.lastname@example.org <aaa/bbb/data.txt
Can it return a status code which will confirm the delivery of mail sent?Please suggest.
Anil (1 Reply)
Discussion started by: anil029
7. Red Hat
I want to kill TCP connections which have status as TIME_WAIT & no PID
(as per the output of the "netstat - p" command).
Is there any command/utility available to kill connections to a specific port or IP address.
The problem is that these connections don't have process ID (see... (4 Replies)
Discussion started by: Davinder31may
8. Shell Programming and Scripting
Given a PID ( suppose 1356) . How do i tell if its running or not
It would be really helpful if you could explain me ..
I got this answer from google but i am unable to understand it
Use kill() with 0 for the signal number.
There are... (4 Replies)
Discussion started by: ultimatix
9. Shell Programming and Scripting
I am fairly new to Shell Scripting.
I want a script to check if a process is up by checking the process's PID and then return a value for when it's running which would be 0. If it isn't running it should give any other value that 0.
Any Help is appreciated
Regards (9 Replies)
Discussion started by: 1nsyz1on
10. Shell Programming and Scripting
i'm just learning scripting, and have been banging my head against this
I want to check if my WAS6 java process is running and if so..echo me a messages. If not then echo me a different messages
the problem i have is I dont know how to represent a NULL return value. If i grep for a was6... (14 Replies)
Discussion started by: zeekblack