Search Results

Search: Posts Made By: NicoMan
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
Crontab
Thank you so much! Looks like everything works.
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
Cron
Ups ... stupid question: how do I actually add the line?

Sorry for this, I'm a .net developer:(
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
Cron
10,25,40,55 * * * * /bin/nnkill

The above should work.

Do I have to leave a space after each comma?
I read somewhere that if crontab file is not formated properly it will be deleted. Is this...
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
Cron
Ups ... I realized the logic:

10,25,40,55 * * * * /bin/nnkill
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
crontab
Should run every 15 minutes 24 hours a day, 7 days per week.

15 * * * * /bin/nnkill
Forum: HP-UX 03-16-2009
10
10,035
Posted By NicoMan
Crontab
Is it possible to add a line to a crontab to so that a program will run every 15 minutes? how will this line look?

Thank you.
11,141
Posted By NicoMan
Shell
They say that "if you want to do something do it by yourself" :) ... so I went to the book stoor in the weekend and I bought a book. I did some reading in the weekend and I made the program this...
11,141
Posted By NicoMan
shell
Thank you.
11,141
Posted By NicoMan
shell
Praven,
there is an error message:
ps: illegal option -- o
usage: ps [-edaflPx] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup]

:(
11,141
Posted By NicoMan
Shell
I'm on HP-Unix 10 and the above doesn't work.

Stupid questions:
1) How do I assign a value to a variable in hp-unix?
2) How do I concatenate 2 variables in hp-unix?
3) How do I write an "if"...
11,141
Posted By NicoMan
Shell
Chris, I don't see in the script how do you build the number of minutes.

Let me explain what I want to do: I have an application that creates processes in HP-Unix that for some reason don't...
11,141
Posted By NicoMan
Shell programming in HP-Unix
I have to build the "12" dinamically (number of minutes) and to check if what's in the string at that position is greater then this ("12" in this case) number of minutes.
11,141
Posted By NicoMan
Extract character from string
ps -eaf | grep “oracleTRLV (LOCAL=NO)” | while read ora_proc
do
echo $ora_proc
done

I would like to modify the above shell so that if character 13 and 14 equal "12" to do something.
...
Forum: HP-UX 03-10-2009
10,968
Posted By NicoMan
HP-Unix
1) What book: Shell Scripting Recipes: A Problem-Solution Approach (http://www.amazon.ca/gp/product/1590594711) by Chris F.A. Johnson

2) Thank you for the link, I will take a look.

Thank you.
Forum: HP-UX 03-04-2009
10,968
Posted By NicoMan
Processes
1) I bought the book.

2) I was told that "vxfsd" is the program/process that suppose to clean automatically old processes in HP-Unix. Is this true?
The reason I'm asking is because after I...
Forum: HP-UX 03-04-2009
10,968
Posted By NicoMan
Shell book
Do you know a good shell programming book?

Thank you!
Forum: HP-UX 03-04-2009
10,968
Posted By NicoMan
Shell programming in HP-Unix
Is there a possibility to insert into the program a conditional kill? Let me explain:
1) The result of ps -eaf|grep oracleTRLV is:
oracle 17528 1 0 07:58:07 ? 0:01 oracleTRLV (LOCAL=NO)
oracle...
Forum: HP-UX 03-03-2009
10,968
Posted By NicoMan
Thank you so much!!!
Thank you so much!!!
Forum: HP-UX 03-03-2009
10,968
Posted By NicoMan
Run the code every 2 hours
How do I run the code every 2 hours automatically?

Thank you!
Forum: HP-UX 03-03-2009
10,968
Posted By NicoMan
Beautiful!!!!
Beautiful ... thank you so much!!!
Forum: HP-UX 03-03-2009
10,968
Posted By NicoMan
Stupid question
:(Stupid question: how do I run the code provided?
Forum: HP-UX 03-03-2009
10,968
Posted By NicoMan
Read/kill processes
Hi,
I read a set of processes with:
ps -eaf|grep oracleTRLV

The result is:
oracle 23253 1 0 15:14:11 ? 0:00 oracleTRLV (LOCAL=NO)
oracle 23301 1 0 15:15:07 ? 0:00 oracleTRLV (LOCAL=NO)...
Forum: HP-UX 02-25-2009
5,929
Posted By NicoMan
.net
HP-Unix version 10.

root:/ nestat -a | grep FIN_WAIT_2
sh: nestat: not found.
Forum: HP-UX 02-25-2009
5,929
Posted By NicoMan
.net
VB.net/C# runs on Windows 200 Advanced Server.

Thank you for your help!
Forum: HP-UX 02-25-2009
5,929
Posted By NicoMan
.net
The problem is that Oracle can work with X (by default X = 200) number of processes and after that it crashes.

The question that I have is this: how is it possible for HP-Unix sometimes to close...
Showing results 1 to 25 of 53

 
All times are GMT -4. The time now is 09:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy