Sponsored Content
Top Forums Shell Programming and Scripting Tracking process via ps command Post 302853411 by ahamed101 on Saturday 14th of September 2013 05:41:35 AM
Old 09-14-2013
Yes, that should do.
And btw you can check the output of pgrep directly rather than checking the exit status.

--ahamed
This User Gave Thanks to ahamed101 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

process command

I'm looking for a specific command to extract the libraries linked to a specific process. Would someone get an idea ?? (2 Replies)
Discussion started by: tonoche
2 Replies

2. UNIX for Advanced & Expert Users

Command Tracking

Hi, OS: Solaris9, SPARC Is there any way I can track the commands run by users from the shell prompt? Example: Somebody is deleting files from the system. Who it is is a mystery. That person obviously does not use bash prompt so there is no history. Is there anyway I can find out who... (5 Replies)
Discussion started by: mahatma
5 Replies

3. Shell Programming and Scripting

Process ID of Command

I need a way to get the Process ID of the last command I executed in a script. Not the last background process but the last command. For example, suppose I am executing a binary inside a script like so. binary.program argument1 argument2 If this binary program runs fast, is there a... (4 Replies)
Discussion started by: scotbuff
4 Replies

4. UNIX for Advanced & Expert Users

Tracking user

dear all, I'm facing problem that is i have noticed from few days back that some body is deleting and making changes in the file from developement server where i'm working(in unix) so i want to track that who is using the server, what performancr they are doing and each every thing which r... (5 Replies)
Discussion started by: panknil
5 Replies

5. UNIX for Advanced & Expert Users

Tracking down the problem

Is there a way to track down what process is sending to a certain port? I have some thing pounding the network with requests to a multicast IP that doesn't exist. I have shut down all comms related processes and yet it is still there. Need a way to track the port or IP back to the process. Thanks... (3 Replies)
Discussion started by: mattmanuel
3 Replies

6. IP Networking

Routing by connection tracking

Hello, I have switch port, that allows only a single MAC/IP connected to it. - But, I would like to connect two hosts, without any additional private network. (No NAT.) Therefore the plan is adding a linux router doing proxy-arp with three interfaces, one for host1, one for host2 and one... (2 Replies)
Discussion started by: michas
2 Replies

7. Red Hat

Tracking Process to a particular

I've tried to see what I can find on my own but I'm coming up with goose eggs. Basically I was wondering if there was a way of querying the scheduler (or something similar) to track a process back to a particular CPU it's executing on at the time of the command. ps has a "cpu" output option but... (1 Reply)
Discussion started by: thmnetwork
1 Replies

8. Shell Programming and Scripting

Tracking users through history command

Hi folks, I have the basic query that there are 3 unix boxes having their individual access now in my team there are 4 members who are using the same credentials to access those 3 boxes through putty ssh from their windows desktop , now if i want to check which 4 members have executed the... (1 Reply)
Discussion started by: punpun66
1 Replies

9. UNIX for Advanced & Expert Users

Issue with tracking successful completion of Child process running in background

Hello All, I am using Linux. I have two scripts: inner_script.ksh main_wrapper_calling_inner.ksh Below is the code snippet of the main_wrapper_calling_inner.ksh: #!/bin/ksh ppids=() ---> Main array for process ids. fppids=() ---> array to capture failed process ids. pcnt=0 --->... (5 Replies)
Discussion started by: dmukherjee
5 Replies

10. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
crlhelper(8)															      crlhelper(8)

NAME
crlhelper - Helper program used to store-and-forward CRLs SYNOPSIS
crlhelper <semid> <parentpid> <directory> [prefix] DESCRIPTION
A helper program used by the Apache httpd mod_revocator plug-in to store-and-forward CRLs from upstream to the various Apache processes in the preform MPM. This saves each process from having to fetch the CRL itself. This is not expected to be run by end-users. The mod_revocator plug-in requires the mod_nss plug-in to also be registered with this Apache httpd process. Whenever an Apache httpd process configured to use the mod_revocator plug-in is started, this program will be automatically invoked via reference to the mod_revocator configuration file stored under /etc/httpd/conf.d/revocator.conf which contains the following default entry: # CRL Helper: # This helper program does the actual CRL retrieval # # NOTE: Located at '/usr/bin/crlhelper' prior # to 'mod_revocator-1.0.3-16'. # CRLHelper /usr/libexec/crlhelper OPTIONS
<semid> The semaphore which corresponds to the mod_revocator plug-in registered with the Apache httpd process during startup. <parentpid> The primary parent pid of the Apache httpd process into which both the mod_nss and mod_revocator plug-ins have been loaded. <directory> Since the mod_revocator plug-in depends upon the mod_nss plug-in being configured, this option specifies the destination directory of the NSS databases that will be associated with this executable specified by the following entry in the mod_nss plug-in's /etc/httpd/conf.d/nss.conf configuration file: # Server Certificate Database: # The NSS security database directory that holds the # certificates and keys. The database consists # of 3 files: cert8.db, key3.db and secmod.db. # Provide the directory that these files exist. NSSCertificateDatabase /etc/httpd/alias [prefix] Optional prefix to attach prior to the names of the NSS certificate and key databases contained in the directory referenced by the previous argument and specified by the following entry in mod_nss plug-in's /etc/httpd/conf.d/nss.conf configuration file (must be uncommented in order to be utilized): # Database Prefix: # In order to be able to store multiple NSS databases # in one directory they need unique names. This option # sets the database prefix used for cert8.db and key3.db. #NSSDBPrefix my-prefix- BUGS
Report bugs to http://bugzilla.redhat.com. AUTHORS
Rob Crittenden <rcritten@redhat.com>. COPYRIGHT
Copyright (c) 2013 Red Hat, Inc. This is licensed under the Apache License, Version 2.0 (the "License"); no one may use this file except in compliance with the License. A copy of this license is available at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITH- OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Rob Crittenden Jul 3 2013 crlhelper(8)
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy