02-17-2020
Question about a process lifecycle
Hello... And thx for any help anyone can offer me about my question!
I've managed to confuse myself about the wait() & exit () system calls in a process lifecycle. My confusion about the wait() system call is... does the parent process issue it to the kernel? Or does the kernel issue it to the parent process? And is the exit() system call issue from the child process to the parent process? Or does the child process issue the exit() to the kernel?
I tried googling and watching youtube videos for the answer... But I never saw anything specific to this. Once again Thanks for any replies!
8 More Discussions You Might Find Interesting
1. Programming
Hi everybody,
I'm trying to understand how a parent and child processes interact.
This function( below) basically measures the fork time from the perspective of the parent only.
what i would like to know is how to measure the time from the perspective of parent and child (ie: inserting... (0 Replies)
Discussion started by: tosa
0 Replies
2. UNIX for Dummies Questions & Answers
I know its kinda silly but I've seen the texts consider one side - a thread executes and finishes its task but I was wondering what will happen if the process dies when the thread is still under execution... I somehow think that the thread will continue execution but am backing off from the fact... (10 Replies)
Discussion started by: Legend986
10 Replies
3. Virtualization and Cloud Computing
HPL-2008-80 Adaptive Information Technology for Service Lifecycle Management - Rolia, Jerry; Belrose, Guillaume; Brand, Klaus; Edwards, Nigel; Gmach, Daniel; Graupner, Sven; Kirschnick, Johannes; Stephenson, Bryan; Vickers, Paul; Wilcock, Lawrence
Keyword(s): Software as a Service, Enterprise... (0 Replies)
Discussion started by: Linux Bot
0 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
So i did some research on the site but previous posts answered most of my questions about zombie processes but I have one question that didnt seem to get addressed
"how do you find the parent or parent ID of a zombie process so you can kill it?"
I know p -kill doesnt always just... (6 Replies)
Discussion started by: kingpin007
6 Replies
5. AIX
Hi
I've been trying to learn a bit more about AIOServer processes and how my company administers them, one question i have is, while checking, most of my servers show a memory overhead of about 448 k per aioserver process (nmon -A) however i have found a few with figures of 67 or 56k. Most... (0 Replies)
Discussion started by: philib
0 Replies
6. UNIX for Dummies Questions & Answers
Hello to all. I'm new to this forum, so please go easy on me. =)
I am working on a script to send two e-mail attachments in a single e-mail, and am running into a little bit of an issue when using process substitution. I am using the following:
cat <(uuencode $1 <(basename $1)) <(uuencode... (5 Replies)
Discussion started by: rommager
5 Replies
7. Homework & Coursework Questions
Hello,
I would like to build some sample C++ application on Solaris SunOS 5.8 Generic Virtual sun4v sparc.
so I would like to know what are the compilation utilities and runtime utilities I need to get in my machine
and will any one explain me the detaied life cycle of program like
what... (1 Reply)
Discussion started by: Revathi R
1 Replies
8. Solaris
I am trying to understand how people manage lifecycle patching these days. I am not a sysadmin (I am a DB Architect) and what I am being told is that if there is any lag between patching a dev server and a prod server that we will liley get new patches in prod that have not had any soak time in... (9 Replies)
Discussion started by: mse
9 Replies
LEARN ABOUT SUNOS
create-lifecycle-module
asadmin-create-lifecycle-module(1AS) User Commands asadmin-create-lifecycle-module(1AS)
NAME
create-lifecycle-module - adds a lifecycle module
SYNOPSIS
create-lifecycle-module --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive=true] --classname class_name [--classpath classpath] [--loadorder load_order][--fail-
urefatal=false] [--enabled=true] [--description description ][--property (name=value)[:name=value]*] module_name
Creates the lifecycle. This command is supported in remote mode only.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--classname fully qualified name of the startup class.
--classpath indicates where this module is actually located if it is not under applications-root.
--loadorder an integer value that can be used to force the order in which deployed lifecycle modules are loaded at server
startup. Smaller numbered modules get loaded sooner. Order is unspecified if two or more lifecycle modules have the
same load-order value.
--failurefatal if true indicates abort server startup if this module does not load properly.
--enabled determines whether the resource is enabled at runtime.
--description text description of the resource.
--property optional attribute name/value pairs for configuring the resource.
OPERANDS
module_name unique identifier for the deployed server lifecycle event listener module.
Example 1: using create-lifecycle-module
asadmin> create-lifecycle-module --user admin --password adminadmin
--host fuyako --port 7070 --classname "com.acme.CustomSetup"
--classpath "/export/customSetup" --loadorder 1 --failurefatal=true
--description "this is a sample customSetup"
--property rmi=Server="acme1:7070":timeout=30 customSetup
Command create-lifecycle-module executed successfully
Where: customSetup is the lifecycle module created. The escape character () is used in the property option to distinguish the colons (:).
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-lifecycle-module(1AS), asadmin-list-lifecycle-modules(1AS)
J2EE 1.4 SDK March 2004 asadmin-create-lifecycle-module(1AS)