10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have many command is list in the variable lists,each command will run a very long time, so I want to run 5 commands at the same time with process till it complete run all the command,
lists="aa bb cc dd xx gg blabla zz ......." ( a very long list)
can some one point me the codes?
... (7 Replies)
Discussion started by: yanglei_fage
7 Replies
2. Shell Programming and Scripting
i need to run one script inside of other, and there is some terms
- main script in scheduled in cron for everyday runing every 5min
- i need to run /tmp/script2.sh after first 3 days in month
- i need to run /tmp/script2.sh from 7-9AM, main script is runining all day
all recommendations are... (1 Reply)
Discussion started by: waso
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need execute a script every 30 minutes. As might be done without using cron
Thx. (6 Replies)
Discussion started by: pepeli30
6 Replies
4. Solaris
how can I get the process start date and time?
using ps command i can get the timstamp for a process, which are started today. and only date (MMM DD) for others.
i need to get both for all the running process.
please help.
Regards,
Jagadeeswaran.K (7 Replies)
Discussion started by: Jagadeeswaran.K
7 Replies
5. Programming
hello everybody!!
i want ur help! it is urgent!!
...
pid=fork();
if(pid==0)
{
execl(a program);
exit(1);}
else if (pid>0)
{
timer(5); //(command 1)timer is a function that count up to 5sec
if(kill(pid,0)==0)kill(pid,9);//(command 2)
wait(&status);
....
}
else
perror("error");... (3 Replies)
Discussion started by: nicos
3 Replies
6. Shell Programming and Scripting
Hello guys,
Look what im doing:
I need to run a process from a SERVER1 to SERVER2, SERVER3 and SERVER4.
The shell of the process is in each SERVER (2 to 4)
So from SERVER1 i do:
for i in SERVER2 SERVER3 SERVER4
do
rsh $i '
./process.sh
'
done
The problem is: each process.sh... (2 Replies)
Discussion started by: lestat_ecuador
2 Replies
7. UNIX for Dummies Questions & Answers
How can I start FTP at assigned DATE and TIME? (6 Replies)
Discussion started by: gd2003
6 Replies
8. UNIX for Advanced & Expert Users
what is command to get same using ps with switch.
I know process id, by specify process id.
It should work on solaris and hp-ux
I will be happy if for both different commands. (2 Replies)
Discussion started by: naeem ahmad
2 Replies
9. UNIX for Dummies Questions & Answers
Hello experts,
I would like to know if there's a way to know the date and time of a process.
This is the cenarium:
I've got a script (not made by me) that gives me the processes working and the possibility to kill witch one i want.
Sometimes when the clients are working, their licences... (2 Replies)
Discussion started by: jorge.ferreira
2 Replies
10. Programming
Hello,
I am working on Sun Solaris 5.7. I am trying to read the running time of a process through a C program.
One way I am reading it is by using the command ps -<pid> -f
The other way is from the struct psinfo_t which is there under /proc/pid/psinfo.
However, the two times are... (1 Reply)
Discussion started by: hmurali
1 Replies