10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can i ceck as shellscript, if a other shellscript has been started?
The other script can bee started by a other user.
The task will not run twice (5 Replies)
Discussion started by: Linuxmann
5 Replies
2. AIX
I have to check whether AIX fills physical memory pages by zeros when they are given for a new process (or may be when they are freed from an address space, but it's hardly probable).
In other words when a process gets a new memory page, this one must be cleaned.
I've solved this issue for... (2 Replies)
Discussion started by: sokolovm
2 Replies
3. AIX
How can I from within a script, find out if that script was started using 'sudo' and by a valid soduer ? (1 Reply)
Discussion started by: Browser_ice
1 Replies
4. Shell Programming and Scripting
Hi,
I have a strange problem.
In my shell script, i am startting another program (a c++ exe) with nohup .
I am getting the process id of this started process with using $!
I am writing this process id into another file so that i can keep checking for this process ids to check whether the... (2 Replies)
Discussion started by: parvathi_rd
2 Replies
5. Shell Programming and Scripting
I want to check process status at regular interval of time ...
so i ha wirtten this BUT its not working when i placed this peace of code in .sh ..
please help me out
#!/bin/sh
w = ps -ef|grep processname | wc - l
echo $w
if ; then
Banner "Proceesname Problem"
else
Banner " Running... (5 Replies)
Discussion started by: srinivasvandana
5 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I wanted a write a script which will start executing whenever a particular process will starts running in a background.
Is there is any way in Unix if a directory contents changed then a signal/Interrupt will generated and by taking status of that interrupt I can execute some scripts.... (11 Replies)
Discussion started by: zing_foru
11 Replies
7. UNIX for Dummies Questions & Answers
Please can someone describe what causes undesired process startup on system console.
ps -ef output is like:
root 1763 1 0 16:22:24 console 0:00 /bin/sh /usr/System........
process is blocking system console for any access (2 Replies)
Discussion started by: zverzak
2 Replies
8. Programming
Hi,
When i m trying to run below code,its entering into wait stage.
output: In parent
pid=2134 // some random value assigned to child process
parent waiting.....
and then it keeps on waiting for child to get terminate
Y this child is not getting... (5 Replies)
Discussion started by: Crab
5 Replies
9. UNIX for Dummies Questions & Answers
i have process that was started few days ago , is there way to know by its id how long it was alive in the system ?
Thanks (2 Replies)
Discussion started by: umen
2 Replies
10. Shell Programming and Scripting
I am having a problem getting the PID of a process I start in the background is a csh.
In tcsh and sh it's simple
$! give it to you
But in csh this just returns
Variable syntax
From the man page it should work but it doesn't????
Any help. (2 Replies)
Discussion started by: stilllooking
2 Replies