Summary: Here's the skinny -- I have a ksh script that does a check for an error condition every couple hours. If it finds the error, I have it break its loop...
Summary: I am looking to login to the machine using telnet, activate a process and logout so the process will keep running. I tried using NOHUP but when I disc...
Summary: I am doing a program that will calculate the 199th fibonacci number using pipelines and multiple processes for each calculation. I have figured everyt...
Summary: I'm looking for a way to detect a hung ftp process running on a unix server. I have the pattern to grep for in the process list and the way we determi...
Summary: Converting to perl may gain a little, but there is a major time savings to be gained here ... It is a common mistake to use an extra process and pipe ...
Summary: In awk, use || for the or operator and && for the and operator. awk can output to multiple files at the same time, so no need to do two passes. Since ...
Summary: I am using the following to process a huge file which takes 30min. is there a way i can minimise this time to 5 to 10 min. appreciate a fast response...
Summary: Hi all, I am working on SUN 5.8. Cobol version is - Cobol Express. cob command is run (to create the exe). It is processed very very slow. 1 exe to be...
Summary: Ricky, I'm not sure what the difference would be. pgrep takes any program name as an argument, but you could try using: ps -ef | grep $PROCESS | grep...
Summary: Hello, I needed a help please... I have an application which launches process. For this i am using fork and execv method calls. By doing this my launc...
Summary: If the number is always the first thing in the line, the following should return the appropriate rule: grep "^$ruleNum" rules I'm assuming that $ruleN...
Summary: I don't know if this is an Oracle or an Unix problem so forgive me if this question should not be in this forum. I need to remove Oracle-datafiles. It...
Summary: You could try using a co-process. These let you run a command in background that remains dedicated to the process that started it, and you can send & ...
Summary: I'm not a strong script writer, but I need one that I can use to list running processes and ask me which one I want to kill. If anyone has something l...
Summary: You can use a two-step process where the first step removes from the beginning and the second step removes from the end: name1=${userid#*\(} name2=${n...
Summary: Thanks, I'll give that a look. What I'm trying to do actually is tailor the program I have to monitor selected ports on our production machine that ...
Summary: use ifconfig -a That will give you the interfaces, the IP's assigned to them, netmasks and so on. You can also use top to check processes and see how ...
Summary: good effort, however, IMO, its too messy. You can use just one awk process to do your stuff. There is no need to use too much unix pipes. ls -1l *ord...
Summary: I'm assuming you are not talking about arrays. The shell does not support multi-dimensional arrays. But you can create shell variables using the eva...
Summary: Hi I'm using setpri to make processes run in a fixed priority. Still, when running the ps command I can see some of them change their priority (not ni...
Summary: hi everyone, 1)Please help. I am working in an HP machine using Unix 11.0 and have a User Interface that monitors about 40 independent processes rangi...
Summary: Hi, I am using HP-UX 11, I tried to run 20 instances of a java program which takes one command line argument (Integer , which is the Order No in ...