Sponsored Content
Full Discussion: Process Information
Top Forums UNIX for Advanced & Expert Users Process Information Post 5792 by rejise on Thursday 23rd of August 2001 09:39:35 AM
Old 08-23-2001
Error Process Information

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
 

10 More Discussions You Might Find Interesting

1. Programming

Process Run time information

Hello, I am working on Sun Solaris 5.7. I am trying to read the running time of a process through a C program. One way I am reading it is by using the command ps -<pid> -f The other way is from the struct psinfo_t which is there under /proc/pid/psinfo. However, the two times are... (1 Reply)
Discussion started by: hmurali
1 Replies

2. 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

3. Shell Programming and Scripting

Report Process Information (Help me)

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

4. Shell Programming and Scripting

get process information remotely

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

5. UNIX for Dummies Questions & Answers

Process information

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

6. Shell Programming and Scripting

get Thread information from process

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

7. Programming

reading process information

Can any one tell me is there any problem in reading the /proc/#/status file for finding out the exact process name..??? (4 Replies)
Discussion started by: clintoo
4 Replies

8. Solaris

Need Information About Process

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

9. Solaris

ZFS get process I/O information

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

10. Shell Programming and Scripting

Process Scheduling Information Extraction

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
Process(3pm)						User Contributed Perl Documentation					      Process(3pm)

NAME
Proc::ProcessTable::Process - Perl process objects SYNOPSIS
$process->kill(9); $process->priority(19); $process->pgrp(500); $uid = $process->uid; ... DESCRIPTION
This is a stub module to provide OO process attribute access for Proc::ProcessTable. Proc::ProcessTable::Process objects are constructed directly by Proc::ProcessTable; there is no constructor method, only accessors. METHODS
kill Sends a signal to the process; just an aesthetic wrapper for perl's kill. Takes the signal (name or number) as an argument. Returns number of processes signalled. priority Get/set accessor; if called with a numeric argument, attempts to reset the process's priority to that number using perl's <B>setpriority function. Returns the process priority. pgrp Same as above for the process group. all other methods... are simple accessors that retrieve the process attributes for which they are named. Currently supported are: uid UID of process gid GID of process euid effective UID of process (Solaris only) egid effective GID of process (Solaris only) pid process ID ppid parent process ID spid sprod ID (IRIX only) pgrp process group sess session ID cpuid CPU ID of processor running on (IRIX only) priority priority of process ttynum tty number of process flags flags of process minflt minor page faults (Linux only) cminflt child minor page faults (Linux only) majflt major page faults (Linux only) cmajflt child major page faults (Linux only) utime user mode time (1/100s of seconds) (Linux only) stime kernel mode time (Linux only) cutime child utime (Linux only) cstime child stime (Linux only) time user + system time ctime child user + system time timensec user + system nanoseconds part (Solaris only) ctimensec child user + system nanoseconds (Solaris only) qtime cumulative cpu time (IRIX only) size virtual memory size (bytes) rss resident set size (bytes) wchan address of current system call fname file name start start time (seconds since the epoch) pctcpu percent cpu used since process started state state of process pctmem percent memory cmndline full command line of process ttydev path of process's tty clname scheduling class name (IRIX only) See the "README.osname" files in the distribution for more up-to-date information. AUTHOR
D. Urist, durist@frii.com SEE ALSO
Proc::ProcessTable.pm, perl(1). perl v5.14.2 2003-10-03 Process(3pm)
All times are GMT -4. The time now is 10:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy