11-27-2008
To identify process
i want a command to display all the process running for partical user and in all process i want to see only particular process details.. pls suggest comand like ps -ef
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to write a script to monitor user processes that revert to parent process id = 1
I can do this with a grep " 1 " or awk and evaluation.
but
Is there a switch on the ps command or another command to specify parent id on proccesses?
I tried ps with the -p ppid=nnnnn but it... (6 Replies)
Discussion started by: MizzGail
6 Replies
2. Shell Programming and Scripting
Does anyone know a shell command that identifies the functions from a C file? Thank you (7 Replies)
Discussion started by: xinfinity
7 Replies
3. Solaris
I've been seeing outgoing TCP connections on a SPARC Solaris 10 box, that look like these in the output of netstat:
xxxx.46396 ipXXXXXX.speed.planet.nl.telnet 8192 0 49664 0 TIME_WAIT
They come and go and sometimes last for hours.
I am looking for owners of active,... (1 Reply)
Discussion started by: cozzamara
1 Replies
4. UNIX for Advanced & Expert Users
Guys,
Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'.
can you help me in this?
-Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies
5. Shell Programming and Scripting
I have this shell script and in case the sybase process is been killed how can identify whether the process was killed or not, as the error code always returns 0.
#!/bin/sh
isql -S SERVER -U user -P pass<<TOP
select * from tableName
go
TOP
echo $? (2 Replies)
Discussion started by: dinjo_jo
2 Replies
6. HP-UX
Hi,
I'm seeing the error vmunix: file: table is full in syslog.log.
Although changing the value of the kernel parameter nfile would make this error go away, how would I identify which process/application in the server is triggering this error? The server is a HP-UX B.11.11.
Thanks in advance! (1 Reply)
Discussion started by: enchogas
1 Replies
7. UNIX for Dummies Questions & Answers
if a particular log file logs different processes with their process ids and their paths and one of the process in particular is getting hung up while trying to perform a loop, how to identify which process is that and kill it (1 Reply)
Discussion started by: praveenveerla
1 Replies
8. UNIX for Dummies Questions & Answers
Hi, how do you identify if a java process is running in Unix? So for example if I have 8 JVM's running but I want to make sure one of them has definately stopped? (1 Reply)
Discussion started by: nosuchluck
1 Replies
9. UNIX for Dummies Questions & Answers
Hey guys. So, I've got an issue on my Debian box.
Problem is I ran out of disc space as a process (?) has been creating millions of folders in one place which has led to me having 0 bytes of free space and started messing with my ability to get online, I believe this is to do with INODES?
I... (3 Replies)
Discussion started by: 3therk1ll
3 Replies
10. Solaris
Hi,
I have a Solaris 10 system, which appears to be sending out LDAP queries to a server that is due to be decomissioned.
Is there a way to identify which process is sending out these queries? The problem is that the local port constantly changes, and the connections do not stay open long... (3 Replies)
Discussion started by: badoshi
3 Replies
getpgid(2) System Calls Manual getpgid(2)
NAME
getpgid - Gets process group ID
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
pid_t getpgid( pid_t pid);
PARAMETERS
Specifies the process ID of the target process; zero implies the calling process.
DESCRIPTION
The getpgid() function returns the process group ID of the process specified by the process ID pid. Specifying a pid of 0 (zero) returns
the process group ID of the calling process.
RETURN VALUES
The getpgid() function returns the process group ID of the process specified. If there was an error, a value of -1 is returned and errno
is set to indicate the error.
ERRORS
If any of the following conditions occurs, the getpgid() function sets errno to the corresponding value: The specified process is not in
the same session as the calling process, and the calling process lacks sufficient privilege to read the specified process. As released,
Tru64 UNIX does not check the privilege. No process has been found that has a process ID identical to that specified by the pid parameter.
RELATED INFORMATION
Functions: exec(2), fork(2), setpgid(2) delim off
getpgid(2)