Is there any build in command in unix to kill all the child process for a given process ID ? If any one has script or command, please let me know.
Thanks
Sanjay (4 Replies)
Hi,
I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this.
Thanks in advance,
Amudha (7 Replies)
OS: Unix or Linux
I (only) know the pid of the process which was running earlier (say 5 hrs back) but it is not running now.
Is there a way I could find the details of that process? (atleast the name of the process). Please let me know. (2 Replies)
Hi.
I was testing some staff and wrote simple script, which only writes date to log every 15 seconds.
Like that
#1.sh
while true;do
echo `date` >> 1.log
sleep 15
done
And than i ran this process with `at -s -f 1.sh now`. And now it is running and i don't know how to catch it.
I tryed... (1 Reply)
#!/bin/sh
who
echo "\r"
echo Enter the terminal ID of the user in use:
echo "\r"
read TERM_ID
echo "\r"
ps -t $TERM_ID | grep sh
echo "\r"
echo Enter the process number to end:
echo "\r"
read PID
echo "\r"
kill -9 $PID
What this code does is ultimately grab the PID of a users sh... (6 Replies)
Hello,
I have a process a.out that runs from /a and /b
How can I get the pid of the one running from /a
ps -C /a/a.out
does not work
Thanks! (4 Replies)
Hi Friends,
How can we find the process ID of a running process using the process name. In AIX I used to use the command "ps -ef | grep <process name>", it used to give me the owner of that process, Process ID and the threads running and the name of the process in the end.
However in... (2 Replies)
hi guys
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???
sample.sh
df -a >> /tmp/size.log
and my cron to execute every minute every hour every day
* *... (5 Replies)
Hi All, Looking for a quick LINUX shell script which can continuously monitors the flle size, report the process which is creating a file greater than certain limit and also kill that process. Can someone please help me on this? (4 Replies)
Discussion started by: vasavimacherla
4 Replies
LEARN ABOUT OSF1
dxproctuner
dxproctuner(8) System Manager's Manual dxproctuner(8)NAME
dxproctuner - Manages and monitors system processes
SYNOPSIS
/usr/bin/X11/dxproctuner
OPTIONS
Process Tuner accepts all of the standard X Toolkit command line options, which are documented in the OPTIONS section in the X(1X) refer-
ence page.
DESCRIPTION
The Process Tuner application, dxproctuner, is used to monitor and manage processes.
Use Process Tuner to: Display a list of processes and their characteristics Display the processes running for yourself or all users Display
and modify process priorities Send a signal to a process
The Process Tuner application can be invoked from the CDE Application Manager from the following categories:
Application Group: System_Admin
System Admin Subgroup: MonitoringTuning
EXAMPLES
To start Process Tuner from the command line, enter: dxproctuner You can view the Process Tuner online help volume without running the
application. To open the Process Tuner help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -h
/usr/dt/appconfig/help/C/Dxproctuner.sdl
FILES
Contains user preferences that control the appearance of the application Contains the Process Tuner application executable Contains the
Process Tuner help volume Contains the default values for the application's X resources
SEE ALSO
Commands: kill(1), ps(1), X(1X)
System Calls: exit(2), kill(2), sigaction(2)
Files: signal(4)dxproctuner(8)