6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
im looking for a portable way to get the PID of the script that is running, and to get every other PIDs that are spawned from it.
and by ever other PIDs, i presume, that would be "child processes".
however, i want to shy away from using any command that is not available on every single unix... (1 Reply)
Discussion started by: SkySmart
1 Replies
2. Shell Programming and Scripting
Hi there !!!
I am writing a script to kill the pids on different linux boxes :cool:
the output of my command gives the pids running on that box, but how can I kill all the pids without looping? :confused:
Code:
ssh $i ps -fu $USER | grep ManServer | grep -v grep | awk '{print $2}' | kill
... (4 Replies)
Discussion started by: prany_cool
4 Replies
3. UNIX for Dummies Questions & Answers
I think the libc.so is shared between processes, because it is a shared library and OS is engaged for saving memory.
But, below, the maps of bash, shows r-xp and r--p rw-p attributes to libc.so which mean private memory space.
Can anybody explain this for me?
:)cat /proc/$$/maps... (4 Replies)
Discussion started by: vistastar
4 Replies
4. Solaris
I am trying to determine the root cause of a java process that dies trying to startup during it's cron job.
I did go ahead and change the time that it starts up in the cron file and now it starts successfully.
However is there a way to determine what PID a process was attempting to get when... (5 Replies)
Discussion started by: vedder191
5 Replies
5. Red Hat
hi,
i hav a query abt reading the contents of /proc/pid/maps file.is there any system apis or functions available to get the data from dat file and parse according to my need. i need name of the .so,Create date of the .so file.,Location of .so file etc.
please provide a good source.
yes i hav... (3 Replies)
Discussion started by: sanjaykhuntia
3 Replies
6. UNIX for Advanced & Expert Users
Hello..
I stink at NIS! :)
Im having a problem with NIS on solaris 2.X. / SPARC
I have some maps that are exported to all clients in the domain. Now I setup a new server and add it as a nis client to the domain. On the NIS server there is a auto_direct map that mounts /usr/local . This is... (4 Replies)
Discussion started by: s93366
4 Replies
LogImport(3) User Contributed Perl Documentation LogImport(3)
NAME
PCP::LogImport - Perl module for importing performance data to create a Performance Co-Pilot archive
SYNOPSIS
use PCP::LogImport;
DESCRIPTION
The PCP::LogImport module contains the language bindings for building Perl applications that import performance data from a file or real-
time source and create a Performance Co-Pilot (PCP) archive suitable for use with the PCP tools.
The routines in this module provide wrappers around the libpcp_import library.
SEE ALSO
pmiAddInstance(3), pmiAddMetric(3), pmiEnd(3), pmiErrStr(3), pmiGetHandle(3), pmiPutResult(3), pmiPutValue(3), pmiPutValueHandle(3),
pmiStart(3), pmiSetHostname(3), pmiSetTimezone(3), pmiUnits(3), pmiUseContext(3) and pmiWrite(3).
The PCP mailing list pcp@oss.sgi.com can be used for questions about this module.
Further details can be found at http://oss.sgi.com/projects/pcp
AUTHOR
Ken McDonell, <kenj@internode.on.net>
Copyright (C) 2010 by Ken McDonell.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see
the "COPYING" file in the PCP source tree for further details).
perl v5.16.3 2013-12-05 LogImport(3)