Obtaining A Process ID (PID)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Obtaining A Process ID (PID)
# 8  
Old 11-05-2001
Thanks wizard. Welcome to the forums. Thanks for your excellent PID summary.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to get process name from PID?

HI, i used ps -ef | grep 3539052 | grep -v grep and i got a output like ths root 3539052 3407918 0 May 07 - 709:31 /usr/sbin/syslogd but what i need is instead of full path /usr/sbin/syslogd i want only the process name that is 'syslogd' here. (3 Replies)
Discussion started by: sumanthupar
3 Replies

2. AIX

Swapper Process #PID more than 1

Hi I would like to know more about swapper process.. I knew that swapper is the first process with PID#0, used to perform process swap operations. It used to swap entire processes But sometimes I find swapper process with PID#264 So my doubt is how many swapper process can exist in a system?... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies

3. Programming

[C] Process pid by name

Hi I use linux OS. I've already written a function that allow me to get the process name by pid. (searching in /proc). Now I'd like to perform the inverse task.I mean get the process pid by its name. I could write a function that search in every folder in /proc for the process name, but i... (2 Replies)
Discussion started by: Dedalus
2 Replies

4. Shell Programming and Scripting

getting pid from a process

Hi all, i was able to redirect pid of process to a file in the following way ps aux|awk '$11 == "/Applications/ProjectX/DServer" >> /Applications/ProjectX/DServer.pid it works fine but if one folder name caontains space its not working like below ps aux|awk '$11 == "/Applications/Project\... (1 Reply)
Discussion started by: kirankumars
1 Replies

5. Shell Programming and Scripting

Get an PID of particular process

Hi I have written a shell script to find and kill the particular process. Here in shell script i have written the code like cnt = $(ps -ef | grep Shree) echo $cnt I am getting the output root 2326 2317 0 14:39:46 pts/1 0:28 Shree -f fdc.fbconf FDCapp.fbapp Here I want to... (2 Replies)
Discussion started by: Shreedhar Naik
2 Replies

6. UNIX for Dummies Questions & Answers

Need to get pid of a process and have to store the pid in a variable

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)
Discussion started by: samudha
7 Replies

7. Linux

reserving process id (PID)

I am trying to submit a background process on a remote machine using ssh -f remote-host "sh my-process.sh" Normally the process will be submitted and control returned to the local machine (even when the process is running on the remote machine) I want to get the process id of the submitted... (4 Replies)
Discussion started by: superuser84
4 Replies

8. Solaris

getting pid of process

hi all, Is there a simple script anyone could through out to me, to find the pid of a process given the name. I actually need to bind this pid to a processor set. I would probably put these comamns in a shell script which would have. a) kick start the executable b) get the pid c) bind it to a... (10 Replies)
Discussion started by: Naanu
10 Replies

9. Shell Programming and Scripting

Process PID

Hi Friends :p I have a little problem please help me out. I have a Unix based OS Sun Server having oracle 8i as database on it. The server has one client with windows OS. The client uses developer 2000 (GUI) to run query and run processes. I want to know how can I know the PID of a process run... (3 Replies)
Discussion started by: vanand420
3 Replies

10. Programming

Obtaining Process information on AIX

I have written a program to collect some performance metrics on and AIX box, but I'm having difficultly getting the process information. I'm lead to believe that I'm not getting the correct information because I'm trying to run the program on AIX 5.1 (5100-03), but I'm not convinced as the... (0 Replies)
Discussion started by: StuBob
0 Replies
Login or Register to Ask a Question
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)