01-28-2007
Dears
it is the same process respawned again with a different process ID with the same PPID which is for "/usr/dt/bin/dtsession" when greping for that PPID.
also i searched the inittab but i could not find anf entry for this PID or even it's PPID.
please advice.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have a situation, where I have 10 indivudal processess started by similar instance.I say similar instance because each of them being started as a new thread:
Say I've following unix process running
process1_ADAP
process2_ADAP
process3_ADAP
Current scenario:
Now I have SHUTDOWN... (5 Replies)
Discussion started by: braindrain
5 Replies
2. Shell Programming and Scripting
Hi there,
I have written a script to check daily process,
each script is in a different directory.
Now the first process is running fine, when it goes to the next directory the process doesn't executes.
cd result/logs
ref=month_1888.log
echo $ref>> $logfile
cd /max/tot/first... (3 Replies)
Discussion started by: NehaKrish
3 Replies
3. Shell Programming and Scripting
I have this "process keepalive" script:
#!/bin/bash
PIDFILE=/tmp/php.pid
PHPSCRIPT=/home/www/mydomain.com/subdomains/www/parser.php
echo 'Checking php process from PID file'
if ; then
PID=`cat $PIDFILE`
if ps ax | grep -v grep | grep $PID > /dev/null
then
echo "php process still... (4 Replies)
Discussion started by: LukasB
4 Replies
4. UNIX for Dummies Questions & Answers
I have the following log file running since yesterday and its consuming so much of the disk space.
-rw-rw-r-- 1 dev dba 4543237120 Nov 10 09:00 load_run_file1_0.1111091224.lg
How do i kill this process. I don't have any idea of stopping this. Any help would be really appreciated.
... (3 Replies)
Discussion started by: bobby1015
3 Replies
5. Shell Programming and Scripting
Hi all,
I have tried the below code to execute.
#! /bin/bash
date1=`date -d "today 08:00:00" +%s`
date2=`date -d "today 08:01:00" +%s`
path=/home/user01/red/IDC/sample
cd $path
java Cspsamp 111.19.5.172 7025 rd1 rd1 "5022=Query|5026=109378|4=627|5=E:VD|5042=$date1|5049=$date2"... (5 Replies)
Discussion started by: aish11
5 Replies
6. Shell Programming and Scripting
Hi, I have a parallelized Mathematica program that spans across 8 MathKernels processes running at 100% and one MathKernel (highlighted in blue) running at < 10% that controls the other 8. They look like this on the cluster:
https://www.unix.com/attachment.php?attachmentid=5111&stc=1&d=1381245618... (2 Replies)
Discussion started by: giovform
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus,
I am debugging a script. it loops filelist. since the list a very long. when debugging, I only can see the last a few lines. is there any way to stop debuger in the mid of process.
the command I used for debugging is:
ksh -x scriptName
Thanks in advance (7 Replies)
Discussion started by: ken6503
7 Replies
8. Red Hat
This issue could happen to any other service but in this case its commssioning Postfix - it seems i can't stop postfix as the PID relates to another service - i've delete the 'master.lock' but to no available - any ideas, memeory commands etc ?
thanks in advance
ps. the serve is in Production so... (2 Replies)
Discussion started by: stevie_velvet
2 Replies
LEARN ABOUT REDHAT
drv_getparm
drv_getparm(9F) Kernel Functions for Drivers drv_getparm(9F)
NAME
drv_getparm - retrieve kernel state information
SYNOPSIS
#include <sys/ddi.h>
int drv_getparm(unsigned int parm, void *value_p);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
parm The kernel parameter to be obtained. Possible values are:
"small and bold"ReadLTthe value of lbolt. lbolt is a clock_t that is unconditionally incremented by one at each clock tick. No special
treatment is applied when this value overflows the maximum value of the signed integral type clock_t. When this occurs, its
value will be negative, and its magnitude will be decreasing until it again passes zero. It can therefore not be relied
upon to provide an indication of the amount of time that passes since the last system reboot, nor should it be used to mark
an absolute time in the system. Only the difference between two measurements of lbolt is significant. It is used in this
way inside the system kernel for timing purposes.
PPGRP Read the process group identification number. This number determines which processes should receive a HANGUP or BREAK
signal when detected by a driver.
UPROCP Read the process table token value.
PPID Read process identification number.
PSID Read process session identification number.
TIME Read time in seconds.
UCRED Return a pointer to the caller's credential structure.
value_p A pointer to the data space in which the value of the parameter is to be copied.
DESCRIPTION
Since the release of the Solaris 2.6 operating environment, the drv_getparm() function has been replaced by ddi_get_lbolt(9F),
ddi_get_time(9F), and ddi_get_pid(9F).
drv_getparm() function verifies that parm corresponds to a kernel parameter that may be read. If the value of parm does not correspond
to a parameter or corresponds to a parameter that may not be read, -1 is returned. Otherwise, the value of the parameter is stored in the
data space pointed to by value_p.
drv_getparm() does not explicitly check to see whether the device has the appropriate context when the function is called and the function
does not check for correct alignment in the data space pointed to by value_p. It is the responsibility of the driver writer to use this
function only when it is appropriate to do so and to correctly declare the data space needed by the driver.
RETURN VALUES
drv_getparm() returns 0 to indicate success, -1 to indicate failure. The value stored in the space pointed to by value_p is the value of
the parameter if 0 is returned, or undefined if -1 is returned. -1 is returned if you specify a value other than LBOLT, PPGRP, PPID,
PSID, TIME, UCRED, or UPROCP. Always check the return code when using this function.
CONTEXT
drv_getparm() can be called from user context only when using PPGRP, PPID, PSID, UCRED, or UPROCP. It can be called from user or interrupt
context when using the LBOLT or TIME argument.
SEE ALSO
ddi_get_lbolt(9F), ddi_get_pid(9F), ddi_get_time(9F), buf(9S)
Writing Device Drivers
SunOS 5.10 24 Jun 1997 drv_getparm(9F)