01-16-2009
reading process info
Quote:
Originally Posted by
jim mcnamara
What is your idea of a process name? the executable image name it is running, the user name?
The executable image name
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
If we have a process p1 running and then p2 attempts to shutdown p1. Is there a means for p1 to know who has requested him to shutdown
Thanks and regards,
Reji (1 Reply)
Discussion started by: rejise
1 Replies
2. Shell Programming and Scripting
I need a script to record top 5 processes to a file. I need the timestamp, cpu and memory utilization along with the process ID.
Thanks in advance! (1 Reply)
Discussion started by: jabcd
1 Replies
3. Shell Programming and Scripting
Hello,
We have a domain where instances attached to it are in multiple machines. Is there any way that I can get the process information of the domain of a secondary server from the primary.
ssh authentication is enabled on the functional ID and if I scsu to that ID and do the ssh: $ssh machine2... (0 Replies)
Discussion started by: chiru_h
0 Replies
4. UNIX for Dummies Questions & Answers
What sort of statistical information related to a running process can we retrieve using commands? For example, we can get the process id, memory usage and running time of a process using the commands ps and ipcs . Can we get any more information about a running process?
Please list them. Also... (4 Replies)
Discussion started by: fermisoft
4 Replies
5. Shell Programming and Scripting
Hello all
im trying to build small script in tcsh that will monitor some process
that are making some api calles to some server .
first of all im trying to find way to see how many threads each process is using , and else how can i print each
Thread id .
can it be done ? ( using sunOs ) (2 Replies)
Discussion started by: umen
2 Replies
6. Solaris
Hi All:-
1- i am working in unix system that is runnign some script
2- this script put the log file into specific folder
3- the log does not include the start time of the script and the end time
What i need to know what is the duration time for each request
Note:-
I don't any thing... (3 Replies)
Discussion started by: dellsh
3 Replies
7. Solaris
Hi Guys
Is it possible to display which process generates the most i/o on my zpool?
With # zpool iostst 3 and iostat i just see the general i/o but not the i/o on the process level.
thx in advance,
Fry (0 Replies)
Discussion started by: fryzh
0 Replies
8. Shell Programming and Scripting
Hey gyuz,
I wanna calculate the number of mapped reads of a bam file in a region of interest. I used this code to do so :
samtools view input.bam chrname:region1 > region1.txt
This will store all the reads from given bam file within the region of interest in region1.txt
Now I have... (5 Replies)
Discussion started by: @man
5 Replies
9. Shell Programming and Scripting
I want to extract the process having highest utilization on each processor core
and then output its information (PID etc.) to a file. How can I do it by using either top or ps command?
Thanks. (1 Reply)
Discussion started by: Vaibhavs1985
1 Replies
GCORE(1) General Commands Manual GCORE(1)
NAME
gcore - get core image of running process
SYNOPSIS
gcore [-s][-c core] pid
DESCRIPTION
gcore creates a core image of each specified process, suitable for use with adb(1). By default the core image is written to the file
<pid>.core.
The options are:
-c Write the core file to the specified file instead of <pid>.core.
-s Stop the process while creating the core image and resume it when done. This makes sure that the core dump will be in a consistent
state. The process is resumed even if it was already stopped. Of course, you can obtain the same result by manually stopping the
process with kill(1).
The core image name was changed from core.<pid> to <pid>.core to prevent matching names like core.h and core.c when using programs such as
find(1).
FILES
<process-id>.core The core image.
BUGS
If gcore encounters an error while creating the core image and the -s option was used the process will remain stopped.
Swapped out processes and system processes (the swapper) may not be gcore'd.
4.2 Berkeley Distribution April 15, 1994 GCORE(1)