10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to check whether a particular process has started at 10:00a.m or not.
I can check process by ps -fu but dont know how to check it with respect to time. Could anyone help me with this?
---------- Post updated at 11:14 AM ---------- Previous update was at 10:52 AM ----------
can i use... (9 Replies)
Discussion started by: kishore kumar
9 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I am facing problem in launching a application with the help of a daemon process. Actually the application is based on command line that reads various commands for controlling the application from the console and accordingly executes those commands. The application always interact with... (3 Replies)
Discussion started by: gopallinux
3 Replies
3. Shell Programming and Scripting
Hello unix forum !
how do i get rid of this while thing ? if started some where by crontab for example.
while ; do ./script > /dev/null ; done &
or for example if in terminal
while ; do ./script ; done &
and the script is outputing and I can't write commands. other... (2 Replies)
Discussion started by: max_475
2 Replies
4. Red Hat
Hi All,
Hope this is right area to ask this question.
I have a shell script (bash) "wrapper.sh", which contains few simple shell command
which executes a "server.sh" (conatins code to execute a java server) as a daemon.
Now what I want to kill this "server.sh" so that the server should... (2 Replies)
Discussion started by: jw_amp
2 Replies
5. 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
6. Shell Programming and Scripting
When I run the following script I get the following error message whcih I would like to suppress when the kill is issued:
./kill.sh: line 13: 31854 Killed nc -l -p 12345
Script:
#!/bin/bash
echo running nc in the background
nc -l -p 12345 &
PID=$!
echo nc pid: $PID
... (1 Reply)
Discussion started by: cmarkle
1 Replies
7. 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
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