Search Results

Search: Posts Made By: Abhijeet_Atti
8,745
Posted By Abhijeet_Atti
Passing argument from Java to Shell script
Hi All,

I want to pass array of argument from Java to a shell script.I can use process builder api and its exec() method to call the script,but the question is how to receive the parameter in the...
37,512
Posted By Abhijeet_Atti
hey jayan, i dont have any idea about these...
hey jayan,
i dont have any idea about these AWK.. can you explain your statement..?
37,512
Posted By Abhijeet_Atti
hey thanks!! i did the same but in multiple...
hey thanks!! i did the same but in multiple lines.. you are great:)
37,512
Posted By Abhijeet_Atti
didn't worked on my solaris date -d "+5...
didn't worked on my solaris

date -d "+5 hours"
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]

---------- Post...
37,512
Posted By Abhijeet_Atti
Adding hours to current date
Hi,

any idea how to add hours to current date in unix.

thanks in advance
2,221
Posted By Abhijeet_Atti
Thanks Methyl/Ahamed/Corona/Balajesyri !! i...
Thanks Methyl/Ahamed/Corona/Balajesyri !!
i appreciate your help.. these commands worked fine.. got what i was looking for :)
dont mind if i bug you more :P

---------- Post updated at 12:33 PM...
2,221
Posted By Abhijeet_Atti
Thanks a lot!! :)
Thanks a lot!! :)
2,221
Posted By Abhijeet_Atti
I'm using Solaris, version i'll let you know...
I'm using Solaris, version i'll let you know tomorrow...
can you guide me some "ps" or "pgrep" command that will help me getting the process which has particular PID and PPID =1.

---------- Post...
2,221
Posted By Abhijeet_Atti
There will be only one process with a particular...
There will be only one process with a particular PID whose PPID is 1 right?
I want to see that process only..
2,221
Posted By Abhijeet_Atti
yes i want to checka process with PID and its...
yes i want to checka process with PID and its PPID too
Greping it twice using Pipe will work??
2,221
Posted By Abhijeet_Atti
Thanks Ahamed!! can you help me little...
Thanks Ahamed!!

can you help me little more.. :)
suppose we have a pid= 15641 and it PPID =1
i want to check if this process is there i'll do some stuff..
now how would i check
2,221
Posted By Abhijeet_Atti
suppose i want to grep only that PIDs which have...
suppose i want to grep only that PIDs which have its parrent pid as 1, then what should i do?
2,221
Posted By Abhijeet_Atti
Thanks Balajesuri!! :) Can you throw some...
Thanks Balajesuri!! :)

Can you throw some light on the syntax too.. it would be helpfull.
2,221
Posted By Abhijeet_Atti
A question
Hi,
I'm new to unix and got struck here.Can any one help me out.My question is ..
is the command

if [ ps -ef |grep "any pid"];
then
echo "do some stuff"
fi

correct?

Thanks in...
Showing results 1 to 14 of 14

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