08-08-2013
7 More Discussions You Might Find Interesting
1. Programming
question: for the below program
i just printed the value for pid, child pid and parent pid
why does it give me 6 values? i assume ppid is 28086
but can't figure out why there are 5 values printed instead of just two!
can someone comment on that!
#include<stdio.h>
#define DIM 8
int... (3 Replies)
Discussion started by: a25khan
3 Replies
2. UNIX for Dummies Questions & Answers
1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection?
2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies
3. UNIX for Dummies Questions & Answers
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
4. Programming
Hi,
I do not use the default linker, and instead us another one and pass this argument -Wl,--dynamic-linker=<path to linker> to gcc when compiling. However, what happens if the linker is not under /lib and /lib64 and I am not able to create a symlink to the linker in /lib or /lib64 due to no... (2 Replies)
Discussion started by: Shompis
2 Replies
5. Shell Programming and Scripting
Hi,
I have written a choice based shell script some thing like this:
if (y)
execute code
....
fi
else if(n)
terminating
the problem with the above scripting is it will work as far as the options are y or n.
but i want to reiterate the same code when the user inputs something else... (1 Reply)
Discussion started by: sunrexstar
1 Replies
6. What is on Your Mind?
Currently in the process of looking for a tablet. Which one is best? Thanks Benjamin Mauerberger (9 Replies)
Discussion started by: hlinks12
9 Replies
7. UNIX for Beginners Questions & Answers
Okay, I have an Asus A8NSLI board with an Athlon 64 and I dunno, maybe 8gig Ram and Windows has crashed for the last time so I've finally had enough and I'll make it a Unix machine.
I have a new 1Tera drive and I'm all set to go.
Which brand of Unix/Linux can you advise me to go for?
The... (3 Replies)
Discussion started by: abrogard
3 Replies
LEARN ABOUT CENTOS
pmsignal
PMSIGNAL(1) General Commands Manual PMSIGNAL(1)
NAME
pmsignal - send a signal to one or more processes
SYNOPSIS
$PCP_BINADM_DIR/pmsignal [-a|-l] [-n] [-s signal] [PID ...|name ...]
DESCRIPTION
pmsignal provides a cross-platform event signalling mechanism for use with tools from the Performance Co-Pilot toolkit. It can be used to
send a named signal (only HUP, USR1, TERM, and KILL are accepted). to one or more processes. The processes are specified using PID or the
binary name (with -a option).
If a signal is not specified, then the TERM signal will be sent.
On Linux and UNIX platforms, pmsignal is a simple wrapper around the kill(1) command. On Windows, the is no direct equivalent to this
mechanism, and so an alternate mechanism has been implemented - this is only honoured by PCP tools, however, not all Windows utilities.
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
SEE ALSO
kill(1), killall(1), pcp.conf(5) and pcp.env(5).
Performance Co-Pilot PCP PMSIGNAL(1)