04-16-2020
Have you checked logs from those processes (ksh shell scripts)? One cause is when the free memory list becomes exhausted. This can be the result of a device wait. :ike a disk wait that does not get resolved because the disk was physically removed or went offline - like a cdrom for example. I've seen that on older SunOS machines - Solaris 9
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have been trying to come up with a script to run as a cron job to kill any processes that have PPID of 1. I have created a file that contains the PID and the PPID. How can I read this file and then execute a kill on any PID where PPID is 1. The file looks like this:
4904 1
4455 1... (5 Replies)
Discussion started by: lbaysdon
5 Replies
2. Shell Programming and Scripting
i have a very short file that has in it a line for a find command.
now, when i run this script and I kill the script later, using the ps -ef | grep scriptname. i noticed kill -9 kills the script itself but does not kill the internal find command that it gave birth to.
say theres a file... (0 Replies)
Discussion started by: Terrible
0 Replies
3. Shell Programming and Scripting
Hi guys,
I am new to Unix shell scripting. Can anyone of you tell me how to kill all the processes at a time for a particular user?(No listing the process ID of each process in the kill -9 command).
Thanks in Advance,
-Hary (5 Replies)
Discussion started by: tadi18
5 Replies
4. Solaris
how to kill the processes of aperticular user?
because i have nearly 25000 process are there for perticular user. i need to kill.
Please provide the information?
Regards,
Rajesh (3 Replies)
Discussion started by: pmrajesh21
3 Replies
5. HP-UX
Hi,
I read a set of processes with:
ps -eaf|grep oracleTRLV
The result is:
oracle 23253 1 0 15:14:11 ? 0:00 oracleTRLV (LOCAL=NO)
oracle 23301 1 0 15:15:07 ? 0:00 oracleTRLV (LOCAL=NO)
oracle 22914 1 0 15:11:19 ? 0:00 oracleTRLV (LOCAL=NO)
How to I kill the "oracleTRLV" ones? Is there... (17 Replies)
Discussion started by: NicoMan
17 Replies
6. Solaris
Hi,
How to kill the processes running under ptree ?
I am noticing lot of processes running under ptree with ssh ? I tried to kill with -9 option which is not working ?
Thanks,
Radhika. (2 Replies)
Discussion started by: radhirk
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am writing korn shell script. My requirement is, i have to kill the parent process and all of its child processes. Can some one please help me on this?
Thanks in advance for your help.. (1 Reply)
Discussion started by: Sheethal
1 Replies
8. Shell Programming and Scripting
for i in 'ps -f | grep textedit'
do
kill $i
done
I wrote this but it wont work.
I am trying to find processes and kill them.
Any help would be welcome. (1 Reply)
Discussion started by: hawaiifiver
1 Replies
9. Shell Programming and Scripting
Hi there, i've been searching all over and i thought i had understood the way i should go to kill all the processes related to a user. But i'm getting more confused then i was.
By lunch time i have to make a database backup, and for that all the users shoul logout. The problem is that many users... (4 Replies)
Discussion started by: vascobrito
4 Replies
10. UNIX for Advanced & Expert Users
I am trying to kill a list of processes. I have found these two ways to list a group of process id's on a single line. How would I go about killing all of these processes all on one line?
$ ps aux | grep 6243 | grep "a.out" | awk '{printf "%s ",$2}'ps aux | grep 6243 | grep "a.out" | awk... (8 Replies)
Discussion started by: cokedude
8 Replies
LEARN ABOUT NETBSD
iostat
IOSTAT(8) BSD System Manager's Manual IOSTAT(8)
NAME
iostat -- report I/O statistics
SYNOPSIS
iostat [-CdDITx] [-c count] [-M core] [-N system] [-w wait] [drives]
DESCRIPTION
iostat displays kernel I/O statistics on terminal, disk and CPU operations. By default, iostat displays one line of statistics averaged over
the machine's run time. The use of -c presents successive lines averaged over the wait period. The -I option causes iostat to print raw,
unaveraged values.
Only the last disk option specified (-d, -D, or -x) is used.
The options are as follows:
-c count Repeat the display count times. Unless the -I flag is in effect, the first display is for the time since a reboot and each sub-
sequent report is for the time period since the last display. If no wait interval is specified, the default is 1 second.
-C Show CPU statistics. This is enabled by default unless the -d, -D, -T, or -x flags are used.
-d Show disk statistics. This is the default. Displays kilobytes per transfer, number of transfers, and megabytes transferred.
Use of this flag disables display of CPU and tty statistics.
-D Show alternative disk statistics. Displays kilobytes transferred, number of transfers, and time spent in transfers. Use of this
flag disables the default display.
-I Show the running total values, rather than an average.
-M core Extract values associated with the name list from the specified core instead of the default ``/dev/mem''.
-N system Extract the name list from the specified system instead of the default ``/netbsd''.
-T Show tty statistics. This is enabled by default unless the -C, -d, or -D flags are used.
-w wait Pause wait seconds between each display. If no repeat count is specified, the default is infinity.
-x Show extended disk statistics. Each disk is displayed on a line of its own with all available statistics. This option overrides
all other display options, and all disks are displayed unless specific disks are provided as arguments. Additionally, separate
read and write statistics are displayed.
iostat displays its information in the following format:
tty
tin characters read from terminals
tout characters written to terminals
disks
Disk operations. The header of the field is the disk name and unit number. If more than four disk drives are configured in the sys-
tem, iostat displays only the first four drives. To force iostat to display specific drives, their names may be supplied on the com-
mand line.
KB/t Kilobytes transferred per disk transfer
t/s transfers per second
MB/s Megabytes transferred per second
The alternative display format, (selected with -D), presents the following values.
KB Kilobytes transferred
xfr Disk transfers
time Seconds spent in disk activity
cpu
us % of CPU time in user mode
ni % of CPU time in user mode running niced processes
sy % of CPU time in system mode
id % of CPU time in idle mode
FILES
/netbsd Default kernel namelist.
/dev/mem Default memory file.
SEE ALSO
fstat(1), netstat(1), nfsstat(1), ps(1), systat(1), vmstat(1), pstat(8)
The sections starting with ``Interpreting system activity'' in Installing and Operating 4.3BSD.
HISTORY
iostat appeared in Version 6 AT&T UNIX. The -x option was added in NetBSD 1.4.
BSD
March 1, 2003 BSD