First step - from the OS, issue the following command:
The second column is the PID.
You can also run "top" and check the column "PID"
second step - run the following query in the database as user SYSTEM:
The column SPID in this query is equal to PID in the OS.
From this query you'll detect which program/user belong to the OS PID.
Hi,
Can anybody solve this query?
A parent process forks 2 child processes. How does the child process know it's PID without the parent process sending it.
Apart from the "ps-ef" option, what other options are there if any? (2 Replies)
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)
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)
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)
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)
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)
Hi All,
I searched other threads and could not find any relevant post about this.
I searched for process 0 in SUN OS and could find the sched/swapper process listed.
root 0 0 0 Apr 25 ? 0:06 sched
but i couldnt not find the swapper process (PID 0) in AIX. Is that... (4 Replies)
Hi all.
I need to get detailed information about a PID.
I have an app called Reflection X and it shows many things like Total CPU percent, User CPU (Nice) percent, FS Reads, etc.
My question is how can I get all that information on console?
Is there an archive with the detailed... (9 Replies)
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)
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
LEARN ABOUT DEBIAN
shevek_server_connection
shevek::server< client, serverdata >::connection(3) Library Functions Manual shevek::server< client, serverdata >::connection(3)NAME
shevek::server< client, serverdata >::connection -
Base of the client class which is implemented by the calling program.
SYNOPSIS
#include <server.hh>
Inherits shevek::refbase.
Public Member Functions
void continue_reading ()
This is called after in->unread (), to resume accepting data from this connection.
~connection ()
Destructor.
Public Attributes
Glib::RefPtr< shevek::fd > in
The input socket. The client can stop reading from this connection by calling in->unread ().
Glib::RefPtr< shevek::fd > out
The output socket. This is used to send data to the connection.
Protected Member Functions
connection ()
The client class can construct this object with its create function.
Glib::RefPtr< server< client,
serverdata > > get_server ()"
Access to the server object which hosts this client.
void disconnect ()
This can be called by the client object to close this connection.
Friends
class server< client, serverdata >
Detailed Description
template<typename client, typename serverdata>struct shevek::server< client, serverdata >::connection
Base of the client class which is implemented by the calling program.
A client object is created for every connection which is accepted. This class handles server administration and provides access to members
from the client class.
Author
Generated automatically by Doxygen for libshevek from the source code.
libshevek Fri May 11 2012 shevek::server< client, serverdata >::connection(3)